Re: parsing a task output for further processing

2002-06-13 Thread Steve Loughran
- Original Message - From: "Marc Logemann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 02:01 Subject: Re: parsing a task output for further processing > > --- Marc Logemann <[EMAIL PROTECTED]> wrote: > >> its the ouput you get from the manager list command

Re: conditional redeploy (only if something is changed)

2002-06-13 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: > I would like to redeploy the WLS (in BEA case touch REDEPLOY) only if > two condition are met: > 1) the compilation was sucessfull. > 2) at least one file was compiled. If you're running Ant1.5, see: http://marc.theaimsgroup.com/?l=ant-user&m=102270726717601&w=2 f

Re: 1.5 b2 and JUnit

2002-06-13 Thread Magesh Umasankar
- Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> > > We've had jikes problems in the past w/ verify errors; I never build ant > with it any more > Hmm! That's a catch 22 situation for me - unable to build JDK 1.1 compatible Ant using JDK 1.4's javac on WinNT; able to

Re: 1.5 b2 and JUnit

2002-06-13 Thread Steve Loughran
- Original Message - From: "Magesh Umasankar" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 2:11 PM Subject: Re: 1.5 b2 and JUnit > IIRC, this is not a known issue. > > 1.5b1 was built using JDK1.4's javac compiler. > 1.5b2 was built using j

RE: 1.5 b2 and JUnit

2002-06-13 Thread Ingmar J Stein
> Can anyone chime in if they've successfully used the task with > fork="yes" from the 1.5b2 binary distribution on Windows 2000? Our nightly build system experiences the same error every once and a while. It then disappears magically again, so I did not post it here as I could not reproduce it.

RE: Need help running Ant under cygwin on Win2k

