Re: Touch task

2001-04-30 Thread Stefan Bodewig
[EMAIL PROTECTED] wrote: Quick question It the touch task, can i specify more than 1 file at the time (like group of files)? Not in Ant 1.3, but in 1.4alpha, which means it can do in the next release. Stefan

RE: Newbie with javac classpath problem

2001-04-30 Thread Eddie Bernard
Bill- In your first attempt try changing the commas (,) to semicolons (;). That should work. HTH! -Original Message- From: Bill Pfeiffer [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 9:57 AM To: Ant-User Subject: Newbie with javac classpath problem I have just started

RE: localclasspath

2001-04-30 Thread Peter Donald
At 08:33 30/4/01 +0100, [EMAIL PROTECTED] wrote: I'm sorry to keep pushing this, but I haven't had a response. ;) Has anyone else noticed the way that the LOCALCLASSPATH is constructed differs between NT and Unix? Can I request that the ant libraries are added in the same way on both NT

RE: localclasspath

2001-04-30 Thread Peter Donald
At 08:53 30/4/01 +0100, [EMAIL PROTECTED] wrote: I've tried to run ant including xerces in the classpath but it falls over. Removing xerces enables ant to run, but now javac is being executed with the wrong jars in the classpath. Right - It is not surprising it falls over - I am surprised it

RE: wlrun, finding the confi.xml file

2001-04-30 Thread Les Hughes
Title: Here's my wlrun task:- wlrun classpath="${weblogic.classes}" name="${ant.project.name}" domain="${ant.project.name}domain" home="${weblogic.home}" password="${weblogic.password}" beahome="${bea.home}" / And here's the bit of my props file: #weblogic settings

Re: wlrun, finding the confi.xml file

2001-04-30 Thread Conor MacNeill
Jean, From: Jean Bresse [EMAIL PROTECTED] Hello: I am trying to get to have Ant start the weblogic server 6.0. It is located on a different machine than the one running Ant. Hmm, I've never done that. I usually use wlrun on my dev box. I am not sure what the home attribute should be but

Re: wlrun, finding the confi.xml file

2001-04-30 Thread Conor MacNeill
From: Les Hughes [EMAIL PROTECTED] Here's my wlrun task:- wlrun classpath=${weblogic.classes} name=${ant.project.name} domain=${ant.project.name}domain home=${weblogic.home} password=${weblogic.password} beahome=${bea.home} / And here's the bit of my props file: #weblogic settings

Off topic - JTest

2001-04-30 Thread Les Hughes
Hi, Sorry for the off topic post...I currently use Junit with Ant but has anyone experience of JTest(either with Ant or standalone)? http://www.parasoft.com/products/jtest/index.htm Bye, Les

RE: wlrun, finding the confi.xml file

2001-04-30 Thread Les Hughes
Conor / Simon, Yes, everything's fine outside of Ant. The pre-patched download of 6.0sp1 doesn't have weblogic_sp.jar - it's all rolled into weblogic.jar I think. My fault anyway, I have two projects deployed on my box - d:\weblogic is a 5.1 treeDoh! The 6.0sp1 server is starting just

Newbie question: APPLY does not write to the output file

2001-04-30 Thread René Schade
Hello, Ive have the following in my build file: target name=editorconf apply executable=cat dir=${home.src} dest= parallel=true output=conf.txt failonerror=true fileset dir=${home.src}/conf includes=author_da.conf, pastel.conf/ mapper type=glob from=*.conf to=*.txt/ /apply /target running

zip exception - Ant Experts help me

2001-04-30 Thread Balasubramanian S
hi Iam getting ZipException .Could anyone of u help me in rectifying the problem .I need help very urgently Exception Message - java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at

JUnit

2001-04-30 Thread Siddhartha Chandurkar (EHPT)
Title: JUnit Hi all, when ever i am adding the tag related to JUnit junit printsummary=yes fork=yes haltonfailure=yes formatter type=plain/ test name=XYZtest/ /junit It is giving me an Error. Error Unexpected element junit /Error. Can anybody please help. Thanks regards, Siddhartha

