Re: how do I turn a path element into a property?

2001-02-15 Thread Stefan Bodewig
Werner Guttmann [EMAIL PROTECTED] wrote: On this subject (well, not exactly, but close enough .. ;-)), is there a way that this class reference could me made available to more than one project, Apart from including an XML snippet (see FAQ) the answer is no, I'm afraid. Stefan

help me

2001-02-15 Thread Bala Subramanian
Title: I am using ant tool right now .I want to run junit program by using ant tool .I know it is possible to use the junit Am i correct , if not correct me .I need snippet code to run the junit code .Expecting reply from one of the guys around the world . Thx Bala

Re: Location of the output of the Junit task

2001-02-15 Thread JYOTI GAWALI
Hi , I'm trying to use the FTP task. The OS is windows NT. Though the build is successful, it is giving me 0 files retrieved. Any clues ?? Regards, Jyoti

Re: How to specify the location of the compiler ?

2001-02-15 Thread Peter Donald
Hi, I haven't followed all this thread but there was talk a while ago of adopting a CONS like dependency system for built files. For each variable that was involved in dependency build it would be added to a stream that would then have a hash calculated. Thus if any variable changed between

Ant 1.3 Beta 2 Available

2001-02-15 Thread Conor MacNeill
Ant 1.3, Beta 2 is now available for download and test. You can download the various components from here http://jakarta.apache.org/builds/ant/release/v1.3-b2/ The major changes from the first beta are the reorganization and updating of the documentation and a number of bug fixes. This build is

1.3beta2 property

2001-02-15 Thread Frank Chang
Title: 1.3beta2 property Hi all, The task property environment=abc/ does not seem to work with 1.3beta2 in my build environment. I cannot access any of the environment variables e.g. ${abc.PATH}. Has anyone experience this with 1.3b2?

RE: ejbjar in Ant 1.3