2002-06-13 Thread Chappell, Simon P
Under windows, the ";" is indeed the separator in the CLASSPATH, but when you are in the Cygwin environment (i.e. the Cygwin window or any program started from that window), you are in a very complete Unix environment and that means your CLASSPATH separator is changed to ":" (it's a Unix thing!

RE: Need help running Ant under cygwin on Win2k

2002-06-13 Thread Tim Walker
can you escape \ it ? -- Tim Walker Senior Software Engineer [EMAIL PROTECTED] Freshwater Software 303-443-2266 ex. 6505 Looking for Answers to your SiteScope or SiteSeer questions? http://www.freshwater.com/support/search.htm -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTEC

Re: 1.5 b2 and JUnit

2002-06-13 Thread Kendall Collett
I'm running the Ant 1.5b2 binary distribution on W2K, and I've been able to run my JUnit targets successfully. (Not sure if it matters, but I'm specifying fork="true" in the nested element, not in the containing element.) Kendall - Original Message - From: "Paul Christmann" <[EMAIL PR

Re: Need help running Ant under cygwin on Win2k

2002-06-13 Thread J.Pietschmann
Tim Walker wrote: > Curious...I thought ; was the multiple classpath separator character. How should >this be expressed ? Quote it. J.Pietschmann -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Need help running Ant under cygwin on Win2k

2002-06-13 Thread Chris Bailey
It also appears that maybe CYGWIN sets the $USERPROFILE environment var, and it happens to be set to C:\Documents and Settings\login for me. This appears to be hosing some of my scripts, because Ant's user.home property is being set to this. I haven't found where to change $USERPROFILE yet, anyo

RE: Need help running Ant under cygwin on Win2k

2002-06-13 Thread Tim Walker
Curious...I thought ; was the multiple classpath separator character. How should this be expressed ? Thanks, -- Tim Walker Senior Software Engineer [EMAIL PROTECTED] Freshwater Software 303-443-2266 ex. 6505 Looking for Answers to your SiteScope or SiteSeer questions? http://www.freshwater.co

Re: Need help running Ant under cygwin on Win2k

2002-06-13 Thread Ray Tayek
At 11:27 PM 6/12/02 -0700, you wrote: >I'm trying to run Ant 1.5beta2 on a Windows 2000 machine under Cygwin. just a tip. be careful of things like classpath=c:\foo;c:\bar - the ';' will terminate the statement! thanks --- ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommutin

RE: 1.5 b2 and JUnit

2002-06-13 Thread Paul Christmann
> -Original Message- > From: Magesh Umasankar [mailto:[EMAIL PROTECTED]] > 1.5b2 executes Ant's test cases just fine. OK, now I'm even more stumped: I can succesfully run the "test" target from the 1.5b2 binary distribution even when I set junit.fork="yes". So it appears that ant unit

Re: 1.5 b2 and JUnit

2002-06-13 Thread Magesh Umasankar
- Original Message - From: "Paul Christmann" <[EMAIL PROTECTED]> > > -Original Message- > > From: Magesh Umasankar [mailto:[EMAIL PROTECTED]] > > > Which JDK are you using and on which OS? > > Windows 2000, JDK 1.4 compiler I wonder if it is a Win2K specific issue. Works

RE: 1.5 b2 and JUnit

2002-06-13 Thread Paul Christmann
> -Original Message- > From: Magesh Umasankar [mailto:[EMAIL PROTECTED]] > Which JDK are you using and on which OS? Windows 2000, JDK 1.4 compiler > Surprising nobody else has reported this so far! My thoughts as well; the only things I could think of are: a) I screwed up the inst

Re: 1.5 b2 and JUnit

2002-06-13 Thread Magesh Umasankar
- Original Message - From: "Paul Christmann" <[EMAIL PROTECTED]> > So I rebuilt 1.5b2 to try hacking some stuff into JUnitTestRunner to try > and further isolate the cause -- and much to my surprise, a rebuilt > version of optional.jar did the trick. I noticed that both ant.jar and > o

1.5 b2 and JUnit

2002-06-13 Thread Paul Christmann
I just upgraded from 1.5alpha (built from CVS in mid-April) to the 1.5b2 release (downloaded the binary distribution). When I did this, my unit test target stopped working -- all unit tests reported the following exception: [junit] java.lang.VerifyError: (class: org/apache/tools/ant/taskdef

Re: Delete and File Properties

2002-06-13 Thread Erik Hatcher
That seems like a perfectly reasonable feature request for the task. As for being compared to Slayer - wow I'm honored! Now if I could only have the huge speakers and stage and thousands of screaming fans :)) Erik - Original Message - From: "Tim Walker" <[EMAIL PROTECTED]

RE: Delete and File Properties

2002-06-13 Thread Tim Walker
Erik, You rock like Slayer. Using Delete.java as a guideline...my attribDelete.java was point and click. I needed to add only the if (f.canWrite()) to that part of removeFiles() and log those that I did not delete as confirmation. Works GREAT. My only remaining question... Shouldn't the De

Re: Delete and File Properties

2002-06-13 Thread Magesh Umasankar
- Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> > We have one chapter dedicated to writing custom tasks, and another that has > info on writing custom selectors, FilterReaders, mappers, listeners, and > loggers. Woohoo! I notice the new inclusions :-) > Erik Cheers, M

Re: Delete and File Properties

2002-06-13 Thread Erik Hatcher
- Original Message - From: "Tim Walker" <[EMAIL PROTECTED]> > Hmmm...thanks...a better question, I guess, is... > > Is the documentation: > > http://jakarta.apache.org/ant/manual/ > > Acceptable for something as fundamental as this ? Trying to implement a task based solely on this > docum

RE: Delete and File Properties

2002-06-13 Thread Dominique Devienne
You asked the right question to Erik ;-) --DD -Original Message- From: Tim Walker [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 2:42 PM To: 'Ant Users List' Subject: RE: Delete and File Properties Thanks Erik, >>Why do you think setFile would be called? >>setXXX are for X

RE: Delete and File Properties

2002-06-13 Thread Tim Walker
Thanks Erik, >>Why do you think setFile would be called? >>setXXX are for XML attributes, so >>it would be called if you had: >> [snip] >>But to support nested filesets, use void addFileset(FileSet set). >>> public class attribDelete extends Task implements org.apache.tools.ant.TaskContainer {

Re: Delete and File Properties

2002-06-13 Thread Erik Hatcher
- Original Message - From: "Tim Walker" <[EMAIL PROTECTED]> > Will someone please help me with my attribDelete task ? I thought the setFile would be getting called...file a > File object. I do have the "in execute" in my Ant console...so I'm at least that far. Thank you. Why do you think

RE: Delete and File Properties

2002-06-13 Thread Tim Walker
Hello, One of the reasons to use Ant is to make the choice of IDE largely a users choice. In my implementation, where I have to protect a mixed bag of read-only files in a clean, the ReadOnlySelector is very cool. However, integrating Ant 1.5b1 with each IDE is problematic. I'd like to find an

Re: conditional redeploy (only if something is changed)

2002-06-13 Thread Steve Loughran
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 4:28 AM Subject: conditional redeploy (only if something is changed) > > I would like to redeploy the WLS (in BEA case touch REDEPLOY) only if two > condition are met: > 1) the compilati

Re: FileSet and FileList limitations summary

2002-06-13 Thread Gordon Tyler
- Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> > P.S. FileList would do for your FileCollection, if FileList gets changed > to accept whatever list of filenames you give it without insisting on > having a common root directory (as I've mentioned a few times already, it > ma

Re: Re[2]: bug?

2002-06-13 Thread Stefan Bodewig
On Thu, 13 Jun 2002, Eugene Voytitsky <[EMAIL PROTECTED]> wrote: > BUILD FAILED > 1.xml:39: No source files and no packages have been specified. Ahh, thanks. Fixed in the 1.5 branch. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Re[4]:

2002-06-13 Thread Stefan Bodewig
On Thu, 13 Jun 2002, Eugene Voytitsky <[EMAIL PROTECTED]> wrote: > Evidently this (and ) fixes not included in last > nightly build at > http://cvs.apache.org/~bodewig/gump/ant1.5beta/20020613/ correct, I fixed them after the build (they'll be there tomorrow). Stefan -- To

Ant Upgrade

2002-06-13 Thread Tim Walker
How do I upgrade my FF4JCE to Ant 1.5b ? Do I copy the ant.jar, optional.jar, both...modules or modules\ext ? Any help is appreciated. I did this yesterday and again this morning from some instructions I found but it did not work. I lost Ant support entirely. Help. Please. Tim -- To un

Re[4]:

2002-06-13 Thread Eugene Voytitsky
ikes. SB> Fixed in the 1.5 branch now. Evidently this (and ) fixes not included in last nightly build at http://cvs.apache.org/~bodewig/gump/ant1.5beta/20020613/ Because it doesn't work correctly... -- Best regards, Eugene Voytitskymailto:[EMAIL PROTECTED]

RE: Delete and File Properties

2002-06-13 Thread Tim Walker
Thanks. And thanks again for your help. It seems to be working great. I just can't get 1.5 Ant to work with Forte... -- Tim Walker Senior Software Engineer [EMAIL PROTECTED] Freshwater Software 303-443-2266 ex. 6505 Looking for Answers to your SiteScope or SiteSeer questions? http://www.freshwa

Re: Delete and File Properties

2002-06-13 Thread Erik Hatcher
No worries - it had to do with specifying the classpath on the . Its long since been fixed. :) - Original Message - From: "Tim Walker" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 9:29 AM Subject: RE: Delete and File Properties > >>But t

RE: Combining JARs into one JAR

2002-06-13 Thread ajack
> I know the real problem is probably elsewhere, but is there > any simple way (via Ant) to bundle these JARs back into one big > JAR? Sorry to carry a thread on by myself, but just for the archives... Doing some searching for zipfileset I came accross it in the ZIP doc

Re[2]: bug?

2002-06-13 Thread Eugene Voytitsky
Hello Stefan, Thursday, June 13, 2002, 3:41:02 PM, you wrote: I use the following target for testing bug suspicion: >> 1. 'packagelist' attribute doesn't work in 1.5b1 and 1.5b2 SB> why do you think so? Apache Ant version 1.5Beta compiled on June 13 200

RE: Delete and File Properties

2002-06-13 Thread Tim Walker
>>what? you reversed the defintions of true and false? That threatens the >>entire stability of the universe. put it back before things go horribly >>wrong! >>why, look at the sentence above; 'Now it's working great', which maps to >>working=true. if you have reversed your boolean logic, then true

RE: Delete and File Properties

2002-06-13 Thread Tim Walker
>>But the beauty is that I >>discovered a bug in the custom selector stuff which Bruce has since fixed. So far, the ReadOnlySelector has worked really well for me with 1.5b, what was the bug ? Thanks, -- Tim Walker Senior Software Engineer [EMAIL PROTECTED] Freshwater Software 303-443-2266 e

[ANN] New version of ISDirValidator

2002-06-13 Thread IƱigo Serrano
Hello I have developed a new version of ISDirValidator, an utility and Ant's task to validate directory structure. It is usefull to check if some directory has some files or not, and if the files that has are permited. Now it supports recursive directories and it also check directory names. A

Re: Conditional compilation

2002-06-13 Thread Erik Hatcher
- Original Message - From: <[EMAIL PROTECTED]> > The best I can come up with in this case is something like this: > > > > > > includes="${withsource}"/> > > > > and run with > > % ant -Dwithsource='**/*.java' Better yet: Patter

Re: bug?

2002-06-13 Thread Stefan Bodewig
On Thu, 6 Jun 2002, Eugene Voytitsky <[EMAIL PROTECTED]> wrote: > 1. 'packagelist' attribute doesn't work in 1.5b1 and 1.5b2 why do you think so? > 2. if 'classpathref' refers to empty classpath > then Ant 1.4.1 & 1.5bX failed Fixed in the 1.5 branch now. Stefan -- To unsubscribe, e-mail:

Re: Conditional compilation

2002-06-13 Thread kynn
From: "Erik Hatcher" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Subject: Re: Conditional compilation You're bound to get a flood of replies to this: then run with: ant -Dbuild.debug=false to turn it off. Thanks, Erik! I have two follow-up questions;

Re: Re[2]:

2002-06-13 Thread Stefan Bodewig
On Wed, 5 Jun 2002, Eugene Voytitsky <[EMAIL PROTECTED]> wrote: > sourcepath="" works great with build.compiler==(classic||modern) > BUT with build.compiler==jikes I still have a problem: > '${src_dir}' is appended to the end of classpath passed to jikes. Fixed in the 1.5 branch now. > PS. As I

conditional redeploy (only if something is changed)

2002-06-13 Thread David.Ostrovsky
I would like to redeploy the WLS (in BEA case touch REDEPLOY) only if two condition are met: 1) the compilation was sucessfull. 2) at least one file was compiled. Simple try: doesn't meet the second condition. I guess I should set some variable in compile

