RE: Junit test fails in ant but not in Eclipse

2007-03-09 Thread Mikael Petterson \(KI/EAB\)
Hi, I used 1.5 but got the same NullPointerException. Since I don't get it in eclipse it is hard to debug. I am thinking of using Netbeans to debug an instance of Ant. Any other ideas on how to approach? Cheers, //mikael -Original Message- From: Mikael Petterson (KI/EAB) [m

RE: Junit test fails in ant but not in Eclipse

2007-03-08 Thread Mikael Petterson \(KI/EAB\)
em on your system classpath? -Original Message----- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 9:57 AM To: Ant Users List Subject: RE: Junit test fails in ant but not in Eclipse Hi, Thanks for reply. When I ran in Eclipse I did use "run as jun

RE: Junit test fails in ant but not in Eclipse

2007-03-07 Thread Mikael Petterson \(KI/EAB\)
e? -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 5:57 AM To: user@ant.apache.org Subject: Junit test fails in ant but not in Eclipse Hi, I run a junit test ( junit 3.8.1 in both) in Eclipse it works just fin

Junit test fails in ant but not in Eclipse

2007-03-07 Thread Mikael Petterson \(KI/EAB\)
Hi, I run a junit test ( junit 3.8.1 in both) in Eclipse it works just fine. Then I run the test in Ant using: The test fails with an NullPointerException.

RE: empty string is interpreted as arg to java program

2007-02-23 Thread Mikael Petterson (KI/EAB)
on and you'll get the command which is used for . Jan >-----Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 23. Februar 2007 09:08 >An: user@ant.apache.org >Betreff: empty string is interpreted as arg to java progra

Jar contains the latest classes

2007-02-16 Thread Mikael Petterson (KI/EAB)
Hi, In my ant build file I have to check if a streamer.jar ( my project depends on streamer.jar ) contains the latest of classes. If not I have to update the jar file. How can I do that in ant. I have acess to source for streamer too. All hints are very much welcome! Cheers, //mikael

RE: Exclude list of files with fileset

2007-02-16 Thread Mikael Petterson (KI/EAB)
Hi, I need to exclude specific file names since these are clearcase elements and cannot ( should not ) be removed. I don't want the error message to show so I thought excluding them from the fileset would do it.

Exclude list of files with fileset

2007-02-16 Thread Mikael Petterson (KI/EAB)
Hi, Is this the way to exclude the a list of files ( I have more names that I need to exclude)? Shall I use ';' or the regular ',' ? Cheers, //mikael

Delete files if error log exist

2007-02-06 Thread Mikael Petterson (KI/EAB)
Hi, I would like to confirm with you experts if I can write ( as below) to delete some files if an error log exist. Or is there a better way? Cheers, //mikael

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

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
[mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 13:02 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) For versions of JDK prior to 1.5... I just executed javac -version using JDK 1.5... Mikael Petterson (KI/EAB) wrote: > By the way there is no javac -version :-)

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

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 13:02 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) For versions of JDK prior to 1.5... I just executed javac -version using JDK 1.5... Mikael Petterson (KI/EAB) wrote: > By the way there is

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

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
By the way there is no javac -version :-) but java -version. Cheers, //mikael -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 10:02 To: Ant Users List Subject: RE: Print exact version of jvm (java -version) I wonder if there is an

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

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
, 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/jr

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

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
I wonder if there is an attribute to the javac task. Cheers, //mikael -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 10:00 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) On 08/06/06, Mikael Petterson (KI/EAB

Print exact version of jvm (java -version)

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
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

How to set properties when property is set

2006-05-23 Thread Mikael Petterson \(KI/EAB\)
Hi, I have a property that checks if a certain directory exists. If that property, gen.dir.present, is true then I need to set a bunch of properties. If false I set them to other values. Is there a Smooth way to do this. Cheers, //mikael

RE: Add html tags in a text file

2006-05-11 Thread Mikael Petterson \(KI/EAB\)
Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 11. Mai 2006 07:34 >An: user@ant.apache.org >Betreff: Add html tags in a text file > >Hi, > >I have a plain text file. I need to insert at the very beginning >of th

Add html tags in a text file

