Doclet ?

2001-12-05 Thread Cyriaque Dupoirieux
Hello, Can you send me an example of javadoc task that use a specific doclet. I have made sevral tries but Ant always tell me that there is a bad option -d : [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] javadoc: invalid flag: -d [javadoc] usage: javadoc

Re: Doclet ?

2001-12-05 Thread Stefan Bodewig
On Wed, 05 Dec 2001, Cyriaque Dupoirieux [EMAIL PROTECTED] wrote: I have made sevral tries but Ant always tell me that there is a bad option -d : remove the destdir attribute from your javadoc task and Ant will not try to pass on the -d switch. Stefan -- To unsubscribe, e-mail:

Lost newbie : cannot get new task to work

2001-12-05 Thread Franck Routier
Hi list, I am trying to integrate the xmlc task into my build.xml file but I keep getting an error. The purpose of the xmlc task is to call the xmlc xml compiler that turns xml (or html) files into a full java dom. XMLCTask extends MatchingTask. 1) Here is my build.xml file (relevant parts) :

Re: Lost newbie : cannot get new task to work

2001-12-05 Thread Stefan Bodewig
On Wed, 05 Dec 2001, Franck Routier [EMAIL PROTECTED] wrote: taskdef name=Xmlc classname=org.enhydra.barracuda.taskdefs.Xmlc classpath=lib/ant-barracuda.jar/ +Task: taskdef Class org.enhydra.barracuda.taskdefs.Xmlc loaded from parent loader the key here is from parent

Re: Doclet ?

2001-12-05 Thread Cyriaque Dupoirieux
Stefan Bodewig wrote: On Wed, 05 Dec 2001, Cyriaque Dupoirieux [EMAIL PROTECTED] wrote: I have made sevral tries but Ant always tell me that there is a bad option -d : remove the destdir attribute from your javadoc task and Ant will not try to pass on the -d switch. And if I remove

RE: Ant 1.4.1 / JDK 1.4 beta3: '

2001-12-05 Thread Chappell, Simon P
For my build file I use two variants for the javac process: I use this one for struts: target name=compile depends=init javac srcdir=${src.java} destdir=${build.classes} classpath pathelement path=${classpath} / pathelement

Re: Lost newbie : cannot get new task to work

2001-12-05 Thread Franck Routier
Thanks Stefan, well, in fact Xmlc task depends on two jars : xmlc.jar (the compiler itself) log4j.jar (for logging) If I don't put those jars in ANT_HOME/lib, how do I tell my xmlc task where to find it ? Another point is I noticed that after every + Target, there is one or several +Task.

Re: Doclet ?

2001-12-05 Thread Stefan Bodewig
On Wed, 05 Dec 2001, Cyriaque Dupoirieux [EMAIL PROTECTED] wrote: And if I remove the destdir, where will Ant generate my documentation ??? Whatever you tell your doclet. If your doclet doesn't support the -d switch, it must have some other means to specify that, use the additionalparam

Re: nested arguments

2001-12-05 Thread Stefan Bodewig
On Wed, 5 Dec 2001, Melroy Rodrigues [EMAIL PROTECTED] wrote: can I use a variable ${appserver.${appserver.target}.home} in the build.xml file No - no recursive property expansion in Ant. and if not what is the equivalent. I'm not sure what you are trying to do here, I assume you want to

including manifest file in ejbjar

2001-12-05 Thread Todd Chambery
Hi, I am again wrestling with the ejbjar task, this time trying to include the manifest.mf file contained in the descriptors directory with the ejb jar. The problem is, Ant is not using the manifest.mf contained in the descriptor directory and is overwriting it with a (basically) empty one. The

RE: VSSGET and labeling...

2001-12-05 Thread Euan Guttridge
(Just seen late posting but may help others if not already solved) I have also experienced hours of pain using VSS and getting [Version not found] when getting individual labels. The problem is a 100% bug with VSS. However Microsoft kindly wrote a small .exe for me which will recursively get

RE: VSSGET and labeling...

2001-12-05 Thread Shawn McManus
Please do (post the exe). If you can post it to a public site, please do that too. Many mail services may not allow .exe attachments. Thanks, Shawn -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 9:50 AM To: 'Ant Users List' Cc:

RE: VSSGET and labeling...

2001-12-05 Thread Euan Guttridge
Attached as Windows Zip file. Contains source code and .exe. Feel free to post it to any public sites. -Original Message- From: Shawn McManus [mailto:[EMAIL PROTECTED]] Sent: 05 December 2001 15:49 To: Ant Users List Subject: RE: VSSGET and labeling... Please do (post the exe). If you

RE: VSSGET and labeling...

2001-12-05 Thread Peter . FLYNN
Euan, I've just had an email from the IT helpdesk saying that that SSGet.exe has been quarantined, and the email is not being forwarded to my account. Either ZIP the exe, or post it on a HTTP server so we can download it. Regards, Peter