Re: Delete and File Properties

2002-06-13 Thread Stefan Bodewig
On Thu, 13 Jun 2002, Erik Hatcher <[EMAIL PROTECTED]> wrote: > But the beauty is that I discovered a bug in the custom selector > stuff which Bruce has since fixed. Yay. > Otherwise I'll get to it eventually and it will be part of 1.6. 1.6 is fine IMHO. Stefan -- To unsubscribe, e-mail:

Re: Delete and File Properties

2002-06-13 Thread Erik Hatcher
> On Wed, 12 Jun 2002, Erik Hatcher <[EMAIL PROTECTED]> > wrote: > > > public class ReadOnlySelector extends BaseExtendSelector { > > shouldn't that better be a built-in selector? Yup, and I intend to commit it (or a variant of it) to CVS HEAD at some point in the near future. I did not write it

RE: classpath in custom task?

2002-06-13 Thread Jeroen Breedveld
| -Original Message- | From: Dominique Devienne [mailto:[EMAIL PROTECTED]] | Sent: woensdag 12 juni 2002 23:37 | To: 'Ant Users List' | Subject: RE: classpath in custom task? | | Have you tried? Yes, I already did. Tried it again with Ant 1.5 beta but it still gives a classnotfoun

env and build.properties file?

2002-06-13 Thread Ray Tayek
hi, having trouble with env and the build.properties file. on win98se with ant 1.4, using: seems to hose dos box randomly. this does seem to work better if the script is run from netbeans, but running a .bat file to set the environment variables does not seem work nor does putting a build.pro