2006-05-10 Thread Mikael Petterson \(KI/EAB\)
Hi, I have a plain text file. I need to insert at the very beginning of the file and at the very end (). And then change the file extension. I shell script I could use something like: cat $1 | sed "s/^//g" | \ sed "s/$/<\/html>/g" >$1.html Is there a similar function in ant?

Value of xsl.file property

2006-02-28 Thread Mikael Petterson \(KI/EAB\)
Hi, Will the value of 'xsl.file' always be interface.xsl? Also does the value of matter since 'xml.file' in has the value. cheers, //mikael

RE: ant-user OutOfMemoryException

2005-12-08 Thread Mikael Petterson (KI/EAB)
herited this role as some core project people left before i joined the company. I did have the ANT_OPS setting but that was not working..I will try your suggestings today. > > From: "Mikael Petterson (KI/EAB)" <[EMAIL PROTECTED]> > Date: 2005/12/07 Wed AM 01:35:27 EST

how to BUILD FAILED when tests failed

2005-11-25 Thread Mikael Petterson (KI/EAB)
Hi, I am using the following lines for testing: How can I make my build to 'BUILD FAILED' and still execute the targets after test:test since it is part of

RE: trying to grep in file for a certain string

2005-11-21 Thread Mikael Petterson (KI/EAB)
Yepp that worked! Thanks! Cheers, //mikael -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: den 21 november 2005 19:04 To: Ant Users List Subject: RE: trying to grep in file for a certain string Oops, wrap the with a --- "Mikael Petterson (KI/EAB)&quo

RE: trying to grep in file for a certain string

2005-11-21 Thread Mikael Petterson (KI/EAB)
d sweet, Ninju --- "Mikael Petterson (KI/EAB)" <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to check if a file called TestSummary.txt does NOT contains the > string "Number of failures = 0". > If it does not contain "Number of failures = 0" then

trying to grep in file for a certain string

2005-11-21 Thread Mikael Petterson (KI/EAB)
Hi, I am trying to check if a file called TestSummary.txt does NOT contains the string "Number of failures = 0". If it does not contain "Number of failures = 0" then I need to set a property called test.status.failed. When I try to test the ant script below I get: type doesn't support the nes

hostname

2005-10-26 Thread Mikael Petterson (KI/EAB)
possible to get hostname in ant? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Remove spaces in time string

2005-10-26 Thread Mikael Petterson (KI/EAB)
Hi, Is is possible to remove the spaces in the string ( see generation below) 2005-10-26 02:31:41:0396 PM -> 2005-10-2602:31:41:0396PM cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

java.nio.BufferOverflowException in junit task

2005-10-26 Thread Mikael Petterson (KI/EAB)
Hi, we are running some junit (3.8.1) tests with ant (1.6.2) and after a while when running the tests we get the following error (see below). we are using sun's jdk 1.4.2_04. Any ideas what this might be? cheers, //mikael The ' characters around the executable and arguments are not part of t

generate unique id

2005-10-25 Thread Mikael Petterson (KI/EAB)
Hi, Is it possible to generate a unique id for an attribute in ant? Id can consist of numbers and characters. cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Hi, I am trying: but still no match. This is the line: cheers, //mikael -Original Message- From: Jakob Fix [mailto:[EMAIL PROTECTED] Sent: den 20 oktober 2005 16:21 To: Ant Users List Subject: Re: On 20/10/05, Greg Winton <[EMAIL PROTECTED]> wrote: > Mikael, > >

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Launcher.main(Launcher.java:55) //mikael -Original Message- From: Jakob Fix [mailto:[EMAIL PROTECTED] Sent: den 20 oktober 2005 15:32 To: Ant Users List Subject: Re: Mikael, On 20/10/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > Hi, > > I tried the following; &g

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Hi, I tried the following; but the " seems to mess up the match. This is the line: cheers, //mikael -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: den 20 oktober 2005 14:29 To: Ant Users List Subject: RE: Hi, I need to replace "

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Users List Subject: Re: from Ant Contrib ? Otherwise, could you be more specific ? Mikael Petterson (KI/EAB) wrote: > VALUE = "R11A02"> > >How can I replace the R11A02 with a new number? > >cheers, > >//mikael > >---

user@ant.apache.org

2005-10-20 Thread Mikael Petterson (KI/EAB)
How can I replace the R11A02 with a new number? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: set property values using my own task