2001-02-15 Thread Jeff Davies
You timing is impeccable Conor. Next week I will be migrating our beans from WLS 5.1 to 6.0. I elaready have Ant scripts written, so I should be able to give the ejbjar task a good test! Thanks for getting to ready for WLS 6. - Jeff -Original Message- From: Conor MacNeill [mailto:[EMAIL

only java development

2001-02-15 Thread Doug Moore
Title: only java development I just heard about ant and have been browsing the ant-user and it seems like alot of development is java. As I understand ant it is a replacement for make systems. So ant should handle c,c++ development. Is that correct? Does anyone have an opinion or experience

Ant Java 2 security policy file

2001-02-15 Thread Xavier Witdouck
Title: Hi,We are having a problem doing a find and replace in a Java 2 security policy file using Ant. An extract of the target file is as follows:grant codeBase "file:%WEBLOGIC_HOME%/-" { permission java.io.FilePermission "${/}usr${/}local${/}weblogic${/}-", "read,write,delete,execute";

Problem in FTP on WINNT OS.

2001-02-15 Thread JYOTI GAWALI
Hi, I'm trying to FTP files and directories. The build is successful but 0 files are retrieved. Any clues I have pasted the xml code below. Regards, Jyoti. ?xml version="1.0"? project name="Ant" default="main" basedir="." !-- Give user a chance to override without editing this

Getting a list of files

2001-02-15 Thread Marlon Pearson
I'm running ant1.2 and trying to get it to compile a set of jsp files. The jsp files are scattered under a directory hierarchy and I'm using the jsp compiler that is part of BEA's weblogic product. The solaris command line for this task would look something like % java weblogic.jspc

jikes and Ant vs. javac 1.3

2001-02-15 Thread Liu, Kenneth Albert (Kenneth)** CTR **
Hi folks - I was thinking about switching to jikes for my builds. My team is currently using jdk1.3 (javac). I was wondering if anyone knew of any potential pitfalls I can be aware of (either with Ant or jikes itself) before making the switch. Also, besides the speed increase, what else can I

RE: jikes and Ant vs. javac 1.3

2001-02-15 Thread Hadi Abedi
I used jikes to compile 553 files and i had no problem with it. Our code has been runing on the production site for the past month and we have had no problem. Hadi. -Original Message- From: Liu, Kenneth Albert (Kenneth)** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15,

Re: Passing multiple files to java task

2001-02-15 Thread Nico Seessle
- Original Message - From: "Stefan Lecho" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 15, 2001 11:06 AM Subject: Passing multiple files to java task In my build file I want to execute a java program, which takes exactly one parameter, a couple of times. The files

RE: jikes and Ant vs. javac 1.3

2001-02-15 Thread Gollapudi, Amit
Title: RE: jikes and Ant vs. javac 1.3 A potential problem that may or may not impact you is Jikes's integration with JPDA. If you compile your code with Jikes, you will not be able to debug your code using JPDA-compatible debuggers. In general, if you use debuggers, Jikes has been known to

RE: ejbjar in Ant 1.3

2001-02-15 Thread Higginbotham, James
Conor, I have upgraded to the new Beta 2 jar and made some minor changes to my build.xml file to support your new ejbjar options. I love what you changed, it works so much better. I was having some problems that I hoped would be fixed, but are not. This is leading me to believe it may be an

XSL Link from the ant-generated XML

2001-02-15 Thread St. Dennis, Patrick O (MED)
Hello, I'm working on making nice reports from XML generated by ANT in conjunction with JUnit. I looked at the XML that's generated however, and there's no link to an XSL stylesheet. Is there anything I can do in the configuration to change this short of re-writing the formatter classes? I

zips created on Win2K have incorrect permissions when unzipped on Linux

2001-02-15 Thread John Gerken
Hi all, I'm seeing some odd behavior regarding the ant 1.2 zip directive and I was hoping someone could give me a hand. If I create a zip file while building with Ant 1.2 on my Win2K machine and then ftp that zip to a Linux box and unzip it, the permissions of the resulting directories are 644

javadoc error

2001-02-15 Thread Frank Chang
Title: javadoc error Hi all, Our javadoc task used to work with Ant 1.2, but it is not working in the new 1.3b1 or 1.3b2. Any ideas? The javadoc command generated by Ant seems to be incorrect. Thanks in advance! -- code -- target depends=prepare name=javadoc javadoc

Java task and native library path

2001-02-15 Thread Yannick Le Duc
Hi, I want to use Ant to compile and run Java/JNI code. And I have a problem when I want to set the java.libray.path. I use for this e-mail Windows syntax/terminology. Let's say we have : myLibraryPath is my dymamic library path (where the ClassLoader should be able to load the dll). To be

creating empty jars ...

2001-02-15 Thread G.L. Grobe
Recently I received a response of the following: jar jarfile="web(jars/images.jar" basedir="${images}" includes="*"/ which I don't understand the parenthesis after web in jarfile, and as I've already tried the includes as shown above, this still does not work for my problem explained

RE: jikes and Ant vs. javac 1.3

2001-02-15 Thread Liu, Kenneth Albert (Kenneth)** CTR **
Title: RE: jikes and Ant vs. javac 1.3 That's a big one, thanks. Perhaps I just need to figure out a way to structure my build script so that I can easily switch between Jikes and Javac. Does anyone have any insight on this? Ken -Original Message-From: Gollapudi, Amit

RE: Vss Get

2001-02-15 Thread Liu, Kenneth Albert (Kenneth)** CTR **
I know there have been some patches put in to VSSGET since Ant v1.2. Try out 1.3beta-2, you might have better luck. Ken -Original Message-From: Saket Raizada [mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 13, 2001 7:50 PMTo: '[EMAIL PROTECTED]'Subject: Vss Get

RE: Reaction to a failed task

2001-02-15 Thread Liu, Kenneth Albert (Kenneth)** CTR **
You could call ant from a script and then check the return code. I'm doing this in my project right now. Ken -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 1:05 PM To: Ant-User (E-mail) Subject: Reaction to a failed task Hi

RE: creating empty jars ...

2001-02-15 Thread Steve . Deridder
This is what I use for creating a webcontent jar. (Changed for your content) property name="images" value="web/images" / jar jarfile="web/jar/images.jar" basedir="${images}" includes="**" / OR If you want the images dir in the jar (images/*.gif) change to: property

RE: Reaction to a failed task

2001-02-15 Thread Steve . Deridder
I do that also from dos (bat files) . call ant.bat wlrun echo wlrun: %ERRRORLEVEL% . . 0 - Good 1 - Bad HTH steve -Original Message- From: Liu, Kenneth Albert (Kenneth)** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 5:49 PM To: [EMAIL PROTECTED] Subject: RE:

Re: creating empty jars ...

2001-02-15 Thread G.L. Grobe
This is nuts, ant is not executing this jar file. I've got both jars being created in a target and it only builds one jar, and not the other no matter what order their placed in. I've been using ant for over a year now, but it will not build this one simple jar. The files are there, the dirs are

Re: creating empty jars ...

2001-02-15 Thread G.L. Grobe
I don't put webdir under WEB-INF because that's not the way web apps are deployed according to the 2.2 servlet specs. I don't believe you can access anything directly under WEB-INF, which is why I place jars, gifs, etc outside of this dir, just static content stuff. Besides, it should work no

RE: creating empty jars ...

2001-02-15 Thread Steve Wilkinson
I don't put webdir under WEB-INF because that's not the way web apps are deployed according to the 2.2 servlet specs. Oh Really? My spec reads in Section 9.4 on page 44 The contents of the WEB-INF directory are: - WEB-INF/web.xml deployment descriptor - WEB-INF/classes/* servlets and

RE: creating empty jars ...

2001-02-15 Thread Conor MacNeill
Can you run it with ant -debug to see what ant is doing and why it might be deciding to do nothing. Conor -Original Message- From: G.L. Grobe [mailto:[EMAIL PROTECTED]] Sent: Friday, 16 February 2001 13:46 To: [EMAIL PROTECTED] Subject: Re: creating empty jars ... I don't put

RE: creating empty jars ...

2001-02-15 Thread Conor MacNeill
Gary, If you are in a position to try the 1.3 Beta, and you run it in verbose mode, it should give a whole stack of output about how it is constructing the jar. If so, can you then send us the output. Thanks Conor -Original Message- From: G.L. Grobe [mailto:[EMAIL PROTECTED]] Sent:

RE: jikes and Ant vs. javac 1.3

2001-02-15 Thread Peter Donald
At 02:41 15/2/01 -0500, Jay Glanville wrote: Interestingly, I've found (my non-official and non-quantitative analysis opinion) that javac from 1.3 is comparable, if not better (sacrilege!!) then jikes. Jikes CERTAINLY outperforms javac from 1.1.x and 1.2.x, but I believe that the javac from 1.3

Re: Getting a list of files

2001-02-15 Thread Stefan Bodewig
Marlon Pearson [EMAIL PROTECTED] wrote: I could use exec but I'd like to see if there is a more generic way of doing this. Any suggestions are appreciated. execon or apply (1.3 only) would probably be the better candidates. And I hope that we will have javaon or similar in whatever comes after

Re: zips created on Win2K have incorrect permissions when unzipped on Linux

2001-02-15 Thread Stefan Bodewig
John Gerken [EMAIL PROTECTED] wrote: If I create a zip file while building with Ant 1.2 on my Win2K machine and then ftp that zip to a Linux box and unzip it, the permissions of the resulting directories are 644 Same holds true for me as well - when creating the ZIP file on Linux using IBM's

Re: javadoc error

2001-02-15 Thread Nico Seessle
Title: javadoc error From: Frank Chang To: [EMAIL PROTECTED] Sent: Friday, February 16, 2001 12:40 AM Subject: javadoc error Hi all, Our javadoc task used to work with Ant 1.2, but it is not working in the new 1.3b1 or 1.3b2. Any ideas? The javadoc command