BUG: ant 1.4.1 startup script on cygwin

2002-02-20 Thread Jeppe N. Madsen
Hi, I believe there's a bug in the ant startup script when running under cygwin: The CLASSPATH env var is never switched to windows format before running ant. Since sub tasks that spawn new processes (i.e. antlr) inherits the CLASSPATH and doesn't use the LOCALCLASSPATH passed to java, they'll

how f@#! install genjar

2002-02-20 Thread Paolo Miola
Anybody here know how f@#! install genjar ? please ! p. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: how f@#! install genjar

2002-02-20 Thread Stefan Bodewig
On Wed, 20 Feb 2002, Paolo Miola [EMAIL PROTECTED] wrote: Anybody here know how f@#! install genjar ? Please go here http://jakarta.apache.org/ant/external.html and read the second paragraph, after that go here http://www.riggshill.com/projects/genjar/, scroll down the page and locate the very

Re: BUG: ant 1.4.1 startup script on cygwin

2002-02-20 Thread Stefan Bodewig
On 20 Feb 2002, Jeppe N. Madsen [EMAIL PROTECTED] wrote: I believe there's a bug in the ant startup script when running under cygwin: I don't use Cygwin, but I think you are right - committed. Thanks Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: how f@#! install genjar

2002-02-20 Thread Paolo Miola
ok mate thanks! - Original Message - From: Stefan Bodewig [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 20, 2002 1:18 PM Subject: Re: how f@#! install genjar On Wed, 20 Feb 2002, Paolo Miola [EMAIL PROTECTED] wrote: Anybody here know how f@#! install genjar ?

ejbjar task and manifest.mf

2002-02-20 Thread Dowd, Brian
HI, I am currently attempting to construct an EAR, and as part of this I need to make all of my contained WARs and EJB jars MANIFEST.MF files contain a Class-Path: a.jar b.jar c.jar line, this is easy to achieve in the ear task and the war task however I could not find any way to do this in

propertyfile use cases request

2002-02-20 Thread Erik Hatcher
I'm knee-deep in refactoring propertyfile to actually work in as many cases as I can envision. It has been in several states of disrepair in the past and I'm trying to fix it so that entry defaults and operations all work as expected. There is some odd code in there that allows operations

pathconvert example...

2002-02-20 Thread Ken Gentle
FWIW, I did get pathconvert to address my immediate need although a few gyrations were required. I plan to get a much simpler method in place going forward - suggestions or examples welcome! At the risk of broadcasting my ignorance of Ant idioms, attached is a build descriptor that has the

Invoking Tomcat

2002-02-20 Thread dnc
Hi, Is it possible for Ant to shutdown Tomcat if it is already running, build my web archive and after deploying it to start Tomcat up again if the build is sucessful? This would save me typing: shutdown build startup every time I want to run my web app. D. Clarkson -- To unsubscribe,

ftp task Create Directory Error

2002-02-20 Thread Ryan
Hi all, I am having difficulties with the ftp task, used to update a site's contents. When It checks file dates, any files in subfolders that need to be updated will cause the build to terminate as it is trying to create the directory the file is already in. File updating works fine in the root

RE: propertyfile use cases request

2002-02-20 Thread Phil Surette
I use propertyfile but none of the funky stuff you're worrying about. However, if you're interested in feature requests ;) - it would be very nice if propertyfile would preserve comments etc. This is already mentioned in the task documentation as a nice-to-have. I've looked around the web and

RE: Invoking Tomcat

2002-02-20 Thread John Burgess
I use target name=deploy ... war warfile=${warname}.war webxml=WEB-INF/web.xml classes.. / lib ... / fileset ..jsps../ /war /target target name=test depends=deploy exec dir=${tchome}\bin vmlauncher=false executable=shutdown.bat/ delete dir=${tchome}\webapps\${warname} /

Strange Problem

2002-02-20 Thread Esteban Gonzalez
Hi, I´ve just installed ant 1.4.1, did everything that says on the manual.. got the build.xml file working neatly for some time, until I tried to use another target.. doing [egonzalez@actest egonzalez]$ ant Searching for build.xml ... Buildfile: /home/egonzalez/build.xml init: compile: BUILD