2005-10-18 Thread Mikael Petterson (KI/EAB)
Hi, How can I get the current directory in ant ( like unix pwd)? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: set property values using my own task

2005-10-18 Thread Mikael Petterson (KI/EAB)
>-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 18. Oktober 2005 12:50 >An: user@ant.apache.org >Betreff: set property values using my own task > >Hi, > >The purose of my task is to set the values for properties

set property values using my own task

2005-10-18 Thread Mikael Petterson (KI/EAB)
Hi, The purose of my task is to set the values for properties arch, product_number and product_revision. The information is stored in a file called 'product.attributes'. I need to assign the properties the values ( line two) in the product.attributes file and then use the property values in targ

RE: make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
first line to get the meta data and parses the second line for the data. After that it stores the values. Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 17. Oktober 2005 10:38

RE: make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
jars havent any version info inside. But just install the versions described in the lib-dependency in the Ant manual. Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 17. Oktober 2005 12:17 >An: Ant Users List >Be

RE: make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
>-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 17. Oktober 2005 10:38 >An: user@ant.apache.org >Betreff: make properites of data in file > >Hi, > >I have the following properties

make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
Hi, I have the following properties in my build.xml: In a file called product.attribues I have the following information: TARGET:PRODUCT_NUMBER:PRODUCT_REVISION jvm:CXC1327714/22:R1A01 Is it possible to assign ant properties with the values in my files? cheers, //mikael ---

possible to filter java packages not to run javancss on

2005-10-12 Thread Mikael Petterson (KI/EAB)
Hi, I found that there is a for javancss. But I have not found that there is a way to filter out packages. Only files. Is it possible to filter java packages? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

question about excluding packages

2005-10-12 Thread Mikael Petterson (KI/EAB)
Hi, I want to exclude a package, common, in my java application and then execute javancss from ant. How can I exclude the common package in my source tree and then run my javancss. This is my build.xml (see below). cheers, //mikael build.xml ===

Junit Tests with depedencies - possible to determine order

2005-06-14 Thread Mikael Petterson (KI/EAB)
Hi, we have a couple of junit tests that have 'oder' dependecy like, first CreateHwTest must be executed and then RecoverHwTest. Is it possible to set the order which the junit tests must be executed in? cheers, //mikael - To

Bug in 'exec'

2005-06-13 Thread Mikael Petterson (KI/EAB)
Hi, I am using 'exec' -task to execute a shell script. However it seems like it cannot find the shell script file. I ( and other people) have checked and the file is there. I wonder if anyone had a similar problem in 1.6.2? //mikael This is part of my build.xml ===

and jdk1.4.2 gives java.langOutOfMemoryError

2005-05-27 Thread Mikael Petterson \(KI/EAB\)
Hi, I have had this problem before but increasing Xms and Xmx solved it (ANT_OPTS). However now it does not. I have tests that is being run. No problem! I also create a coverage report with emma. But when I get to the junitreport-task I get a java.lang.OutOfMemoryError. I am using ant 1.6.2,

junit

2005-05-26 Thread Mikael Petterson \(KI/EAB\)
Hi, We make use of 'suite()' in junit. Does junit target in ant make a distinction between tests run in a suite and each separate test. Or can a test be run twice? It seems like it will become a heavy load on my memory ;-) I am wondering this cause I get a java.lang.OutOfMemoryError. I have se

dependency of jar

2005-05-02 Thread Mikael Petterson \(KI/EAB\)
Hi, In our product 'boz' we have a library, libx.jar' that we are dependent of. When I build our product I want to check that we have the latest version of libx.jar when we complie our product 'boz'. Any hints on how to do this most effeciently ( not making my build too slow). Cheers, //Mikae

RE: check property

2005-04-28 Thread Mikael Petterson \(KI/EAB\)
Thanks Stefan, It worked just fine! //Mikael -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: den 28 april 2005 10:53 To: user@ant.apache.org Subject: Re: check property On Thu, 28 Apr 2005, Mikael Petterson <[EMAIL PROTECTED]> wrote: > In my ant build.xml I hav

check property

2005-04-28 Thread Mikael Petterson \(KI/EAB\)
Hi, In my ant build.xml I have a property called: This can be changed when I run my build.xml ( from -Dxml.file) when starting ant. How can I check the value of 'xsl.file' and depending on the value give another poperty ('pkg') a value like: if xsl.file = interface.xsl --> pkg = /se/comp