Re: including manifest file in ejbjar

2001-12-05 Thread Alexander Syedin
Hi Todd, have you tryed to specify absolute path to manifest file (e.g. manifest=${basedir}/manifest.mf) ? Works fine for me. -- SY. Alexander Syedin On 05 Dec 2001 at 10:17:23, Todd Chambery wrote: Hi, I am again wrestling with the ejbjar task, this time trying to include the manifest.mf

RE: VSSGET and labeling...

2001-12-05 Thread Gale, Paul
Hi Andrew, Can you post up your ant target that you're using to get your source by label. We've been using VSS with labelling from ant without any problem. Perhaps if I saw your target definition it might shed some light on things. thanks, Paul -Original Message- From: Andrew Close

RE: VSSGET and labeling...

2001-12-05 Thread Euan Guttridge
Peter, The .exe was zipped, however your virus protection has looked inside the zip. I would be happy to pst to a public HTTP server if you give me directions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 05 December 2001 16:07 To: [EMAIL PROTECTED]

RE: VSSGET and labeling...

2001-12-05 Thread Scott Moore
Everyone, Try this. I renamed the file extension to .thisisazip. Rename it back to .zip. It should get past the virus scanners. Scott -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:33 AM To: 'Ant Users List' Subject: RE:

Re: including manifest file in ejbjar

2001-12-05 Thread Todd Chambery
That would probably work, except that each descriptor is in its own directory: ant_descriptors foo meta-inf foo-ejb-jar.xml manifest.mf bar meta-inf bar-ejb-jar.xml manifest.mf Basically,

Re: including manifest file in ejbjar

2001-12-05 Thread Alexander Syedin
Todd, seems that there is no way to correlate DD path with path to manifest file. Only one manifest file can be specified in ejbjar task and it will be shared among all generated jar files. AFAIK there is three solutions: 1) Use one manifest for all jars 2) Call ejbjar for each DD 3) Write your

Build Fails on HP-UX

2001-12-05 Thread Brenneis, Steve
Hello, I am an Ant newbie so be gentle... I am having a problem building an Ant distribution on HP-UX using JDK 1.3.1. Here is the info: JAVA_HOME = /usr/java/jdk1.3.1_01 PATH = /etc:/usr/etc:/home/sbrennei/bin:/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/ usr/java/jdk1.3.1_01/bin/ ANT_HOME and

build succesfull...test failed

2001-12-05 Thread Scott Jeppesen
Hello, I'm using Velocity 1.1.I just ran ant in the velocity directory and it ran fine. However, when I ran ant test it generated this errorwhat's wrong? Test-template: [echo] Running Template tests... [java] Class not found org.apache.velocity.test.TemplateTestCase

RE: build succesfull...test failed

2001-12-05 Thread Scott Jeppesen
Crap sorrywrong list. -Original Message- From: Scott Jeppesen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 10:29 AM To: 'Ant Users List' Subject: build succesfull...test failed Hello, I'm using Velocity 1.1.I just ran ant in the velocity directory and it

Re: Build Fails on HP-UX