Re: Strange Problem

2002-02-20 Thread Stefan Bodewig
On Wed, 20 Feb 2002, Esteban Gonzalez [EMAIL PROTECTED] wrote: Hi, I´ve just installed ant 1.4.1, did everything that says on the manual.. got the build.xml file working neatly for some time, until I tried to use another target.. doing [egonzalez@actest egonzalez]$ ant Searching for

Re: Strange Problem

2002-02-20 Thread Esteban Gonzalez
[egonzalez@actest egonzalez]$ which ant /opt/ant1.4/bin/ant I´ve reset everything, PATH, CLASSPATH, and all alias.. and now it´s working properly... I´ll check if it´s an alias somewhere on the rc files... it´s probably that.. Thanks a lot! Esteban - Original Message - From: Stefan

RE: Strange Problem

2002-02-20 Thread Atluri, Vamsi NYC
I just tried something out - when you use the -buildfile option make sure it is in lowercase I noticed your command line said -buildFile also the -debug option could be useful -Original Message- From: Esteban Gonzalez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:55

RE: Invoking Tomcat

2002-02-20 Thread dnc
That looks like a good idea and I tried it: target name=deploy-war depends=concepweb-war delete dir=${tomcat.home}/webapps/ConcepWeb / copy file=${build.classes.dir}/ConcepWeb.war todir=${tomcat.home}/webapps / /target target name=test depends=deploy-war exec dir=${tomcat.home}/bin

RE: ejbjar task and manifest.mf

2002-02-20 Thread Eddie Bernard
Brian- There are several threads very recently about this (one of which I started several months ago): http://marc.theaimsgroup.com/?l=ant-userm=101114295329626w=2 What I ended up doing is creating a template manifest file and use it in all of my EJBs and enterprise archives. Here's a snippet

Re: Script task, listing of available objects

2002-02-20 Thread Dylan Schiemann
In my not so infinite wisdom, I posted the wrong uri... it should have listed it as http://www.sitepen.com/ant/javascript.html --- Dylan Schiemann [EMAIL PROTECTED] wrote: I have placed a first draft of my learning about JavaScript in Ant at http://www.sitepen.com/javascript.html It is a

RE: ejbjar task and manifest.mf

2002-02-20 Thread Dowd, Brian
Thanks for that Eddie, I was actually doing as you say (at least for all of the WARS and the EAR), ultimately my problem was that the EJBJAR task documentation does not actually specify that it supports the manifest element in any way . Although I eventually did just try it anyway.

Re: Invoking Tomcat

2002-02-20 Thread Steve Loughran
- Original Message - From: John Burgess [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Wednesday, February 20, 2002 07:58 Subject: RE: Invoking Tomcat I use target name=deploy ... war warfile=${warname}.war webxml=WEB-INF/web.xml classes.. / lib ... / fileset

Hot Deploying EJBs on Weblogic 6.1

2002-02-20 Thread Ajay Chitre
Hello, Has anyone developed an Ant task that runs weblogic.deploy program? If nobody has then I would like to, but unfortunately, I can't get weblogic.deploy program to hot deploy EJBs. Please help... After reading the Weblogic documentation at

RE: Hot Deploying EJBs on Weblogic 6.1

2002-02-20 Thread Paul Cody
Hot deploy is a 'development mode' setting. Make sure you have set this by -Dweblogic.ProductionModeEnabled=false In that instance you do not need to use the weblogic.deploy utility, just copy your deployable to the $WLHOME/config/mydomain/applications directory. As this is not really an ant

Re: Hot Deploying EJBs on Weblogic 6.1

2002-02-20 Thread Jeff Sahol
We use the FTP task to hot deploy. Ajay Chitre wrote: Hello, Has anyone developed an Ant task that runs weblogic.deploy program? If nobody has then I would like to, but unfortunately, I can't get weblogic.deploy program to hot deploy EJBs. Please help... After reading the Weblogic

RE: Hot Deploying EJBs on Weblogic 6.1

2002-02-20 Thread Ajay Chitre
1) Yes, ProductionModeEnabled is set to 'false'. 2) Just copying the deployable jar to /applications doesn't work for me either. 3) I apologize for asking Weblogic related question on Ant user list. But I strongly believe that there are enough Weblogic experts on this mailing list who could

RE: Hot Deploying EJBs on Weblogic 6.1

2002-02-20 Thread Eddie Bernard
I've been successful with the following: java classname=weblogic.deploy classpath=${wls.classpath} fork=yes arg line=-host ${weblogic.host} -port ${weblogic.port} update ${we blogic.password} opel ${opel.release}/${opel.ear}/ /java This

Policies/Suggestions on adding attributes...

2002-02-20 Thread Michael J McGonagle
Hello all, I was wondering if there is a policy regarding adding attributes to tags in an Ant build.xml file. Basically, I would like to add some attributes for use with my program. I have done some tests and it seems that Ant really doesn't care about the additional attributes. Are there any

genkey deprecation error

2002-02-20 Thread BHechanova
Hi, I'm trying to use the genkey task to create a keystore, but I'm getting a deprecation error and I'm unsure why. The task is set up as follows: target name=createkeystore depends=init genkey alias=${name} storepass=${password} keystore=${keystore.name}

Ant task to run Tomcat manager. install WAR / start / stop etc

2002-02-20 Thread ross illingworth
hi, I searched the mail archives for an Ant task to manage Tomcat ... before Christopher Taylor posted his. As I spent some(small) effort in creating this, and seem to have followed a different path, I thought I might still see if anyone has an interest.

Re: Policies/Suggestions on adding attributes...

2002-02-20 Thread Erik Hatcher
Can you be more explicit with what you're after? Are you speaking about adding setters to existing tasks? Which ones? Erik - Original Message - From: Michael J McGonagle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 20, 2002 5:31 PM Subject: Policies/Suggestions

Re: Policies/Suggestions on adding attributes...

2002-02-20 Thread Michael J McGonagle
Erik Hatcher wrote: Can you be more explicit with what you're after? Actually, I have been thinking about this a little bit more and it is probably better for me to just set the properties that I want to add as a property within the build file. These are things that are additional project

Re: genkey deprecation error

2002-02-20 Thread Steve Loughran
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 20, 2002 14:38 Subject: genkey deprecation error Hi, I'm trying to use the genkey task to create a keystore, but I'm getting a deprecation error and I'm unsure why. The task is set up as

Re: Policies/Suggestions on adding attributes...

2002-02-20 Thread Erik Hatcher
You're still speaking in riddles, at least to me, but feel free to come back with more specifics if/when you're ready. :) I'm assuming you're speaking of creating custom Ant tasks (mapped to the XML file). Erik - Original Message - From: Michael J McGonagle [EMAIL PROTECTED] To:

Re: can I use a fileset with signjar task?

2002-02-20 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: But I don't see fileset as a parameter You can use a nested fileset -- it just didn't get documented until after the release. Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002

Does the project tag have an equivalent of failOnError attribute?

2002-02-20 Thread Ryali, Ravi
Hi, As a part of building our application using ANT, I delete some jars from directories, then compile my source files, jar them and copy the new JARs to the same directories. But when my build fails, I want to retain the older JAR files so that my testing team has at least the old version to

RE: can I use a fileset with signjar task?

2002-02-20 Thread BHechanova
I'm having a problem using the fileset. It doesn't seem to be picking up my directory correctly. I'm very new to Ant, but I think I am following everything correctly. I see that the FileSet output is setting up for the correct directory. But the command that is actually doing the jarsigner

JDK1.4 and Ant1.4.1 can't find javac on Solaris 8

2002-02-20 Thread stephen.chambers
I have already seen this problem on the list before, but this time it seems to be caused by something else. After installing jdk1.4 and Ant 1.4.1 in order to run an application with a large buildfile, I got these errors. ++ Buildfile: build.xml init: converter:

RE: JDK1.4 and Ant1.4.1 can't find javac on Solaris 8

2002-02-20 Thread Sujan Digumarti
You need to check the the /usr/java directory. It could be a symbolic link to another directory. Give the actual directory in the classpath. Cheers, Sujan -Original Message- From: stephen.chambers [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 9:03 AM To: [EMAIL PROTECTED]