how to install package to make ANT aware?

2009-11-23 Thread Yuzhe Tang
Hi, I have found some problems when using Ant to build. The prompt complains as follows, ... [ivy:resolve] :: [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: [ivy:resolve] :: [ivy:resolve] :: jets3t#jets3t;0.5.0: no

Re: Build fail

2009-11-23 Thread glenn opdycke-hansen
I agree that there is nothing obviously incorrect. However, do you run unit tests and acceptance tests at the same time? If so then there is a potential problem that the script will run the unit tests then the acceptance tests then check the properties. I suggest that the not be used, instead hav

Passing in unlimited parameters to my build file to create entry keys in a property file.

2009-11-23 Thread Bad Pie
I have a build file that I would like to be able to pass as many parameters as needed for the occasion to create entry keys in a property file. Is something like this possible to do? -- View this message in context: http://old.nabble.com/Passing-in-unlimited-parameters-to-my-build-file-to-create

Re: Build fail

2009-11-23 Thread Greg Roodt
I cant see anything obviously wrong there, but my test targets are normally a bit simpler. Have you tried setting the failure properties on "batchtest" rather than the "junit" task? Something weird may be happening because you are forking in "batchtest". On Mon, Nov 23, 2009 at 6:43 PM, Ben Cuth

Re: Build fail

2009-11-23 Thread Ben Cuthbert
Here it is haltonfailure="no" haltonerror="no" failureproperty="tests.failures" errorproperty="tests.errors"

Re: AW: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread Adam Leggett (UPCO)
data.txt : localVariable1,propVariable11,propVariable12 localVariable2,propVariable21,propVariable22 localVariable3,propVariable31,propVariable32 def f = new File(ant.project.getProperty('file.path')) def lines = f.readLines()

AW: problem with Excludes in the Ant.

2009-11-23 Thread Knuplesch, Juergen
Hello, As far as I know (see docu yourself): Explicit include overwrites exclude, so all .java files will be there. Greetings Juergen -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophienstraße 40 D-701

Re: sources as conf or type

2009-11-23 Thread Archie Cobbs
On Mon, Nov 23, 2009 at 9:13 AM, Stephen Haberman wrote: > Poking around, the projects in ivyroundup I looked at seemed to have source > artifacts in the default conf and not have a separate sources conf. > > Is this the official style of the ivyroundup repo or does it vary based on > who setup ea

Re: AW: java bytecode produced by "Ant javac" different from "command line javac" bytecode

2009-11-23 Thread td.com
Allow me to be more specific in what I think is strange in the decompiled bytecode. Say we have a test class as follows: /* Class to test different javac options */ import java.io.File; import java.io.IOException; class Hello { public static void main(String[] a) { System.out.prin

Re: AW: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread rohit15
Actually my confusion starts at this point, When i use this code , it does print each comma-delimited string ;but i wish to do something like this The value of String 1 : ${value1} The value of String 2 : ${value2}. Now pass this to macro2 The value of String 3 : ${value3}. Now pass this to macr

problem with Excludes in the Ant.

2009-11-23 Thread madhusudhanv
Hi All, I am using the copy task like below: The excludes contain all the exclude list like this: **/com/sdn/epg/cafe/view/oig/** **/xpush/** **/pnp/** **/pdl/** **/oig/** **/mosaic/** **/promo/** **/multi/** **/teletext/** **/com/sdn/epg/cafe/view/** **/com/sdn/epg/cafe/handler/settings/**

AW: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: rohit15 [mailto:rohitkulkarn...@gmail.com] >Gesendet: Montag, 23. November 2009 11:07 >An: user@ant.apache.org >Betreff: Parsing comma-separated string and getting handle to >each token > > >Hi gurus, > >Can you please help me reso

Re: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread Adam Leggett (UPCO)
To solve your problem, i'd suggest a scripted approach using something like the or task. If using groovy for example, this would allow you to use similar Java code as in your suggestion and give you much more fine grained control over error handling etc e.g. if the data in the file is malformed f

Parsing comma-separated string and getting handle to each token

2009-11-23 Thread rohit15
Hi gurus, Can you please help me resolve this seemingly simple requirement. I have a my.txt file like localVariable1,propVariable11,propVariable12 localVariable2,propVariable21,propVariable22 localVariable3,propVariable31,propVariable32 I need to parse this line by line and then process each l