RE: InstallAnywhere?

2001-03-12 Thread Theo Harper
I am currently using InstallAnywhere Now! with Ant. Works okay, other than the free version does not allow you to invoke it in batch mode. There are some articles/knowledge base articles on the zerog.com site. Let me know if there's anything specified you'd like to know. Theo -Original Me

Re: why ant rebuild all java files every time?

2001-03-12 Thread Nico Seessle
- Original Message - From: "tig hanx" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 09, 2001 7:54 PM Subject: why ant rebuild all java files every time? > Every time I run ant, it will rebuild all the java > files. What is the problem? > You have probably included part

Re: Error: Build failed

2001-03-12 Thread Stefan Bodewig
Thuong Nguyen <[EMAIL PROTECTED]> wrote: > I'm trying to build a sample Enhydra project using Ant, but got the > following error: > > BUILD FAILED > > Feature: http://xml.org/sax/features/raw-names This is nothing Ant would normally create - I've never seen an error message like this. I guess

Re: Quote inside a quote

2001-03-12 Thread Stefan Bodewig
Dimitry Gupalo <[EMAIL PROTECTED]> wrote: > " should be " > " should be " Stefan

Re: Spaces in classpath

2001-03-12 Thread Stefan Bodewig
Stefán F. Stefánsson <[EMAIL PROTECTED]> wrote: > I've reported this as a bug in Ant 1.3, it didn't seem that this was > a bug in 1.2. fixed in CVS and nightly builds. Stefan

Re: relative filesets for execon?

2001-03-12 Thread Stefan Bodewig
Wilhelm Fitzpatrick <[EMAIL PROTECTED]> wrote: > So I'd like to be able to invoke the command as: > > warp arg arg rel/file/one.class rel/file/two.class ... > > But execon always does > > warp arg arg /abs/foo/rel/file/one.class /abs/foo/rel/file/two.class > ... Unfortunately implicitely add

Re: Finding file types in

2001-03-12 Thread Stefan Bodewig
David J. Iannucci <[EMAIL PROTECTED]> wrote: > So. if I want to write my buildfile so that it finds anything > in a subdirectory under it and builds those, recursively, without > hard-wiring the names, would you recommend something like the > following? > > > . > >

Re: IDE

2001-03-12 Thread Stefan Bodewig
Scott Carter <[EMAIL PROTECTED]> wrote: > I am trying to use ant to build with a IDE compiler. I've no idea, what an IDE compiler is, I'll assume you're talking about a different implementation of javac. > How can I do this? Write your own implementation of org.apache.tools.ant.taskdefs.comp

tool to output dependency in a tree hierarchy in html

2001-03-12 Thread Kim, Eugene H.
Title: tool to output dependency in a tree hierarchy in html Does anyone have java code that parses the build.xml and output the dependencies in some sort of tree hiearchy to an html file? this would be helpful for developers so that they can see all the dependencies in one shot, instead of ha

Problems with CLASSPATH

2001-03-12 Thread Larry Yates
Hi, I'm trying to compile with a classpath that I define at runtime, but the compile uses the environment CLASSPATH. The "Compilation args" show that the PATH I define is not used. What am I doing wrong? Here is the build.xml: Th

Re: Finding file types in

2001-03-12 Thread Peter Donald
At 10:19 12/3/01 -0700, David J Iannucci wrote: >So. if I want to write my buildfile so that it finds anything >in a subdirectory under it and builds those, recursively, without >hard-wiring the names, would you recommend something like the >following? I would recommend you not use a recursi

RE: cvs checkout from ant