RE: junitreport problem

2005-04-06 Thread Mikael Petterson \(KI/EAB\)
-memory problems processing junit-frames.xsl in Ant 1.6 but I have not yet had time to investigate and increasing memory seemed to make it go away. Hope this helps Donald. -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: Wednesday, 6 April 2005 11:54 PM To

RE: junitreport problem

2005-04-06 Thread Mikael Petterson \(KI/EAB\)
Hi, Thanks for reply. I will file a bug report since there are no constraints specified concering size of files in the task. How is the implemented? I recall you saying that it uses a DOM tree. What is the reason for using a dom tree? Is it possible to add an attribute to that selects SAX

RE: junitreport problem

2005-04-06 Thread Mikael Petterson \(KI/EAB\)
the results here it requires lots of memory. Could you try to generate your test results with format="noframes" Ivan --- "Mikael Petterson (KI/EAB)" <[EMAIL PROTECTED]> wrote: > Hi, > > I have tried this option without any luck. > > ANT_OPTS="-Xms

RE: junitreport problem

2005-04-06 Thread Mikael Petterson \(KI/EAB\)
) Caused by: java.lang.OutOfMemoryError --- Nested Exception --- java.lang.OutOfMemoryError Total time: 34 seconds -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: den 6 april 2005 14:02 To: Ant Users List Subject: RE: junitreport problem Mikael, one way to m

RE: junitreport problem

