Re: NoClassDefFoundError: org/apache/tools/ant/Task

2007-02-05 Thread Petar Tahchiev
ter setting your classpath properly. Regards, Neeraj GS HCL Tecnologies, STC - Chennai. -Original Message----- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 1:21 PM To: Ant Users List Subject: NoClassDefFoundError: org/apache/tools/ant/Task Hi guys, Here is

NoClassDefFoundError: org/apache/tools/ant/Task

2007-02-04 Thread Petar Tahchiev
Hi guys, Here is my problem. I am currently running on a Windows box at work and I downloaded the ant-1.7 package and installed it. Then I downloaded the axis-1.4 package and I am trying to use the wsdl2java task, like it is written in the manual: http://axis.apache.org/ns/int

Re: Build fails with Ant 1.7.0

2007-01-02 Thread Petar Tahchiev
On 02/01/07, Peter Reilly <[EMAIL PROTECTED]> wrote: I have committed a fix, should be in the next nightly build. Peter On 1/1/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > On 1/1/07, Petar Tahchiev <[EMAIL PROTECTED]> wrote: > > Hi guys, > > > > Fi

Build fails with Ant 1.7.0

2006-12-31 Thread Petar Tahchiev
Hi guys, First of all Happy New Year to all of you. I downloaded Cactus 1.7.2 and tried to build it with Ant 1.7.0 - it failed. The output is this one: java.lang.NoSuchMethodError: org.apache.cactus.integration.ant.CactusTask.addClasspathEntry (Ljava/lang/String;)V The project, though build pe

Re: sms task / api ?!

2006-12-28 Thread Petar Tahchiev
On 28/12/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: Hi, anyone with a sms task for ant ? I'm searching a task that can send messages to a handy. If there's no task, maybe there's an java api or a ruby script ? open source preferred, must work in germany. Thanks for any hints Gilbert

Re: a problem compiling a Java 5 project with generics

2006-10-16 Thread Petar Tahchiev
On 17/10/06, Chavdar Botev <[EMAIL PROTECTED]> wrote: Hi! I've come accross the following problem trying to compile Java 5 classes with generics using Ant 1.6.5. I've attached project with sample Java classes and a build.xml file. NOTE: Please create a src/test subdirectory and save the attach

Re: CVS checkout with ANT

2006-09-01 Thread Petar Tahchiev
On 01/09/06, Derrick Simpson <[EMAIL PROTECTED]> wrote: I'm trying to do a simple checkout from cvs, and I get the following error [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: No such file or directory I am getting a /CVSROOT appended onto the end. I do not have access to chang

Re: Setting permissions on remote server

2006-09-01 Thread Petar Tahchiev
On 01/09/06, Angus Rose <[EMAIL PROTECTED]> wrote: Hi All, I need to set write permissions on a remote file or directory. Can I do this through Ant and if so how? Thanks in advance Angus -- View this message in context: http://www.nabble.com/Setting-permissions-on-remote-server-tf22028

Re: OutOfMemoryError when building on x64

2006-08-25 Thread Petar Tahchiev
On 25/08/06, lfleal <[EMAIL PROTECTED]> wrote: David, The same build script works just fine under 1.5 on a win 32 server, the only difference is that on the new server, the x64 version of the 1.5 JDK is used. The ant options are set to a max heap of 512m (where the old server uses the default

Re: java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine;

2006-08-22 Thread Petar Tahchiev
On 22/08/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: Hello Jack, not sure, maybe rhino.jar ? no, actually, this does not mean that a jar is missing, but rather that you do not have the right versions of bsf.jar, js.jar, rhino.jar (meaning matching versions containing each the function ca

Re: email a html file

2006-07-28 Thread Petar Tahchiev
On 29/07/06, Chun Ji <[EMAIL PROTECTED]> wrote: I want to insert a html file in my email, not an attachment. Does someone know how to do it in ant. -CJ -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 11:31 AM To: Ant Users List Subject: Re:

Re: ant task

2006-07-28 Thread Petar Tahchiev
On 29/07/06, satheesh <[EMAIL PROTECTED]> wrote: I have written a java class which will add two values and print it in the console and I called that class in ant as mentioned below, how can I get that value (or returned that value from class) back to ant target or the property tag What's

Re: OutOfMemoryError while running Ant from Java call.

2006-07-14 Thread Petar Tahchiev
tasks (easy OR heavy ones) .. Sometimes it crashes on an easy FTP task.. Sometimes on an heavy javac ... The probem seems to be not related to the task involved. Thanks for the suggestion.. I am now upgraded to 1.6.5. We cross the fingers and wait -Original Message- From: Petar Ta

Re: OutOfMemoryError while running Ant from Java call.

2006-07-14 Thread Petar Tahchiev
On 13/07/06, Noel Sebastien (BIL) <[EMAIL PROTECTED]> wrote: Does anyone encounter any same kind of my problem ? We are running an JVM application that call Ant within Java ? Am I calling Ant in a wrong way ? Does anyone has a good reference for an accurate Java call to Ant. It is Ant 1.6.2. Exce

Re: Looking for Ant Experts (US based)

2006-07-13 Thread Petar Tahchiev
On 13/07/06, Sethu Prasad G <[EMAIL PROTECTED]> wrote: Hi Damon Edwards, Hope you well. I have mid level knowledge in this, by the way am from India. Intrested on taking small tasks initially. Write me. regards, Sethu Damon Edwards <[EMAIL PROTECTED]> wrote: We're looking for

Re: how to conditionally execute a task

2006-07-12 Thread Petar Tahchiev
On 12/07/06, Petar Tahchiev <[EMAIL PROTECTED]> wrote: On 12/07/06, Rémon van Gijn <[EMAIL PROTECTED]> wrote: > > In ant you can use the "env" properties, in combination with the ant-contrib extension that would allow you to create if statements. > > Met vr

Re: how to conditionally execute a task

2006-07-12 Thread Petar Tahchiev
On 12/07/06, Rémon van Gijn <[EMAIL PROTECTED]> wrote: In ant you can use the "env" properties, in combination with the ant-contrib extension that would allow you to create if statements. Met vriendelijke groet, Rémon van Gijn -Original Message- From: Nagender Malik [mailto:[EMAIL P

Re: Operating System identification

2006-07-08 Thread Petar Tahchiev
On 08/07/06, Raghuveer <[EMAIL PROTECTED]> wrote: How to identify Operating System of my Application server. I have property file in my web application for Windows and Linus. I need to identify th Operating System and read specific configuration file in my Struts Application .? Example: My Web

Re: Migration problem, Windows to Linux

2006-07-05 Thread Petar Tahchiev
On 05/07/06, Fredrik Andersson <[EMAIL PROTECTED]> wrote: Hi all I'm currently trying to migrate a J2EE project from a Windows platform to a Linux platform. I have cofigured the build.xml file accordingly to my setup on the linux platform. I have the same java setup on the linux server but when

Re: RE: rexec hangs

2006-06-21 Thread Petar Tahchiev
On 20/06/06, Lu, Tao (MTO) <[EMAIL PROTECTED]> wrote: In command prompt, I issued "telnet 142.142.125.60 512", no error messages, I got a blank DOS screen. I believe port 512 is already open. Btw, if I run this locally C:\>rexec 142.142.125.60 -l bob ls -l It works fine. Thanks Tao -Or

Re: Ant tasks to encrypt or decrypt passwords from propertyfiles

2006-06-20 Thread Petar Tahchiev
On 20/06/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: But remember, if someone runs ant in -debug mode, he will see your password in stdout or logifle !! Regards, Gilbert -Original Message- From: Venkatesh Vijayakumar04 [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 5:00 AM

Re: Problems Compiling Using Ant

2006-06-08 Thread Petar Tahchiev
On 08/06/06, Mary M <[EMAIL PROTECTED]> wrote: Dear All, When I ran the ant command, I got the error below - -- compile: [javac] compling 1 source file to ...\WEB-INF\classes

Re: Print exact version of jvm (java -version)

2006-06-08 Thread Petar Tahchiev
On 08/06/06, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: If I use javac -version where do I tie that into my xml file? With an execute task? Cheers, //mikael -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 10:00 To: Ant User

Re: Print exact version of jvm (java -version)

2006-06-08 Thread Petar Tahchiev
On 08/06/06, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: How can I print what compiler is used ( exact version like 'java -version') when compiling? Cheers, //mikael BUILD.TARGET.VM=1.3 BUILD.BOOTCLASSPATH=/app/j2sdk/1.3.1_11/jre/lib/rt.jar

Re: Getting OutOfMemoryErrors with fileset-task

2006-06-02 Thread Petar Tahchiev
On 02/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, i'm getting OutOfMemory-Errors while executing a fileset-task. My Buildfile looks like this: This is what ant generates when i'm running the

Re: Beep sound as a ant task

2006-05-30 Thread Petar Tahchiev
On 30/05/06, Konstantinos Karadamoglou <[EMAIL PROTECTED]> wrote: Hello all, Do you know any task that can play the beep sound from the system's speaker? Thank you in advance, Kostas Have a look at the sound task http://ant.apache.org/manual/OptionalTasks/sound.html -- Regards, Petar! Karl

Re: Ant Task for Creating weblogic domain

2006-04-29 Thread Petar Tahchiev
On 28/04/06, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: If there is such a task, it is not part of the standard Ant distribution. Check with BEA or search the weblogic documentation. -Rob A > -Original Message- > From: Row M, Vishal [mailto:[EMAIL PROTECTED] > Sent: Thursda

Re: error while using project helper

2006-04-20 Thread Petar Tahchiev
On 20/04/06, shree vinayakh <[EMAIL PROTECTED]> wrote: > hi, > > Im able to view the generated ANT file. Also that im able to execute the ant > file using eclipse or from command line. but executing it from my java > program is the only problem. > > contents of the xml ant file > > > > > > >

Re: Java task - output defaulting stdout

2006-03-14 Thread Petar Tahchiev
On 09/03/06, Frederic CHALONS <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to use a property to set the ouput of the java task. > However when the user did not set that property I want to set it to a value > corresponding to the console. > (same behaviour when no "output" attribute is given).

Re: How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Petar Tahchiev
On 01/03/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >Betreff: How can I access the environtment variable JAVA_HOME? > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Also all of the java system properties(the one you can get with Syst

Re: Failed to read input from Console.

2006-02-24 Thread Petar Tahchiev
On 24/02/06, Shweta Bodade <[EMAIL PROTECTED]> wrote: > > After I give the command in Eclipse I get this error message. > > > > Buildfile: E:\workspace2\Hello\src\build.xml > > select_target: > > [input] Which server should receive the files? 1. Silo 2. > Bongo(1,2) > > BUILD FAILED: E:\work

Re: Variable number of parameters for a task

2006-01-16 Thread Petar Tahchiev
On 16/01/06, Michael Böckling <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a situation where I don't know whether or not a property is set > at runtime. > As we all know, if a property is not set, its literal value is passed. > > Example: > > > I don't know beforehand if ${var2} is set at runtime

Re: Relative paths

2006-01-13 Thread Petar Tahchiev
On 13/01/06, Paulo Jorge Guedes <[EMAIL PROTECTED]> wrote: > > Hi, > > I have this directory structure: > > Root > Apps > App1 > Nbproject > Src > > The build.xml files just import the files in the inner directories. The > buil

Re: specifying include files in a in the

2006-01-12 Thread Petar Tahchiev
On 12/01/06, General Email <[EMAIL PROTECTED]> wrote: > > That will work with 'include' but it doesn't like 'includes' and then a > list of comma separated file names. > That is the problem. > > And yes...forgot the end quote there...typo

Re: specifying include files in a in the

2006-01-12 Thread Petar Tahchiev
On 12/01/06, General Email <[EMAIL PROTECTED]> wrote: > > I'd like to specify a list of files to include in the inside a > task. > Looks like this: > > > > 0h, and also you forgot to close your quotations marks here: utils.jar,/> Doesn't ant complains it?

Re: running junit from ant

2006-01-11 Thread Petar Tahchiev
On 11/01/06, Lothar Krenzien <[EMAIL PROTECTED]> wrote: > > > Hi Stefan, > > of course I've tried different formatters, with and without "usefile". But > I don't get any output. Only when I use the .class extension in the filename > for the TestSuite class I get an ClassNotFoundException, otherwise

Some spelling mistakes in the documentation

2006-01-09 Thread Petar Tahchiev
Hello everybody, I just found some spelling mistakes in the documentation and I would like to propose an archive of patches. I hope I contributed to the project even a little :-). -- Regards, Petar! diffs.tar.gz Description: GNU Zip compressed data --

Re: Problem with mail task

2006-01-07 Thread Petar Tahchiev
On 07/01/06, Rhino <[EMAIL PROTECTED]> wrote: > > I have a fairly trivial 'mail' task in my Ant script that is giving me > this > output: > [mail] Failed to initialise MIME mail: javax/mail/MessagingException > > [mail] Sending email: Update ZoneEdit Password > > [mail] Sent email with 0 attachment

Re: how to create jar in desired folder?

2006-01-03 Thread Petar Tahchiev
On 03/01/06, K.Srikumar <[EMAIL PROTECTED]> wrote: > > Hello everybody, >Sorry if i am asking silly questions, since i am only a starter. > ... > Now i am able to create jar files, but unable to do so in a desired > folder. > The corresponding code is as follows: > +++

Re: Ant Deploy failure in weblogic 8.1

2005-12-26 Thread Petar Tahchiev
On 26/12/05, Bedre Atmaling Baburao <[EMAIL PROTECTED]> wrote: > > Hi, > I am running the following ant target. and getting the exception. > through this target my server is running and also the weblogic is able to > upload the mentioned ear to the upload folder in weblogic.But the > excep

Re: How to get user project properties from java

2005-12-22 Thread Petar Tahchiev
On 22/12/05, Antonio, Jean Claude (Spring IT) < [EMAIL PROTECTED]> wrote: > > Hello, > > I'm writing a java application that call ant. > It works fine. > But I want to get project properties defined in the build.xml file. > > With project.getUserProperty("serverName"); > or project.getProperty("s

Re: New user

2005-12-19 Thread Petar Tahchiev
On 19/12/05, Hooper, Paul <[EMAIL PROTECTED]> wrote: > > I know this but it doesn't help with the problem : > > How to capture stdout and stderr from junit > How to use dir and file names with spaces > > > Thanks > > Paul > > -----Origi

Re: New user

2005-12-19 Thread Petar Tahchiev
On 19/12/05, Hooper, Paul <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm running ant on Solaris 9. > All seems to be well. I have my Java project building etc. > As part of the build script I am running various junit tests. > My question is two fold: > > How do I ensure that I am able to capture the

Re: Is there an ANT task to replace a in the source with the contents of the specified file???

2005-12-19 Thread Petar Tahchiev
On 19/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there an ANT task to replace a in the source with the > contents of the specified file??? > > That is I working with some scripting languages where I'd like to > identify common code and keep these in separate files (e.g. lik

Re: problem with running ant in eclipse

2005-12-18 Thread Petar Tahchiev
On 19/12/05, vishakha sawant <[EMAIL PROTECTED]> wrote: > > Hi, > I am newbie. I am using eclipse IDE 3.1 and Ant 1.6. This project is > using > hibernate for database persistancy. I have hibernate configuration file > placed in classes/resources folder. I have one e.jar file which uses this > res

Re: password input task

2005-11-08 Thread Petar Tahchiev
On 09/11/05, Ninju Bohra <[EMAIL PROTECTED]> wrote: > > Nope...not possible to do that in a platform-neutral fashion ;-( > > P.S. This question has been asked many times before (I know because I was > one the "repeat" offenders). Please check the archives before asking a > question :-) > > Ninju >

Re: Jboss start and stop scripts

2005-11-01 Thread Petar Tahchiev
ginal Message- > From: Andrei [mailto:[EMAIL PROTECTED] > Sent: 01 November 2005 12:36 > To: Ant Users List > Subject: Re: Jboss start and stop scripts > > > > Starting is simple width exec, but how do i stop it from ant? > > - Original Message - > From: &

Re: Using path elements to use jars

2005-11-01 Thread Petar Tahchiev
On 31/10/05, Telang, Nandan <[EMAIL PROTECTED]> wrote: > > That doesn't seem to work for a comma-separated list of files... > > -Nandan > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 29, 2005 12:17 AM > To: Ant Users List; Telang, Nandan

Re: Jboss start and stop scripts

2005-11-01 Thread Petar Tahchiev
On 01/11/05, Andrei <[EMAIL PROTECTED]> wrote: > > > Does any body knows how to start and stop jboss using ant? > I am not quite sure whether it is possible but why not try using exec and pass the run script -- Regards, Petar!

Re: Ant or Subant question

2005-10-26 Thread Petar Tahchiev
On 26/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >However I was asking myself another question. What happens > >with the basedir project's attributes? > > From the manual > "If you want to run directory1/mybuild.xml, directory2/mybuild.xml, , > use the antfile > attribute. The suba

Re: Ant or Subant question

2005-10-25 Thread Petar Tahchiev
r module? > > > Jan > > > [1] http://ant.apache.org/manual/CoreTasks/subant.html > > > > > >-Ursprüngliche Nachricht- > >Von: Petar Tahchiev [mailto:[EMAIL PROTECTED] > >Gesendet: Mittwoch, 26. Oktober 2005 08:11 > >An: Ant Users List >

Ant or Subant question

2005-10-25 Thread Petar Tahchiev
Hello everybody! I am trying to focus on the advantages. Can anyone explain me in-depth why the task is better than the task. I know it was introduced in Ant 1.6 to ease the usage of other build fuiles. I have also read the manual, but I didn' t actually find any major differences(or am I wrong

Subant question

2005-10-25 Thread Petar Tahchiev
Hello everybody! I am currently wondering if someone could give me a reasonable explanation why the prioperties in Ant are immutable. I have been wondering for a long time and I really can' t find the reason. In some cases it really helps, but is there a particular reason for this behaviour to be

Re: Check directory exists

2005-10-03 Thread Petar Tahchiev
On 03/10/05, Ninju Bohra <[EMAIL PROTECTED]> wrote: > > Or you can use the task (with the "type" > attribute equal to "dir") if just need to know whether > the directory is already there :-) > > --- Jeffrey E Care <[EMAIL PROTECTED]> wrote: > > > just run ; it won't post an error if the > > direct

Re: classpath problem

2005-09-05 Thread Petar Tahchiev
On 03/09/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi. > > I've searched for a solution on this list, faq and google. > It's probably very simple. I am a beginner with ant. > > I want to compile some files that are part of a webapp. > So they need the servlet-api.jar file. > > When I

Re: War task to include multiple lib files?

2005-08-29 Thread Petar Tahchiev
On 30/08/05, wolverine my <[EMAIL PROTECTED]> wrote: > > Hi! > I'm using Ant 1.6.5 and I have the following Ant task: > http://app.name> > }.war" > webxml="${ > web.dir}/WEB-INF/web.xml"> > > > > > > > > > > The Ant task is executed successfully but there is no WEB-INF/

Re: Referencing External .class Files In Classpath

2005-08-26 Thread Petar Tahchiev
On 26/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 26 Aug 2005, at 12:35, Petar Tahchiev wrote: > > > On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > >> > >> > >> On 25 Aug 2005, at 15:41, Petar Tahchiev wrote: &

Re: Referencing External .class Files In Classpath

2005-08-26 Thread Petar Tahchiev
On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 25 Aug 2005, at 15:41, Petar Tahchiev wrote: > > > On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > >> > >> > >> On 25 Aug 2005, at 07:07, Petar Tahchiev wrote: &

Re: Test

2005-08-25 Thread Petar Tahchiev
On 25/08/05, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > > Sorry about this message, but I am having some kind of problem with > posting messages to this listserv. I am getting messages posted by > others, but I am not seeing my own messages being posted. > > Later, > BEDick I have the same "pr

Re: Referencing External .class Files In Classpath

2005-08-25 Thread Petar Tahchiev
On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 25 Aug 2005, at 07:07, Petar Tahchiev wrote: > > > On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > >> > >> > >> On 24 Aug 2005, at 16:56, Petar Tahchiev wrote: &

Re: Referencing External .class Files In Classpath

2005-08-24 Thread Petar Tahchiev
On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 24 Aug 2005, at 16:56, Petar Tahchiev wrote: > > > On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > >> > >> > >> On 24 Aug 2005, at 16:20, Petar Tahchiev wrote: &

Re: Referencing External .class Files In Classpath

2005-08-24 Thread Petar Tahchiev
On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 24 Aug 2005, at 16:20, Petar Tahchiev wrote: > > > On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > >> > >> > >> On 24 Aug 2005, at 15:03, Petar Tahchiev wrote:

Re: Referencing External .class Files In Classpath

2005-08-24 Thread Petar Tahchiev
On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 24 Aug 2005, at 15:03, Petar Tahchiev wrote: > > >> > >> Hi, > >> > >> I'm trying to build an Ant project that uses some Apple Cocoa classes. > >> These are stor

Re: Referencing External .class Files In Classpath

2005-08-24 Thread Petar Tahchiev
On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to build an Ant project that uses some Apple Cocoa classes. > These are stored as .class files and not as jars. They reside in a > completely different folder to my project. I can compile and run my > program by refer

Re: Javac does not delete class file of not-existing java file

2005-08-23 Thread Petar Tahchiev
On 23/08/05, Martin Burger <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using the Javac task programmatically to compile java source files. > Unfortunately, javac does not remove class files of java files that do > not exist (anymore). And pruning the destination dir is not a good > solution, be

Re: get Property with java

2005-08-22 Thread Petar Tahchiev
On 22/08/05, Taner Diler <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to get property that in defined in build.xml by using java. How > can I do that? > > build.xml > > <...> > > > > and java code > > Project ant = new Project(); > ProjectHelper helper = new ProjectHelperImpl(); > ant.init(

Problem with Checklipse integration with Ant

2005-08-22 Thread Petar Tahchiev
Hi, I am experiencing some problems with integrating ANT and Checklipse in Eclipse 3.0. Can someone point me a good article about how this is to be done. Thnk you in advance. -- Regards, Petar!

Re: Is it possible to use other build file's classpath?

2005-08-19 Thread Petar Tahchiev
On 19/08/05, Leon Pu <[EMAIL PROTECTED]> wrote: > > A simple example. > > [build.xml] > > > ]> > > &include; > > echo from target main2 in build.xml > > > [build.xml] > > [include.inc] > > echo from target main1 in include.inc > > [include.inc] > > [output] > Buildfile: build.xml > >

Re: Is it possible to use other build file's classpath?

2005-08-19 Thread Petar Tahchiev
On 19/08/05, RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote: > > happy to help. > > Might i suggest you post a simple example? > That way it will become part of our colective memory. > > /t > > >-Original Message- > >From: Leon Pu [mailto:[EMAIL PROTECTED] > >Sent: Friday, August 19, 2005

Re: encrypted passwords with ant

2005-08-17 Thread Petar Tahchiev
On 17/08/05, Barry White <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > not really an answer to your question but two solutions to this problem > that I have used before: > > - pass the variable in on the command line (ant -Dpassword:x) > > - use a properties file but only keep an example of t

Re: Deploying to WebLogic with Ant under Eclipse

2005-08-14 Thread Petar Tahchiev
On 12/08/05, Yaakov Chaikin <[EMAIL PROTECTED]> wrote: > > Hi, > > I've asked this on one of the Eclipse newsgroup, but didn't really get > an answer, so I am hoping someone on this list will be able to figure > this out. > > I have an Ant script that deploys a web app to WebLogic 8.1sp4. If I >

Re: Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
; Maybe you could post your directory structure and the parts of your two > buildfiles > - subbuild: compiling, creating the jar > - build: path, compile, antcall > > Jan > > >-Ursprüngliche Nachricht- > >Von: Petar Tahchiev [mailto:[EMAIL PROTECTED] > >Gese

Re: Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
On 03/08/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >> I have another ant file that I call with . > >It compiles > >some sources, builds a .jar, and later on I include that jar > >in the classpath in the new compilation. They should be > >uptodate, because wheever I call the master build

Re: Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
nly the files you > give to > > Jan > > >-Ursprüngliche Nachricht- > >Von: Petar Tahchiev [mailto:[EMAIL PROTECTED] > >Gesendet: Mittwoch, 3. August 2005 10:57 > >An: Ant Users List > >Betreff: Cannot Resolve symbol > > > >I am a littel bit

Hi!

2005-08-03 Thread Petar Tahchiev
I am not sure whether anyone is capable in helping me but anyway - I am posting this. I have a build.xml file that compiles some sourc files. I also include some already compiled files in the classpath of the current compilation. However ant fails to compile my sources finding 7 errors saying m

Hi!

2005-08-03 Thread Petar Tahchiev
I am not sure whether anyone is capable in helping me but anyway - I am posting this. I have a build.xml file that compiles some sourc files. I also include some already compiled files in the classpath of the current compilation. However ant fails to compile my sources finding 7 errors saying m

Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
I am a littel bit sceptic when posting this message but anyway I hope someone helps me. I have a build.xml that compiles some files. I set the classpath for compiling to use some previously comiled files. Strangely enough ant finds 7 errors that eclipse doesn't report. Ant says that it cannot f

Re: javac compilation speed

2005-07-26 Thread Petar Tahchiev
On 7/25/05, Jonathan Baccash <[EMAIL PROTECTED]> wrote: > > I have read that ant does not do dependency checking to see if targets > are up to date. But I have also read that compilation of java files > is faster with ant. How is this possible? Does ant use javac compile > flags to do dependency c

Basedir attribute in the war task

2005-07-15 Thread Petar Tahchiev
Hello people, I have the next problem: I want to make a war file from the next file structure: basedir\ |- WEB-INF |-lib |-html |-JSPs |-Other stuff |-src and all I want is to use the war task with basedir attribute set to ${basedir}, but excluding the src directory(it should not appear in the

Re: Using task Javac programmatically - how to add compilerarg line

2005-07-14 Thread Petar Tahchiev
On 7/14/05, Martin Burger <[EMAIL PROTECTED]> wrote: > > Hello! > > I want to use the Javac task programmatically. After getting my feet wet > while reading a lot of source code I managed to set all attributes and > execute the task successfully - expect one: > > How can I add a compilerarg line