2001-03-12 Thread Jim Moore
If you typed "cvs -d :pserver:sgrossma@ecdev03:/home/ecadmin/cvsroot checkout cpdev" on the command line, does it work fine? -Jim Moore "I think so, Brain; but if we gave peas a chance, won't the lima beans get jealous?" - Pinky -Original Message- From: Sadek, Fahim [mailto:[EMAIL PROTE

InstallAnywhere?

2001-03-12 Thread james
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone have any pointers or observations they would care to share w/regards to integrating Zerog's InstallAnywhere into an Ant build file? thanks, [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP Personal Privacy 6.5.8 iQA/AwUBOq1NqwXY

Re: cvs checkout from ant

2001-03-12 Thread Dror Harari
Error 267 means "Directory name is invalid" - is your ant_run.bat batch file properly set? /d - Original Message - From: "Sadek, Fahim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 12, 2001 10:16 PM Subject: cvs checkout from ant > Hi, > > I'm trying to run a cvs chec

Ant 1.3: Weblogic 5.1 JSP Compilation: Reg:

2001-03-12 Thread Venkatesan Chandrakandan
Title: Ant 1.3: Weblogic 5.1 JSP Compilation: Reg: Hi Avik/Michael, Thanks alot for posting some information on Weblogic JSP Compilation. I tried it and it works for files in only 1 sub-directory. That is, the target takes the very first subdirectory and checks to see if there are .jsp files

junit ant task doesn't produce output

2001-03-12 Thread Fred Loney
I have not been able to get the ant junit task to produce an output file. I have a trivial junit test: public class Test1 extends TestCase { public Test1(String name) { super(name); } public void testEmpty() { fail("failed"); } } called by the trivial ant task: with

Error: Build failed

2001-03-12 Thread Thuong Nguyen
I'm trying to build a sample Enhydra project using Ant, but got the following error: Enhydra$ ant Buildfile: build.xml BUILD FAILED Feature: http://xml.org/sax/features/raw-names Total time: 0 seconds Enhydra$ Not sure what's the reference to the xml.org URL means (it's an invalid URL, btw)

Need Helps.

2001-03-12 Thread selena su
Hi There: Is there anyone has came across this error ? " "could not invoke suite()", when i used the JUnit + Ant tools !. Eventhough i tried to run the samples program provided by ANT, this error still occured ? any ideas what is the coused ? ;-) thanks, begin:vcard n:selena;su tel;work

Quote inside a quote

2001-03-12 Thread Dimitry . Gupalo
Hi, I need to execute a command on Windows NT and the executable resides in a directory that has spaces in it. So, to run it from the command line I use quotes around the directory: "c:\win32app\marimba\Castanet Tuner"\runchannel I am using An

why ant rebuild all java files every time?

2001-03-12 Thread tig hanx
Every time I run ant, it will rebuild all the java files. What is the problem? thanks

conditional if statement

2001-03-12 Thread alan
Hello, Could you tell me if there is a way to execute a target, such that ${os.name}!="Windows NT"? The current if statement in a target can only be used if a property has been set, however, it does not allow the evaluation of a statment. Thanks, Alan

RE: Spaces in classpath

2001-03-12 Thread Stefán F. Stefánsson
Whether you like spaces in classpaths or not they *must* be supported. A prime example of this is the JAXP parser from the guys at Sun themselves. The default installation path for JAXP is 'c:\Program Files\JavaSoft\JAXP1.0.1', the installation program automatically puts a reference to that path

relative filesets for execon?

2001-03-12 Thread Wilhelm Fitzpatrick
I've got an external file packer tool that I'm trying to launch from ant, that needs relative file paths to build its archive (much like zip can do with the basedir attribute?) and I'm trying to figure out if there is anyway to do this with ant. The tool in question happens to be the "warp" utili

Jikes; JDK1.3; JDK1.1.8 Project! Oh my!

2001-03-12 Thread Greg Kedge
> I run Ant using jdk1.3, but I compile, using jikes, against jdk1.1.8 Diane: Your environment is identical to the one in which I need to run. My Ant 1.2 build files are set up to run using a classic compiler so as to assure compilation against JDK 1.1.8 classes.zip alone. However, I have used

RE: Creating a p4 client workspace

2001-03-12 Thread james
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you could try something like: cat p4clientworkspace.txt | p4 client -i [EMAIL PROTECTED] - -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 7:30 AM To: Ant-User (E-mail) Subject: Creating a p

RE: Creating a p4 client workspace

2001-03-12 Thread Les Hughes
Or why not use the perforce 'framework' and create a P4Client task? I might even knock a task together on the train tonight - if I get a seat :-( But there again, clients are pretty static things - why do you need to create one inside a build? Les > -Original Message- > From: Kevin O

RE: Ant with Perforce

2001-03-12 Thread Les Hughes
Erm, actually it is. It all relates back to the way the mapping from depot view to client view works. But I see what you're getting at, I guess as long as you have a mapping, you can do as p4 takes either client filepath or depot map and translates as appropriate. Les > -Original Message-

How to set modification time for set of files at once?

2001-03-12 Thread Paul Perevalov
I need help with setting specific timestamp on compiled class files. Touch just works fine for one file, how can I do this for set of files? Thanks, Paul

cvs checkout from ant

2001-03-12 Thread Sadek, Fahim
Hi, I'm trying to run a cvs checkout from ant. The task is as below: The error I'm getting follows. Any suggestions would be welcome. Thanks, Fahim C:\work\build.xml:8: java.io.IOException: CreateProcess: cvs -d :pserver:sgrossm a@ecdev03:/home/ecadmin/cvsroot checkout cpdev error=267 ---

IDE

2001-03-12 Thread Scott_Carter
I am trying to use ant to build with a IDE compiler. How can I do this?

Re: Jikes; JDK1.3; JDK1.1.8 Project! Oh my!

2001-03-12 Thread Diane Holt
--- Greg Kedge <[EMAIL PROTECTED]> wrote: > Your environment is identical to the one in which I need to run. My Ant > 1.2 build files are set up to run using a classic compiler so as to > assure compilation against JDK 1.1.8 classes.zip alone. However, I have > used jikes on my own, overriding -D

java.io.IOException: Bad file number

2001-03-12 Thread Mia Takashima
Using Ant3beta3 build. After making exec call to "cvs tag -F ." tag: [echo] [-- tag sources --] BUILD FAILED /usr/home/bldadm/bldrel/bldhome/config/db_mephit.xml:412: Execute failed: java.i o.IOException: Bad file number --- Nested Exception --- java.io.IOException: Bad file number

Re: Using ant cross platform

2001-03-12 Thread David . Bailey
We hide all pathnames behind environment variables, for example: /mainline/univ = $GENDIR on UNIX boxen E:\mainline\univ = %GENDIR% on Windows. Then we can fairly successfully hide all platform differences in the ant.sh and ant.bat files which invoke ant. The environment variable $

Using ant cross platform

2001-03-12 Thread Will Hartung
Hey all, Does anyone have any tips regarding using Ant on both Windows and Unix, particulary regarding the use of pathnames (specfically dealing with drive letters). The goal is to make ant as self-contained as practical, and minimally reliant on the environment or external scripting. Just look

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Ok, Can I execute a os command and get the result into a property? cause hostname would be an ideal solution as on NT is returns a lower case hostname. Thanks Mick -Original Message- From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] Sent: 12 March 2001 17:50 To: '[EMAIL PROTECTED]' Subject:

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
and the plot thickens.. I've taken the assumption that the hostname will be in an environment variable. Now for the good bit, on NT this gives the hostname in uppercase and when used in a p4 clientworkspace, p4 complains that I'm not running from that host. I may come to like p4 but at the momen

RE: Creating a p4 client workspace

2001-03-12 Thread Diane Holt
The 'ant' and 'ant.bat' scripts allows or an "rc" file to be read in, if one exists in the user's home dir, so you could have the host name determined and set in the rc file (eg., "export HOST=`hostname`"), then pass that value on the "$JAVACMD ..." line, or use the new "env" functionality of and

Re: Finding file types in

2001-03-12 Thread David J Iannucci
Stefan Bodewig wrote: > > > The task allows you to choose a set of files > > based on file names, but how about on file _types_? > > This is not possible for a fileset, at least not now. The > task and its relatives and support a type attribute > to filter based on file type. So. if I w

RE: Creating a p4 client workspace

2001-03-12 Thread Kevin O'Regan
another platform specific hack? java -Dhost.name=%COMPUTERNAME% ... org.apache.tools.ant.Main etc regards Kevin > -Original Message- > From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] > Sent: 12 March 2001 16:35 > To: '[EMAIL PROTECTED]' > Subject: RE: Creating a p4 client workspace > > >

RE: Creating a p4 client workspace

2001-03-12 Thread Kevin O'Regan
Mick, I ran into it, and a most painfull 2 hours it was too ;-) a crossplatform way would be to call 'mkClient' instead of 'mkClient.bat', and you could have a shellscript called 'mkClient' on unix. I think this has been encountered before, see the antRun and antRun.bat in the bin folder of the

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Kevin PS: how are you setting the variable ${host.name}? Thanks -Original Message- From: Kevin O'Regan [mailto:[EMAIL PROTECTED]] Sent: 12 March 2001 15:42 To: [EMAIL PROTECTED] Subject: RE: Creating a p4 client workspace > I'm trying to create a client workspace without invoking t

RE: Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Hi Kevin, does that mean you came across the same problem and this was the only solution? Is the problem with the p4 command being run via ant rather than something wrong with ant? The only problem with you're solution is that it becomes platform specific (i.e .bat Vs .sh) where as the command

RE: Creating a p4 client workspace

2001-03-12 Thread Kevin O'Regan
> I'm trying to create a client workspace without invoking the > editor. So > first I define the settings for the workspace in a file and > then I invoke p4 > to create the workspace, but it is failing for the reason shown below: > > [exec] Myos = Windows 2000 > [exec] p4 client -i <

Creating a p4 client workspace

2001-03-12 Thread M.A.Dunphy
Hi all, I'm trying to create a client workspace without invoking the editor. So first I define the settings for the workspace in a file and then I invoke p4 to create the workspace, but it is failing for the reason shown below: [exec] Myos = Windows 2000 [exec] p4 client -i < C:\DOCUME

RE: XMLResultAggregator question

2001-03-12 Thread Stephane Bailliez
The documentation of junitreport should be a good start: http://jakarta.apache.org/ant/manual/OptionalTasks/junitreport.html If you have any problem, feel free to ask your question here. -- Stéphane Bailliez Software Engineer, Paris - France iMediation - http://www.imediation.com Discl

XMLResultAggregator question

2001-03-12 Thread John . D . Casey
Can someone tell me how to use the HTML generation functions of the XMLResultAggregator (by way of the AggregateTransformer)? I cannot find documentation on this, and could really use this functionality, at least judging by what I see in the source code...I just don't know how to access the c

Re: How to deal with drive letters !!?? basedir behavior is particular !

2001-03-12 Thread Olivier Prouvost
I answer to me !! In fact, my pbme came from the basedir usage. I give a basedir value when I launch my build file... In fact, the basedir usage is particular ! At the beginning (in fact, when I use no file yet), it's value is kept. Then, as soon as a file is used, the basedir value is converte

How to deal with drive letters !!??

2001-03-12 Thread Olivier Prouvost
Hi, I"ve got a big problem with drive letters defined in may environment variables ! I work on Linux and Windows. And I defined a HOME variable with values: linux : /home/olivier windows : c:/home/olivier When I compute file names from the HOME environment value, everything works well on l

RE: setMethod does not exist

2001-03-12 Thread Panagiotis Konstantinidis
Title: RE: setMethod does not exist    Stefan, thank you very much. You were right. I was still using an older version. I installed the newest version of Ant but I installed it in the shared drive we have and somebody else of my workmates installed something else and there was a kind of confus

Re: setMethod does not exist

2001-03-12 Thread Stefan Bodewig
Panagiotis Konstantinidis <[EMAIL PROTECTED]> wrote: > BUILD CONFIG ERROR: Configuration property "dir" does not have a > setMethod in class org.apache.tools.ant.taskdefs.Delete > At first it seemed that I was using an older version of the Ant > classes. But I have downloaded the newest version

setMethod does not exist

2001-03-12 Thread Panagiotis Konstantinidis
Title: setMethod does not exist   Hello there. I am a new user to Ant so forgive me if this is  the wrong mailing list. I have just installed Ant and I am trying to  build a already existing project. I have set  the classpath etc to point to  the corrrect directories but everyting I try to ru

RE: basedir property and ant task

2001-03-12 Thread Badakhchani, Hussein
Hello John, I also call "unit" build.xml files from a module build.xml using ant 1.3 on NT and redhat7.0 and the basedir attribute as specified in the project element is as expected i.e usally "." (the directory of the build.xml in question) in fact I just checked it by echoing the base dirs o

Re: Is the 'environment' attribute on property task supported on Windows 2000 environment ?

2001-03-12 Thread Nico Seessle
- Original Message - From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 12, 2001 10:07 AM Subject: Re: Is the 'environment' attribute on property task supported on Windows 2000 environment ? > AFAIK - yes. You are right: D:\temp>set ANT ANT_HOME=C:\J

Re: scripting antcall causes NullPointerException

2001-03-12 Thread Stefan Bodewig
Howard Lin <[EMAIL PROTECTED]> wrote: > I'm trying to script antcall in my build.xml file. In the file, > sub1 and sub2 are doing the same thing. But sub2 gives a > NullPointerException in the script. After examing the source code, I > figured out that I need to add these two lines > "antcall.set

Re: Is the 'environment' attribute on property task supported on Windows 2000 environment ?

2001-03-12 Thread Stefan Bodewig
AFAIK - yes.

Is the 'environment' attribute on property task supported on Windows 2000 environment ?

2001-03-12 Thread Olivier Prouvost
-- Olivier Prouvost Anyware Technologies Tel : 05 61 00 52 90 Fax : 05 61 00 51 46 Web : http://www.anyware-tech.com

AW: antRun and antRun.bat problems?

2001-03-12 Thread Sean Ogle
Thanks Bill, After much digging through the code I discovered these facts for myself. I was still having problems with ant and jikes on Win2K though so I changed my version of the code to run the Runtime.exec() method with "cmd /c" inserted into the beginning of the command string. Everything wor