2005-04-06 Thread Mikael Petterson \(KI/EAB\)
: junitreport problem Mikael, I suppose that it is neither ant nor junit problem. Actually, does some XSLT tarnsformation on test results xml files and if you have many test results, it is likely that the transformation runs out of memory. HTH Ivan --- "Mikael Petterson (KI/EAB)" <[EM

junitreport problem

2005-04-06 Thread Mikael Petterson \(KI/EAB\)
Hi, When I run the in my build and test sequence I get a java.lang.OutOfMemoryError. Is the implementation of this in ant or in junit? I want to find out which part is causing the error. //Mikael - To unsubscribe, e-mail: [EM

Reasonable size on ANT_OPTS

2005-04-05 Thread Mikael Petterson \(KI/EAB\)
Hi, What is a reasonable size on my Xmx Xms in ANT_OPTS. I have 1.600 source files. //Mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

possible to use profiler on ant

2005-04-05 Thread Mikael Petterson \(KI/EAB\)
Hi, I am using ant for build and test our java application. We run into 'java.lang.OutOfMemory' problems when running junit tests. I have made a number of changes without any luck: - Unset classpath - increase ANT Xms and Xmx via ANT_OPTS env. variable. - Using fork in javac. - Increase Xmx in j

Measure memory usage

2005-04-04 Thread Mikael Petterson \(KI/EAB\)
Hi, I am using ant to build and run tests. We run 1.6.2 on Solaris. My problem is that I run out of memory when I run my test ( complile 1.600 files and run over 5.000 tests). Is there a way to measure how much memory ant is consuming? When I run top I get no pointers about memory consumption.

More on ant performance part 2

2005-04-01 Thread Mikael Petterson \(KI/EAB\)
Hi again, Seems like this section is giving me 'OutOfMemoryError'-problems ( see log below). I am using Xalan-Java version 2.6.0 to generate the reports. I put xalan.jar,xercesImpl.jar and xml-api.jar in -Xbootclasspath for jvm. Shall I use xsltc.jar instead to get better performance? All hints

A memory problem in ant or build.xml

2005-03-31 Thread Mikael Petterson \(KI/EAB\)
Hi, I am running Apache Ant version 1.6.2 compiled on July 16 2004 on Solaris 8. I have about 1600 source files that I build. I used ANT_OPTS="-Xms256m -Xmx512m";export ANT_OPTS to execute my build file. ( Is there a way to check that ant use this env. variable?). Then I get 'java.lang.OutOfMem

RE: set jvm to 1.3

2005-03-18 Thread Mikael Petterson \(KI/EAB\)
Thanks that worked very well for us! //Mikael -Original Message- From: James Abley [mailto:[EMAIL PROTECTED] Sent: den 18 mars 2005 09:06 To: Ant Users List Subject: RE: set jvm to 1.3 On Fri, 2005-03-18 at 07:51, Mikael Petterson (KI/EAB) wrote: > Hi, > > Tahnks for reply

RE: set jvm to 1.3

2005-03-17 Thread Mikael Petterson \(KI/EAB\)
2005 08:44 To: Ant Users List Subject: RE: set jvm to 1.3 On Fri, 2005-03-18 at 07:20, Mikael Petterson (KI/EAB) wrote: > Hi, > > I have set javac's source attribute to 1.3 but when I compile the code I > get, > > ".. warning: as of release 1.4, assert is a keyword

RE: set jvm to 1.3

2005-03-17 Thread Mikael Petterson \(KI/EAB\)
to what version of class format must the compiled classes conform to; compiler means what compiler exactly should be used for compilation (i.e. to produce these classes). HTH Ivan --- "Mikael Petterson (KI/EAB)" <[EMAIL PROTECTED]> wrote: > Hi again, > > So what is th

RE: set jvm to 1.3

2005-03-17 Thread Mikael Petterson \(KI/EAB\)
14:53 To: Ant Users List Subject: RE: set jvm to 1.3 --- "Mikael Petterson (KI/EAB)" <[EMAIL PROTECTED]> wrote: > Thanks for the hint! > > In ant there is a property called: > > ant.java.version It is the java version ant is started with. > > What does

RE: set jvm to 1.3

2005-03-17 Thread Mikael Petterson \(KI/EAB\)
mars 2005 13:49 To: Ant Users List Subject: Re: set jvm to 1.3 See target attribute of task. You can do it like this: , define javac.target properties in your build.properties as javac.target=1.3 HTH Ivan --- "Mikael Petterson (KI/EAB)" <[EMAIL PROTECTED]> wrote: > Hi, >

set jvm to 1.3

2005-03-17 Thread Mikael Petterson \(KI/EAB\)
Hi, I am starting ant 1.6.1 with jdk1.4.2 but I need to compile my code with 1.3. How can I set this in my build.properties and then use in my javac task? Any hints? //Mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Problem with classpath in javac task

2004-12-03 Thread Mikael Petterson \(KI/EAB\)
Hi, I am using ant 1.6.2 I have a common.xml with a compile target: In my proj1.xml I have the following: Do anyone have an idea why not "additional.classpath" is added to "common.classpath"

RE: build dependent projects

2004-11-30 Thread Mikael Petterson \(KI/EAB\)
dependent projects Simply let Ant build the two jars. It should only work if the JARs needs to be updated. Jan > -Ursprüngliche Nachricht- > Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 30. November 2004 15:20 > An: [EMAIL PROTECTED] >

build dependent projects

2004-11-30 Thread Mikael Petterson \(KI/EAB\)
Hi! In order to build a specific java project I use proj1.jar and proj2.jar in classpath. But these projects could be uncompiled at the time we are building our project. I am thinking of doing the following: * check if the dependant jars exists. * If jars does not exist, then we compile the s

Advice on major build system

2004-11-30 Thread Mikael Petterson \(KI/EAB\)
Hi, I am using ant to build our products. I am using ant 1.6.2 I have a common.xml containing the following targets: * init * compile * jar * clean * test:compile * test:test also a test-target that depends on test:setup, test:compile and test:test. I also have a build.properties with with

Use Uptodate on class files

2004-07-16 Thread Mikael Petterson (KI/EAB)
Hi, Is it possible to use uptodate on class files? //Mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Depend task question

2004-07-16 Thread Mikael Petterson (KI/EAB)
Hi, When I read about the depend in the ant user's manual I get confused. "The depend task works by determining which classes are out of date with respect to their source and then removing the class files of any other classes which depend on the out-of-date classes." So this removes classes th

import classpath

2004-07-14 Thread Mikael Petterson (KI/EAB)
Hi, I am restructuring my build.xml structure using a common.xml with generic targets ( thanks for all the hints I got). I got stuc with the following problem. In my common.xml 'compile' target use a common classpath ( plattform for all my products) but for each product I want to add classes, to

Problem to compile target

2004-02-05 Thread Mikael Petterson (KI/EAB)
I am resending this since I do not see the "message" being posted to ant user list. Hi, I am running Apache Ant version 1.5.4. I execute first "clean" and then "all" targets.