Re: wlrun, finding the confi.xml file

2001-04-30 Thread Conor MacNeill
- Original Message - From: Les Hughes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 30, 2001 9:07 PM Subject: RE: wlrun, finding the confi.xml file Conor / Simon, Yes, everything's fine outside of Ant. The pre-patched download of 6.0sp1 doesn't have weblogic_sp.jar -

Re: Using compiled classes later in build?

2001-04-30 Thread dhay
Anyone have any ideas on this? Does anyone know if it is possible to have Ant display a directory list? That way I could see if the files have been compiled and are available to the JspC step? Many thanks, Dave David Hay 04/27/2001 04:39 PM To: [EMAIL PROTECTED] cc: Subject: Re:

RE: Sending -J-mx128m to Javac Task

2001-04-30 Thread Dana Rice
Dianne, thanks for the help, I got it to work. Well sort of. This probably is not a true ant problem/question but you seem to have a good Unix understanding. I'm trying to start the ant build from a cronjob. So I call a shell script which contains the location of the ant executable, logfile, and

RE: Sending -J-mx128m to Javac Task

2001-04-30 Thread Bill . J . Fellows
Sorry for coming late to the party so if this has been covered, my appologies. Is root running the crontab? It probably doesn't have JAVA_HOME set in it's variables. Try adding something like setenv JAVA_HOME /usr/jdk1.2 or export JAVA_HOME=/usr/jdk1.2 in your one line script. Also, make

RE: Off topic - JTest

2001-04-30 Thread Liu, Kenneth Albert (Kenneth)** CTR **
Yes, I've used it before. It's quite good, but very expensive. ($3000+) It doesn't do the same thing as JUnit. Ken -Original Message- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 6:34 AM To: Ant-User@Jakarta. Apache. Org (E-mail) Subject: Off topic -

Task from a task?

2001-04-30 Thread Jeffrey A Kenward
What's the best way to invoke a task from another task? For instance, I'm trying to write a task to search for build files further down in the build tree and invoke the ANT task on it once it's found. -Jeff begin:vcard n:Kenward;Jeff tel;pager:(313) 280-0854 tel;cell:(313) 715-3170

RE: Task from a task?

2001-04-30 Thread Jeff Post
I believe he means that he wants to call an Ant task from within his own task: Not from within a target as you suggest. Yes? -Original Message- From: Kevin Cummings [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 1:58 PM To: [EMAIL PROTECTED] Subject: Re: Task from a task? ant

Re: Task from a task?

2001-04-30 Thread Kevin Cummings
Ooops, responded too quickly.. antcall target=copy/ At 03:57 PM 4/30/2001 -0500, you wrote: ant antfile=util.xml target=prepare / or ant antfile=util.xml/ At 04:52 PM 4/30/2001 -0400, you wrote: What's the best way to invoke a task from another task? For instance, I'm trying to write a task

Re: Task from a task?

2001-04-30 Thread Jeffrey A Kenward
Perhaps I was unclear. What I meant was to call 'ant' and I didn't know the directory it was in, but I knew what it was called. For instance, if I had build.xml in /x, and there was another created dynamically somewhere down in the directory tree, how would 'ant' find it? I'm trying to use the

Platform specific targets???

2001-04-30 Thread Bill Meyer
Does anyone have an example of a target that is only executed on a specific platform? For example- I have a module of code that is JNI based and I only want it built on Unix. There are no native binaries available on Windows NT so it wouldn't make sense to execute the target to build the JNI

RE: Re: Task from a task?

2001-04-30 Thread John . D . Casey
This functionality currently doesn't exist (I don't think). I adapted a new task from the existing Ant task that accepts filesets, which means you can specify something like include name=**/build.xml/ within the fileset, and run build files somewhere else...we currently use it to provide a

Re: Task from a task?