2001-12-05 Thread Jill Stephenson
You must be using optional ant tasks, so you need to put the ant optional jar (downloadable seperately from jakarta) into ANT_HOME/lib. -- Jill - Original Message - From: Brenneis, Steve [EMAIL PROTECTED] To: 'Ant Users List' [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 4:26 AM

Quoting issue

2001-12-05 Thread Ed Mangual
How do you escape apostrophes? I having a small issue running exec, I have the following: user.properties snippet nshome=c\:/Program Files/Netscape/Users/default build.xml snippet property name=nscert value=S1 Corpapos;s VeriSign, Inc. ID/ exec dir=${afi.packaging.work}

RE: Build Fails on HP-UX

2001-12-05 Thread Brenneis, Steve
-Original Message- From: Jill Stephenson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 4:55 PM To: Ant Users List Subject: Re: Build Fails on HP-UX You must be using optional ant tasks, so you need to put the ant optional jar (downloadable seperately from

Re: Build Fails on HP-UX

2001-12-05 Thread Jill Stephenson
Sorry, always best to fully read the question first ;) I didn't realise you were compiling ant. I just tried the same thing myself after downloading the tar.gz file only to find a bunch of the files have corrupt names ending in 100644. I don't know if this in the gnu tar problem, I just tried

Re: Quoting issue

2001-12-05 Thread Frank E. Weiss
Try using arg value=... for each exec parameter instead of arg line= Exec really likes a vector of strings better than having to parse a line into words. Ed Mangual wrote: How do you escape apostrophes? I having a small issue running exec, I have the following: user.properties snippet

Ant CVS Task

2001-12-05 Thread geoff
I'm having CreateProcess error=267 when executing the ant CVS task, and I can't figure out why. I can run CVS from the command line in the same directory with no difficulties. Someone else (from the list archive) seems to have had a similar problem, but no solution seems to have been posted.

Re: Quoting issue

2001-12-05 Thread Jill Stephenson
The value passed to signtool probably needs to be enclosed in quotes, try property name=nscert value=quot;S1 Corpapos;s VeriSign, Inc. IDquot;/ -- Jill - Original Message - From: Ed Mangual [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 7:47 AM Subject:

Ant CVS

2001-12-05 Thread geoff
Actually, I finally found a message in the list that seems to describe my problem. Think I've got it solved. Sorry for the spam. ;) Let you know if I have further problems. __ Geoffrey Wiseman: Internet Applications Manager Medium One

Re: Quoting issue

2001-12-05 Thread Frank E. Weiss
As a follow up, can the documentation for the arg tage be clarified? It says a single command-line argument; can contain space characters but seems like it should include other command-line parsing break characters such as double-quote and single quote. A side note: In Perl it is a common

Re: Quoting issue

2001-12-05 Thread Frank E. Weiss
Unlikely, since the error is in org.apache.tools.ant.types.Commandline.translateCommandline, not signtool. See my earlier comment on passing parameters to exec with or without shell parsing. Jill Stephenson wrote: The value passed to signtool probably needs to be enclosed in quotes, try

Copy directories

2001-12-05 Thread Shvartsburd, Feliks
How do you recursively copy set of dirs and subdirs to target? thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

foreach task

2001-12-05 Thread Zhao, Jasmine
Hi Can anyone send me a copy for foreach task? thanx Jasmin - This message may contain privileged and/or confidential information subject to a confidentiality agreement or copyright material of Clarity International Ltd

Re: Quoting issue

2001-12-05 Thread Steve Loughran
- Original Message - From: Frank E. Weiss [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 3:00 PM Subject: Re: Quoting issue As a follow up, can the documentation for the arg tage be clarified? It says a single command-line argument; can

RE: Silent execution of targets

2001-12-05 Thread David Blevins
All, I'm curious as to why my question has been ignored. Was there something lacking in the post? Thanks, David -Original Message- From: David Blevins [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 10:19 PM To: [EMAIL PROTECTED] Subject: Silent execution of targets

Re: Silent execution of targets

2001-12-05 Thread Erik Hatcher
The short answer - no, there isn't an option on target to silence it unless there is an error. You could write your own custom BuildLogger to do this rather easily though - just have a look at DefaultLogger in Ant's source code. Then use the -logger command-line switch to use a custom one.

copy task with excludes

2001-12-05 Thread Anthony Rodriguez
Here is some of my build.xml file: !-- Copying java to cabinet -- copy todir=${noc}\${label}\java fileset dir=${stage.trustlib} excludes=test/**/ /copy copy todir=${noc}\${label}\daemons\code fileset dir=${stage.trustlib} excludes=test/**/ /copy !-- Copying

tomcat configuration error

2001-12-05 Thread gaurang khatri
hello all, I am gaurang. I am new to this group. I am trying to configure tomcat 3.2.4. My JAVA_HOME is c:\jdk1.3.1_01 and TOMCAT_HOME is tomcat-3.2.1. I have set JAVA_HOME and TOMCAT_HOME in tomcat.bat. Now when I am trying to run tomcat start or startup from the bin directory of tomcat, I am

RE: Silent execution of targets

2001-12-05 Thread David Blevins
Hi Erik, You'll have to excuse my second post. It seems my procmail script was a bit buggy, so didn't get your first (or second) reply. I checked the ant-user logs and found your replies. Thanks for the information, I appreciate it. The -quiet option works pretty slick. I'm definitely

FW: Quoting issue

2001-12-05 Thread Ed Mangual
After changing my nshome to c\:/Progra~1/Netscape/Users/default and property name=nscert value=quot;S1 Corpapos;s VeriSign, Inc. IDquot;/ I get a little further but I get the following error: BUILD FAILED [echo] Building Applet Bridge... [exec] Current OS is Windows NT [exec]

RE: Quoting issue

2001-12-05 Thread Ed Mangual
Thanks Frank Tried the following, but still got the same error as in my prior email. exec dir=${afi.packaging.work} executable=signtool failonerror=true arg value=-d${nshome}/ arg value=-c9/ arg value=-k${nscert}/ arg value=--verbosity -1/ arg value=-Z ${archive}.jar/

Re: Silent execution of targets

2001-12-05 Thread Steve Loughran
There is ant -quiet I suppose, but that applies to a whole build. - Original Message - From: David Blevins [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 4:30 PM Subject: RE: Silent execution of targets All, I'm curious as to why my

Re: tomcat configuration error

2001-12-05 Thread Steve Loughran
1. wrong group. This is the ant user group, not the tomcat one. 2. do you think there is any correlation between the message only DOS 8.3 names may be used in TOMCAT_HOME! and this fact TOMCAT_HOME is tomcat-3.2.1. - Original Message - From: gaurang khatri [EMAIL PROTECTED] To: