Re: ANT on CD

2002-08-30 Thread Nicola Ken Barozzi
Diane Holt wrote: --- Brian Kreider [EMAIL PROTECTED] wrote: To do this, I would need to find a pressed CD of the software. I know it seems silly to want to pay for a free product, but the government is picky about these things. We had to do this with MySql as well. So if you could let me

SV: ANT on CD

2002-08-30 Thread Christian Holmqvist, IT, Posten
It is called JBuilder 6. or IntelliJ IDEA, which is a better value distro, IMO. Intellij IDEA can not be bought on CD, it is only delivered over the net. The only thing I can think is that ANT might be boundled with one of the Linux installations, then either a developers edition or a

RES: UNABLE TO RUN ANT WHEN USING WIN98

2002-08-30 Thread Gilson Nascimento D Elrei
Hi, Modify your config.sys file, include this line below: SHELL=%COMSPEC% /E:8192 /P cheers, GILSON - Mensagem original - De: Sharif Sharif M [SMTP:[EMAIL PROTECTED]] Enviada em: quinta-feira, 29 de agosto de 2002 22:22 Para: [EMAIL PROTECTED] Assunto:

init target

2002-08-30 Thread Jochen Wiedmann
Hi, when working with custom tasks, but also in general, I frequently find myself doing things like this: target name=init/ target name=t1 depends=init/ target name=t2 depends=init,t1/ target name=t3 depends=init,t1/ target name=t4 depends=init/ target name=t5

ANT1.5 + Websphere4.0

2002-08-30 Thread r abiram
Hi, We are Developing our application with ANT 1.5 using Websphere5.0 can U give me the URL where I have serious query hope U wont mind to give me better solution Iam using ANT 1.5 with Websphere 4.0 for the EAR Task and have written the build file as per given below with refrence to the

Re: zipping a single file

2002-08-30 Thread Andrew van Renen
Thanks for the response (I have found this newsgroup as a whole to be very responsive and community-minded). It raises two questions for me: 1. I obviously don't fully understand the 'includes' attribute: the manual says ...list of patterns of files - does that mean then that it acts only as

ant-contrib: build errors

2002-08-30 Thread Tyler
I'm posting this here because i didn't see any other contact info for the ant-contrib folks, and the bugs opened via the sf.net project page are all old, so i thought i'd give this list a try. The current version of ForEach.java in CVS is broken. When i try to build it, i get these errors:

ant-contrib: repeated task definition

2002-08-30 Thread Tyler
So using the weirdly-built ant-contrib.jar i described in my last post, i'm getting task redefinition warnings like this: Buildfile: build.xml extract: Trying to override old definition of task propertycopy Trying to override old definition of task foreach Trying to override old definition of

java.lang.NullPointerException with EAR ANT 1.5

2002-08-30 Thread r abiram
Hi All The Error Output for my build file is as shown below I need to avoid this error any suggestions BUILD FAILED java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:320) at org.apache.tools.ant.taskdefs.optional.ejb.DescriptorHandler.resolveE

manipulating property names

2002-08-30 Thread Shah, Lokesh
Hi, How can I do something like this? E.g. property name=a value=test/ property name=btest value=somevalue/ echo message=${b${a}}/ This should echo: somevalue Regards, Lokesh

Using the script task

2002-08-30 Thread Shah, Lokesh
Hi, I am using the script task to extract the name of a file from the path. project default=doNightlyBuild name=projname . . . script language=javascript ![CDATA[ file = new java.io.File(projname.getProperty(nightlyLog)); projname.setUserProperty(nightlyLogFile,

Re: zipping a single file

2002-08-30 Thread Andrew van Renen
So does that mean that I would have to pull down the latest code from CVS before I could use it? Is that change going to go into the next release of Ant (or are there all sorts of bits and pieces that never get out of CVS)? It also implies that my understanding of the 'includes' attribute is

case inconsistencies on Windows file names

2002-08-30 Thread Andrew van Renen
I ran into an inconsistency with the way case in file names is handled. I had a file with an uppercase suffix (foo.XML), but in my build file I refered to it as foo.xml. I used zip to back it up, and then delete to remove it. The zip task could not find it, but the delete/available tasks

RE: manipulating property names

2002-08-30 Thread Dominique Devienne
Use propertycopy. Search for it in the archives, referenced on the Ant web site. --DD -Original Message- From: Shah, Lokesh [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:27 AM To: [EMAIL PROTECTED] Subject: manipulating property names Hi, How can I do something like

Questions on optional ant tasks, FTP and TELNET

2002-08-30 Thread Barry Lulas
I am trying to use some of the ant tasks in netcomponents.jar, specifically, the telnet and ftp tasks. I have a couple of questions: FTP - I have some .jar files in a temporary directory that I wish to FTP to a Unix server. However, I need to append a version string at the

RE: init target

2002-08-30 Thread Dominique Devienne
No. init used to be a 'magic' target I heard, but it was changed, and the mindset is pretty much against magic targets... but don't worry, you'll soon be able to put any task in the top-level (directly under project instead of inside a target), so you'll have the same effect in a more natural

build fails when running from visual age

2002-08-30 Thread Agrawal, Rajeev
Hi I am a new bie to ant and am trying to export projects from visual age. However, everytime I execute a task I always get Build Failed. Here is the error: export: [vajexport] Exporting 6 package(s) to E:\riskquest\radev\src BUILD FAILED Total time: 0 seconds The error is pretty

Re: Checkstyle task ?

2002-08-30 Thread Struts
Can you post the checkstyle to me? Thanks - Original Message - From: Nick Pellow [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 5:38 PM Subject: AW: Checkstyle task ? Hi, Checkstyle task works fine for me with and without the

[Fwd: Resolved Thanks]

2002-08-30 Thread Joyce Li
I am not aware of a serverdeploy task for websphere. Forwarding your question to Ant user mailing list. Joyce ---BeginMessage--- Hi, Thanks for the Reply I have resolved my ejbtask problems I want to know one more info As we require ServerDeploy with Websphere4.0 As such in the doccument

Dependency handling (was RE: init target)

2002-08-30 Thread Paul Christmann
target name=init/ target name=t1 depends=init/ target name=t2 depends=t1/ versus target name=init/ target name=t1 depends=init/ target name=t2 depends=init,t1/ Is there actually any difference in the way ant will process these dependencies? They appear to be

RE: Checkstyle task ?

2002-08-30 Thread Dominique Devienne
Here's mine, which doesn't require you to have the chechstyle jar in the $ANT_HOME/lib. One you run it though, you might be worried by the number of warnings you'll get ;-) --DD !-- Builds a web page of all the coding errors. --

RE: Dependency handling (was RE: init target)

2002-08-30 Thread Dominique Devienne
I'd say no difference whatsoever, and it's more a personal style issue, where you want to balance being explicit and/or being concise. The former approach must just make the static analysis of the dependency graph a pico-second faster to have fewer dependencies... Your approach seems the right

Re: Dependency handling (was RE: init target)

2002-08-30 Thread Conor MacNeill
Paul Christmann wrote: target name=init/ target name=t1 depends=init/ target name=t2 depends=t1/ versus target name=init/ target name=t1 depends=init/ target name=t2 depends=init,t1/ Is there actually any difference in the way ant will process these

Re: RES: UNABLE TO RUN ANT WHEN USING WIN98

2002-08-30 Thread Sharif Sharif M
Thank you Gilson. It works fine now but i do have this error when i run simple ant -version command. C:\ant -version Bad command or file name Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/ Main From: Gilson Nascimento D Elrei [EMAIL PROTECTED] Reply-To: Ant

RE: build fails when running from visual age

2002-08-30 Thread Agrawal, Rajeev
project name=MyProject default=dist basedir=e:\riskquest\radev\ description simple example build file /description !-- set global properties for this build -- property name=src location=src/ target name=export description=export vajexport destdir=${src}

Re: zipping a single file

2002-08-30 Thread Erik Hatcher
Andrew van Renen wrote: 1. I obviously don't fully understand the 'includes' attribute: the manual says ...list of patterns of files - does that mean then that it acts only as a filter and so requires further definitions with include/exclude elements? includes/excludes attributes are

Automated source config model?

2002-08-30 Thread Matt Lyon
Hi, I recently migrated our shop from VSS to CVS. We currently have two projects that exist on branches in our CVS repository and share a common platform code base which exists on the main code line. I have been tasked with investigating and implementing a solution for allowing developers to

Re: UNABLE TO RUN ANT WHEN USING WIN98

2002-08-30 Thread Struts
you can set java_home varibles like C:\j2sdk1.4.0_01\bin and you input command in cmd: ant -version you can see this message: D:\jakarta-ant-1.5\binant -version Apache Ant version 1.5 compiled on July 9 2002 - Original Message - From: Sharif Sharif M [EMAIL PROTECTED]

Re: zipping a single file

2002-08-30 Thread Diane Holt
--- Erik Hatcher [EMAIL PROTECTED] wrote: 2. 'CVS version of Ant' - so not part of the 1.5 build then. Is it going to be a part of the next release, [...] Yes, it will be part of the next release version of Ant, but do not hold your breath. It was almost a year between the releases of

RE: ANT on CD

2002-08-30 Thread suu_quan
Kevin you beat me to it. I got similar idea for a response. Good laugh but sad to see all that $$$ drained dwn the $25,000 toilet. Suu Quan Configuration Management Release Engineering Agilent Technologies Bldg 53, Post F4 (408)553-4338 (untill further notice) Bldg 54, Post P4 (408)553-7155

Re: ANT on CD

2002-08-30 Thread Nicola Ken Barozzi
[EMAIL PROTECTED] wrote: Kevin you beat me to it. I got similar idea for a response. Good laugh but sad to see all that $$$ drained dwn the $25,000 toilet. It's a /dirty/ work, but someone's gotta do it =;-) -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent:

Re: case inconsistencies on Windows file names

2002-08-30 Thread Diane Holt
--- Andrew van Renen [EMAIL PROTECTED] wrote: I ran into an inconsistency with the way case in file names is handled. I had a file with an uppercase suffix (foo.XML), but in my build file I refered to it as foo.xml. fileset has a 'casesensitive' attribute you can use to turn off

RE: zipping a single file

2002-08-30 Thread Dominique Devienne
I'm +1 for it to go in 1.5.1. --DD -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 10:30 AM To: Ant Users List Subject: Re: zipping a single file --- Erik Hatcher [EMAIL PROTECTED] wrote: 2. 'CVS version of Ant' - so not part of the 1.5

Re: Using the script task

2002-08-30 Thread Diane Holt
--- Shah, Lokesh [EMAIL PROTECTED] wrote: I am using the script task to extract the name of a file from the path. If you're running Ant1.5, you can use basename to do this, and avoid the script. What if my project name has blank spaces in it e.g. project default=doNightlyBuild name=Project

taskdef doesn't see class in provided classpathref

2002-08-30 Thread otisg
Hello, I am using Ant 1.5 and trying to use a custom task (Checkstyle). However I am getting an error: BUILD FAILED file:/home/otis/wgen/cvs/mclass/javaserver/build/build.xml:105: Could not create task of type: checkstyle due to java.lang.NoClassDefFoundError:

weblogic, classpath, and wlclasspath

2002-08-30 Thread Donal Quinlan
Hi, I'm using Ant 1.4.1 and attempting to use the weblogic task. I get warnings about the home and remote interfaces of a bean on the system classpath. According to the 1.4.1 javadoc I simply need to use wlclasspath to set the standard weblogic classes. But whenever I do this and run ant

RE: weblogic, classpath, and wlclasspath

2002-08-30 Thread Eddie Bernard
Donal- I had the same problem for the longest time using 1.4.1 and followed the same steps you took as well with no results. In the end, upgrading to 1.5 actually rectified the problem altogether as Conot et al made some significant changes (and improvements) in the behavior of the EJB tasks.

RE: weblogic, classpath, and wlclasspath

2002-08-30 Thread Kyle Adams
*WARNING - LONG EXPLANATION* After many hours spent wrestling with ejbjar, I think I've got a pretty good handle on how those nexted elements need to be set up. Here's what I've found: The various classpath attributes within ejbjar and its nested vendor-specific tags can be quite confusing.

RE: weblogic, classpath, and wlclasspath

2002-08-30 Thread Kyle Adams
One correction - the recap rules should read as follows: 1) The ejbjar classpath needs the full classpath, including super classes of the EJB's interfaces and weblogic classes. 2) The weblogic wlclasspath needs weblogic classes and helper classes (ie, those classes not explicitly declared in

Have you ever tried Jython with ANT?

2002-08-30 Thread Alexey Solofnenko
BSF says it does support neither jython nor python. What BSF should I use? - Alexey. __ http://trelony.cjb.net/ Alexey N. Solofnenko ICQ#: 15250318 Current ICQ status:

Modifying properties on the fly in custom task

2002-08-30 Thread Andres Valenciano
Hi. I am writing a Task that has as a child an exec task. In my execute method I am changing properties and calling the perform method on the exectask added, this done 1 or more times before my execute finishes. Now, the problem I am having is that the exectask is not getting the dynamically

RE: Have you ever tried Jython with ANT?

2002-08-30 Thread Steve Cohen
Alexey - I don't know exactly what you're trying to do and I don't know what BSF is, but it isn't hard to run jython from ant. I've done it. target name=metadata unless=metadata.Build.notRequired exec dir=${metadata.dir} executable=jython.bat arg value=st-xml.py /

Re: weblogic, classpath, and wlclasspath

2002-08-30 Thread Donal Quinlan
Thanks everybody for the replies. I think this issue has given me the ammunition I need to justify upgrading to 1.5. Donal - Original Message - From: Eddie Bernard [EMAIL PROTECTED] To: 'Ant Users List' [EMAIL PROTECTED] Sent: Friday, August 30, 2002 12:22 PM Subject: RE: weblogic,

RE: Automated source config model?

2002-08-30 Thread McHenry, Matt
I'm curious as to how others have faced this challenge using Ant and CVS in a production build environment. One thought I had was to investigate using the Ant-Contrib foreach task to iterate over a 'src.properties' file that would contain the ingredients, so to speak, that are passed to

RE: Have you ever tried Jython with ANT?

2002-08-30 Thread Alexey Solofnenko
I am doing it easier by executing (I added jython.jar into ANT's classpath): java classname=org.python.util.jython arg file=path/script.jy/ arg value=-update/ /java but I was hoping to use script task instead. - Alexey. -- { http://trelony.cjb.net/ } Alexey N. Solofnenko {

Re: Modifying properties on the fly in custom task

2002-08-30 Thread Erik Hatcher
Since you are embedding the exec task within your class, you are bypassing Ant's property expansion mechanism. I actually referred back to my book for the answer (why memorize the details when you can look them up easily?! :) p. 485: getProject().replaceProperties(someString) Use the