2001-04-30 Thread Diane Holt
--- Jeffrey A Kenward [EMAIL PROTECTED] wrote: What's the best way to invoke a task from another task? For instance, I'm trying to write a task to search for build files further down in the build tree and invoke the ANT task on it once it's found. You could use the newly submitted (but not

Re: Platform specific targets???

2001-04-30 Thread Nico Seessle
- Original Message - From: Bill Meyer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 30, 2001 11:06 PM Subject: Platform specific targets??? Does anyone have an example of a target that is only executed on a specific platform? For example- I have a module of code that

Re: Using compiled classes later in build?

2001-04-30 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: Does anyone know if it is possible to have Ant display a directory list? That way I could see if the files have been compiled and are available to the JspC step? Well, you could exec a directory listing. It's not very platform-independent (since you're exec'ing a

RE: Using compiled classes later in build?

2001-04-30 Thread David Scassa
Diane, Have you considered relocating to the Austin Area? :) (hint hint) -Dave -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 5:15 PM To: [EMAIL PROTECTED] Subject: Re: Using compiled classes later in build? --- [EMAIL PROTECTED] wrote:

Re: Task from a task?

2001-04-30 Thread Jeffrey A Kenward
I found foreach, (thank you Tim), and that's exactly what I plan to do. Also, I had to get Ant.java out of CVS to get around the 1.3 bug that was mentioned in ant-dev. Thinks are working great now. -Jeff Diane Holt wrote: --- Jeffrey A Kenward [EMAIL PROTECTED]> wrote: > What's the best way to

RE: Newbie question

2001-04-30 Thread Robert Leftwich
At 05:38 AM 01-05-01 +1000, I wrote: At 11:06 AM 30-04-01 -0400, Pinar Bicioglu wrote: I believe that all you need to do specify the property tag for buil.compiler. And the value should be modern. Unless you are using Jikes to actually compile the files - which I am. Any other ideas ? Well,

Adding tasks

2001-04-30 Thread Bill . J . Fellows
Howdy, Is it possible to do something like this when defining my own task? If so, anyone care to point me in the right direction? mytask myAttr=foo myAttr=bar myAttr=blee This gives me an error about myAttr already appearing in this tag. I'd like to be able to append all these attributes

RE: Sending -J-mx128m to Javac Task

2001-04-30 Thread Dana Rice
No root was running it but cron apparently doesn't know any users .profile .kshrc so that was the issue. The memory error came from the ant logfile and was indirectly reporting the JAVA_HOME issue. Thanks Dana -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

Re: Adding tasks

2001-04-30 Thread Conor MacNeill
Bill, You can't have the same attribute twice in an element in XML. To do what you want, you will need to create nested elements mytask myAttr value=foo/ myAttr value=bar/ /mytask This arrangement is supported by Ant's introspection. You will need a createMyAttr() method which returns an

RE: Using compiled classes later in build?

2001-04-30 Thread Diane Holt
--- David Scassa [EMAIL PROTECTED] wrote: Diane, Have you considered relocating to the Austin Area? :) (hint hint) Can't say as I have (although if the power runs out this summer, I may have to consider moving somewhere) -- but I'm really excellent at telecommuting :) Diane = ([EMAIL

Anyone got the dtd element for ejbjar to work with weblogic 6?

2001-04-30 Thread Andrew Thompson
Title: Anyone got the dtd element for ejbjar to work with weblogic 6? I have an odd problem. I'm trying to run ejbjar from ant 1.3 with Weblogic 6. I've disabled all the weblogic functionality and stripped my ejbjar tag down to this: target name=ejb-jar depends=ejb-classes ejbjar

Re: JUnit

2001-04-30 Thread Torsten Straube
Hi, the JUnit Task is optional, so you need to put the optional.jar in your ${anthome}/lib directory. If you already have done so, how do you include your JUnit Task in the buildfile? Mine looks like: target name=utest description=Unittests echoClasspath=${cpc}\n