Re: Compile time vs. run time evaluation

2000-12-12 Thread Diane Holt
--- "Rousseau, John" [EMAIL PROTECTED] wrote: param name="targets" value="targ1,targ2" / ^ Was this a typo in the mail, or does your build-file actually have this instead of property ... /? Diane = ([EMAIL PROTECTED]) __ Do

Re: Compile time vs. run time evaluation

2000-12-12 Thread Diane Holt
--- "Rousseau, John" [EMAIL PROTECTED] wrote: Sorry. Just a typo. The next question would be what version of Ant are you using? Things should work if you're using 1.2 or greater. Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Yahoo!

Re: calling ant from cygwin under win32

2000-12-13 Thread Diane Holt
--- "Reuleaux, Andreas" [EMAIL PROTECTED] wrote: Modifications for ant to make it suitable for cygwin: * replace ':' by ';' in the classpath as the java-interpreter under win32 wants the path elements separated by ';' I run under MKS on NT, so I use the 'ant' script as well (not the .bat)

Re: property value resetting...

2000-12-13 Thread Diane Holt
Jason, You can reset the value of properties if you use the ant or antcall task. Can't say if they'd be workable for what you're looking to do, but I use them fairly liberally in my build process (primarily for "template"-type targets). Diane --- Jason Rosenberg [EMAIL PROTECTED] wrote: It

Re: uptodate check that srcfile exists

2000-12-21 Thread Diane Holt
--- Tom Elrod [EMAIL PROTECTED] wrote: I would like to recompile an IDL file if the IDL file is newer than the source it generates, which the sample code below does. I would also like to recompile the IDL file if the source it generates does not exist. Anyone have an idea how I would do

Re: Fw: Problem using script task

2000-12-27 Thread Diane Holt
--- marco struck [EMAIL PROTECTED] wrote: But I think flow control tasks are also very ugly. So we should use the Script task - but it doesn't really work, because IBM has update the Bean Scripting Framework (BSF) - I think - and it runs not longer with Ant :ยด-( What is it that's not working

Re: updating jars

2000-12-27 Thread Diane Holt
I think the jar task doesn't allow for the -u flag because it's trying to be compatible for JDKs less than 1.2, which don't have that option. Personally, I'd rather see it offer the option, and just have error-checking in place for java.version not being compatible with the option. What kind of

Re: Fw: Problem using script task

2000-12-27 Thread Diane Holt
--- Jason Rosenberg [EMAIL PROTECTED] wrote: Diane, tell us whether you get it to work if you download and use fresh versions of bsf and rhino Actually, here's a better idea (since I don't have to do much work this way :) -- how about you and Marco pick up my bsf.jar and js.jar and see if

RE: ANT and RCS

2000-12-27 Thread Diane Holt
--- Peter Vogel [EMAIL PROTECTED] wrote: you may as well go with the best RCS "wrapper" (though it is far more than that now): CVS. Say, rather, "If you don't want to buy one, you may as well go with the free RCS 'wrapper'..." -- CVS is far from best. Diane = ([EMAIL PROTECTED])

RE: ANT and RCS

2000-12-27 Thread Diane Holt
--- Peter Vogel [EMAIL PROTECTED] wrote: BTW, CVS really isn't an RCS wrapper (nor, I believe, is PerForce) rather it re-uses a fairly well-proven delta+storage format from RCS. Tagging, as well as several other features are not RCS compliant. Actually, no, CVS does sit on top of RCS. And

Re: Fw: Problem using script task

2000-12-27 Thread Diane Holt
--- Bill Burton [EMAIL PROTECTED] wrote: Actually, for Netscape, just Shift-click each of the links to download. Shift-click? -- good grief... left-click, right-click, double-click, shift-click -- GUIs are gonna drive me crazy! But thanks for the info -- I'll add it to my Goofy GUIs

Re: ANT and RCS

2000-12-28 Thread Diane Holt
d to them :) Diane --- James Duncan Davidson [EMAIL PROTECTED] wrote: On 12/27/00 5:55 PM, "Diane Holt" [EMAIL PROTECTED] wrote: --- Peter Vogel [EMAIL PROTECTED] wrote: BTW, CVS really isn't an RCS wrapper (nor, I believe, is PerForce) rather it re-uses a fairly well-proven d

Re: copy oddity

2000-12-28 Thread Diane Holt
--- David Corbin [EMAIL PROTECTED] wrote: copy todir="foo" fileset dir="bar" include name="./foobar"/ /fileset /copy Doesn't copy anything. But, if I remove the leading "./" it will copy it. Not sure why you'd feel a need to include the ./ -- but I suspect the

Re: FTP Question

2000-12-29 Thread Diane Holt
Can't say for sure, since I haven't tried it, but you might want to try only specifying fileset dir="${coImages}/**"/, since the documentation seems to suggest this will find all the files from the specified dir on down. Also, just fyi -- you don't need to do a mkdir for every directory element,

Re: Jar problem

2001-01-02 Thread Diane Holt
You could just do: jar jarfile="c:/somedir/somejar.jar" manifest="/meta-inf/manifest.mf" includes="com/**/*.class com/**/*.xml com/**/*.gif" / If you're not in the directory that contains the com subdir, include the "basedir" attribute as well. Diane ---

Re: Question on builds that fail

2001-01-03 Thread Diane Holt
I can't think of any reason why it shouldn't be included in the CVS version of Javac.java -- it's off by default, so it's not going to interfere with anyone who doesn't want to set it. In looking at the file Ken sent me, it looks like it's a relatively old revision (maybe 1.54 or 1.55), so,

Re: ant and I have a failure to communicate (on compile targets/javac tasks)

2001-01-09 Thread Diane Holt
Jeb, I just tested this, and it worked fine for me (although I did change a few things in the target, to make it match my dirs/classpath): target name="compile" javac srcdir="src" destdir="${out.dir}" classpath="${compile.classpath}" debug="on" optimize="off"

Re: javac -- messages?

2001-01-09 Thread Diane Holt
--- "Mount, Dave" [EMAIL PROTECTED] wrote: When I get compiler errors, Ant tells me "Compile failed, messages should have been provided." Should I have provided messages somewhere and what is their purpose? I don't see any attributes for that in the javac task. It's referring to the error

Re: manipulating filesets by script

2001-01-09 Thread Diane Holt
Jason, Would you be willing to share the script's you've been writing? The documentation for the script task is awfully thin, and I think a healthy number of examples being made available would be a Good Thing. (They wouldn't necessarily have to all be included in the doc -- maybe there could be

RE: Can't find version 1.2

2001-01-10 Thread Diane Holt
--- Walter Holladay [EMAIL PROTECTED] wrote: I downloaded "jakarta-ant-bin.tar.gz" (once again) from the link below. However, when type "ant -version" I get the following: "Ant version 1.1 compiled on July 18 2000" Am I crazy? What's going on?! I just downloaded the jakarta-ant-bin.zip

Re: Want: command line option

2001-01-10 Thread Diane Holt
--- Peter Donald [EMAIL PROTECTED] wrote: At 07:52 10/1/01 -0500, David Corbin wrote: I'd like to see a command line option which simply spits out the targets in the build file. As an extension to this concept, I could see the ability to specify (in the build file) that certain targets

Re: override project properties from property file

2001-01-11 Thread Diane Holt
--- Tim Veazey [EMAIL PROTECTED] wrote: Is there a way to tell and that you want to allow properties defined in an external property file to override any identical properties defined in the build.xml file? Properties are kind of a first-come-first-served type thing -- the first one to set the

Re: exec executable=javac not working on SunOS

2001-01-11 Thread Diane Holt
--- Filip Hanik [EMAIL PROTECTED] wrote: I've tried that one, still get the same message "can not read com/filip/swing/*.java" even if I give it the whole path I get "can not read /home/fhanik/com/filip/swing/*.java" any more ideas? I think you probably want to fileset the *.java files

RE: finding out the results of a fileset

2001-01-11 Thread Diane Holt
-Original Message- From: Steve Donie [mailto:[EMAIL PROTECTED]] echo file="ClientManifest.txt" / jar jarfile="${dist}/${DSTAMP}/com_lgc_dsClient.jar" basedir="${classes}" excludes="**/**" includesfile="ClientManifest.txt" whenempty="fail"

RE: Jikes depend task

2001-01-11 Thread Diane Holt
--- Conor MacNeill [EMAIL PROTECTED] wrote: Just to be clear for Holger, the depend task is not part of ant 1.2. It is only available with ant 1.3. This means Holger will need to build from either CVS or use a nightly build. I didn't pick up all of latest CVS -- I just picked up the depend

Re: ant as a test harness ?

2001-01-15 Thread Diane Holt
--- Ioan Mitrea [EMAIL PROTECTED] wrote: I am particularly interested in using ant in order to integrate testing with the build process. I would like to get feedback and experience about what kind of tests can be integrated with ant and what testing frameworks people use. I use my own, and

Re: ANT cannot find Java on solaris

2001-01-17 Thread Diane Holt
Try running the 'ant' script set -x so you can see what things like $JAVA_HOME and $JAVACMD are actually being set to. Diane --- Sanjeev Bagaria [EMAIL PROTECTED] wrote: Hi folks, I have Java 1.2 installed in /usr/java1.2 I set the JAVA_HOME environment variable and run ANT, but I get

Re: Override of property

2001-01-17 Thread Diane Holt
--- Ioan Mitrea [EMAIL PROTECTED] wrote: I think the docs are not very clear about this isse, or maybe I didn't read it right. If you can point me to where in the doc you feel things were stated poorly, I can try and fix the doc to be more clear. So: I can't reset properties in a target by

Re: create file taskdef

2001-01-17 Thread Diane Holt
--- Josh Sugnet [EMAIL PROTECTED] wrote: Thanks for the suggestion, this does work and line breaks do get into the file. However, any tab or space characters in front of the lines between the opening and closing echo tags also get put in the file. This is true. If you don't want any extra

Re: Fully Automated Builds

2001-01-18 Thread Diane Holt
Oh right -- I forgot ant lets you specify an output file. This is a reasonable way to do it -- except you don't need to break your build up into 3 different build.xml files -- just go ahead and ant to targets in the one you have now. Diane --- Filip Hanik [EMAIL PROTECTED] wrote: create three

Re: Doc issues was: Re: Override of property

2001-01-18 Thread Diane Holt
--- Ioan Mitrea [EMAIL PROTECTED] wrote: There is one thing which I noticed: The failonerror attribute for the javac task is not listed in the list of attributes in the docs. You need to look at the most recent index.html. Diane = ([EMAIL PROTECTED])

Re: Skipping a task when condition?

2001-01-22 Thread Diane Holt
The copy task should only copy files that have source-files newer than their destination-files. Diane --- William Lee [EMAIL PROTECTED] wrote: What I realized when using Ant is that rerunning some tasks may take a long time, even though the tasks may not be doing anything different, like

Re: need help setting up automated build

2001-01-26 Thread Diane Holt
--- David Corbin [EMAIL PROTECTED] wrote: Does Ant return a different code to indicate failure? If so, this could be done by modifying (or wrapping) the ANT launch script... Yes. I added the following to my 'ant' script: java -classpath $LOCALCLASSPATH ... || { exit 1 } exit 0 so

Re: Install Shield MultiPlatform edition

2001-01-26 Thread Diane Holt
--- Giles Cope [EMAIL PROTECTED] wrote: Has anyone had any joy getting install shield to work from ant? Can't say it's necessarily brought me any joy, but I do build InstallShield installers via Ant. :) Were you running into some problem? BTW: You might want to consider using a fileset for

Re: running jikes with -g

2001-01-26 Thread Diane Holt
--- Hadi Abedi [EMAIL PROTECTED] wrote: Hi All, Can someone tell me how to set the -g to run with jikes using ant? Thanks in advance. Set the javac "debug" attribute. It's probably easiest to do it as: debug="${debug}" so you can turn it off or on by setting the ${debug} property rather

Re: newbie to Ant

2001-02-05 Thread Diane Holt
--- "M.A.Dunphy" [EMAIL PROTECTED] wrote: I've numerous targets that execute a javac task. To stop building test files I have an excludes pattern. Is there a way to consolidate this pattern into 1 place such that each javac excludes references it. Thus allowing me to change the pattern in one

Re: Help with script's

2001-02-05 Thread Diane Holt
Richard, I've never used the NetRexxC task, so I can only point you to the task documentation in the "Optional Tasks" section of index.html. As to "Messages should have been provided", that's referring to the compiler errors that should have been produced by the compiler -- it's just saying that

Re: Best practices and folder breakdown

2001-02-06 Thread Diane Holt
Sorry for the cross-post, but two-birds and all that... --- Andrew Goodnough [EMAIL PROTECTED] wrote: I would be happy to help with the documentation in this area (Diane's little buddy, maybe :-)) Actually, I'm afraid I haven't really been of much use the past few weeks. Things are in a bit

RE: Can someone tell me what is so great about Ant?

2001-02-06 Thread Diane Holt
Might as well chime in on this one... Which tool is best is completely situation-dependent -- a really fine wrench is all well and good, unless what you really need is a hammer. If Make is doing what you need it to do, keep using it -- personally, I prefer Jam for C/C++ development environments,

RE: build.xml and .inc file organization/structure

2001-02-07 Thread Diane Holt
--- "Ventimiglia, David" [EMAIL PROTECTED] wrote: Hey Diane, I'm curious about what you mean by "not straightforward". How is it that a single javac is not sufficient? Because I have to compile against jdk118 classes, for the most part, but also against some jdk12 and jdk13 classes -- but

Re: confused over failure

2001-02-13 Thread Diane Holt
The javac task now has a "failonerror" attribute -- set it to "no" to keep going after a compiler error. Diane --- Phillip Lord [EMAIL PROTECTED] wrote: I've just started using ant, and I have a small question. I am a little confused about how ant copes with failures of

Re: Solaris packages integration

2001-02-13 Thread Diane Holt
There have been discussions about having a separate place for contributed tasks that wouldn't be part of "standard" Ant (nor supported by ant-dev). I was looking into setting up an Ant-contrib project on Sourceforge, but things got hectic for me, so I haven't done anything more towards that yet.

RE: rebuild when compiler changes ? (was:How to specify the locat ion of the compiler ?)

2001-02-13 Thread Diane Holt
--- "Garcia, Gilles" [EMAIL PROTECTED] wrote: The retainer" mechanism are the time stamps applied by the OS's file system. The compiler path has a time stamp (e.g., when it was dowloaded and installed), and any classs on the file system has a creation date. That would take care of the

Re: Two issues

2001-02-21 Thread Diane Holt
Richard, Properties in Ant are first-come, first-served. That's why command-line defines override all others -- because they get there first. If there's no command-line define, and there's a define in a property task in the build-file outside of any target, then that's the one that wins.

Re: Ant is recompiling every time

2001-02-22 Thread Diane Holt
--- Peoter Veliki [EMAIL PROTECTED] wrote: There is a group of 6 files that will recomile every time I build, even if I touch nothing and do nothing inbetween. [...] Can anyone explain what is causing this and how to fix it? You are probably pointing the javac task to them in the wrong

Re: 1.3 Find functionality

2001-02-22 Thread Diane Holt
--- Will Hartung [EMAIL PROTECTED] wrote: Is there a way besides adding -find to the command line to get the old "hunt for build.xml" behavior? an ENV setting perhaps? Well, you could modify your 'ant' script to include on the Ant command-line something like $FINDFLAG, then set FINDFLAG=-find

RE: Property Setting

2001-02-26 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: Ok... I'll try again: ant -Dbleh="this and that="this and that" spotless I suspect that middle quote is causing you trouble. Try: ant -Dbleh="this and that=this and that" and see what happens. (Sorry, no time to test it myself.) Diane = ([EMAIL

Re: ant task - property overrides

2001-02-27 Thread Diane Holt
--- Juno Suk [EMAIL PROTECTED] wrote: The Ant task, called from a parent build.xml, will have all its properties overridden by the parent. The ant task does allow you to set values for properties -- you just need to do it explicitly (which admittedly, could get fairly cumbersome if you have

RE: Redirection

2001-02-27 Thread Diane Holt
--- "Rajagopal.V" [EMAIL PROTECTED] wrote: Hi Im new to ant and wud like to takke thet output of a PWD and sed thru it to get my variable.like echo ${PWD} | sed 's/.../../g' How do i do this in Ant. any pointers. How can i redirect the i/p from echo command. Do i have to store it in a

Re: Newbie question - is ant feasible for building JDK 1.1.6 applications?

2001-03-05 Thread Diane Holt
Hi Craig, I run Ant using jdk1.3, but I compile, using jikes, against jdk1.1.8 classes (and some against 1.2 and 1.3 classes) -- all you need to do is specify the classpath for the compiles and turn off adding the system classes. Diane --- Craig Arfman [EMAIL PROTECTED] wrote: Hi I am

Re: Ant call doesn't use same environment space.

2001-03-06 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: In the project I'm currently working on, it would be useful to be able to have several build.xml's reference a single build.xml thru the Ant task in order to set up the build environment, and check for necessary files, etc. However, when I create a scenario

RE: Re: Ant call doesn't use same environment space.

2001-03-06 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: basically, I'm running a bunch of available's, and also some taskdef's...I need to find out what's in the source tree, and enable some homespun taskdefs. Is there a reason why you need to do those things in the sub files instead of the top-level one? Diane

Re: Getting a relative time from within Ant

2001-03-07 Thread Diane Holt
When the tstamp task was modified to take format specifications, Conor also proposed allowing for an offset/unit functionality that would allow you to specify something like: offset="-10" unit="minute" I was definitely in favor of it, but I don't know if he ever actually coded that up and

Re: Ant with Perforce

2001-03-08 Thread Diane Holt
--- "M.A.Dunphy" [EMAIL PROTECTED] wrote: We are looking at p4 an our scm and I've been struggling with it and ant's integration all day and getting nowhere fast. The build file previously worked in a sandbox environment, i.e depending on where you ran the build, the source code would be

Re: conditional tasks

2001-03-09 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: 'Need to make an conditional/optional target tasks, I would like to make an "standard" target witch, depending of some parameters makes another tasks something like "if-else" or "switch-case". Does any1 knoz smth about that ? A case task was submitted to the

Re: Ant with Perforce

2001-03-09 Thread Diane Holt
--- Ringo De Smet [EMAIL PROTECTED] wrote: Diane, With Perforce, you do things based on a client workspace. If you want to write me directly, I can give you some general ideas, but ultimately, how you end up dealing with things will depend on your particular setup. Please don't

RE: Conditional tasks

2001-03-09 Thread Diane Holt
Wow -- that was quick! :) But did you include a taskdef for it in your build file? Diane --- [EMAIL PROTECTED] wrote: nope, dear Diane, it's not works cause next error: Buildfile: new.xml test: BUILD FAILED C:\projects\new.xml:110: Could not create task of type: case. Common

Re: Property scope

2001-03-13 Thread Diane Holt
You have the property task inside a target, and that target is only executed within an antcall task, so the property is only set for the duration of that antcall execution, which is why the "test3" target sees the property as not set. Not sure about why the build sequence has the "test3" target

RE: Property scope

2001-03-13 Thread Diane Holt
only what to set the property so that test 3 sees it is via the depends association? -Original Message----- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: 13 March 2001 15:57 To: [EMAIL PROTECTED] Subject: Re: Property scope You have the property task inside a target, and that targ

Re: terminology

2001-03-14 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: I have taken a quick look at the ant docs, and I would like to make some comments about the terminology used. Glenn and Stefan have already pretty much covered what I would've said, but I thought I'd add a couple of corrections... A target should really be a

Re: Difficulty calling a batch file on windows with exec- requires use of '.bat' extension

2001-03-21 Thread Diane Holt
Deepak Balakrishna wrote: I am uable to call a Windows batch script (say test.bat) from ANT by leaving out the '.bat' extension How about setting a "bat" property only on your Windows machines (ie., bat=".bat"), then referencing the script as "test${bat}"? On machines that don't have

Re: script

2001-03-28 Thread Diane Holt
--- Juan Jesus Tova Ruiz [EMAIL PROTECTED] wrote: How can i get the value of a property tag and assign to another property using javascript. Using the script task (with language="javascript"), you can get the value of a property using: projectname.getProperty('propname') where "projectname"

Re: Obtaining properties

2001-04-03 Thread Diane Holt
I can't think of any way right off-hand to do what you want (doesn't mean there isn't a way, just that I can't think of one real quick :) -- but wouldn't it be easier to just set "main" to "com.xxx.${project}" and define ${project} with -Dproject="Project1"? Diane --- "Hayes, Peter" [EMAIL

Re: Please somebody read this

2001-04-04 Thread Diane Holt
Pinar, I didn't see any other mail from you, so maybe what you sent yesterday didn't get through? As to your question -- if you're running Ant1.3 or greater, you can tell Ant to use only those classes you specify in your javac task. So to compile against 1.1.8 classes, just include the path to

Re: ant+shell script

2001-04-04 Thread Diane Holt
--- Dana Rice [EMAIL PROTECTED] wrote: I think this has been a topic but I don't remember the resolution. Is there a way ant can call an external shell script? See the Exec task in the Ant User's Manual (Built-In Tasks). Diane = ([EMAIL PROTECTED])

Re: Ant User's Manual

2001-04-04 Thread Diane Holt
--- Pinar Bicioglu [EMAIL PROTECTED] wrote: Could somebody tell me where the "Ant User's Manual" is ? Thanks, On the web-site at: http://jakarta.apache.org/ant/manual/index.html The documentation also comes with the release. Diane = ([EMAIL PROTECTED])

RE: Property name

2001-04-05 Thread Diane Holt
--- Pinar Bicioglu [EMAIL PROTECTED] wrote: Is there any way to specify propertyname properties within a target? Hmm... don't know of a propertyname tag, just a property tag. A property tag can be used at the project-level, the target-level, and nested within an ant tag (which amounts to

Re: cant't find the jar file

2001-04-05 Thread Diane Holt
--- Pinar Bicioglu [EMAIL PROTECTED] wrote: again here is my problem, when I compile the project it does not work. I think the reason is I was working in a different (Z) drive and it couldn't find the jar file ( property name="Java122Classes" value="/jdk1.2.2/jre/lib/rt.jar" / ). Does

Re: FW: Can't find the files

2001-04-06 Thread Diane Holt
--- Pinar Bicioglu [EMAIL PROTECTED] wrote: :) Not really. I have been still working on that. I made a properties file containing property name="Java122Classes" value="${jdk122root}/jdk1.2.2/jre/lib/rt.jar" /\ property name="Java118Classes" value="${jdk118root}/jdk1.1.8/lib/classes.zip"

RE: FW: Can't find the files

2001-04-06 Thread Diane Holt
dk118/jre/lib/classes.zip" / lines from build.xml file, I wrote property file="build.properties" / on the top of build.xml file. So it's suppose to go and find files and work correctly right? but it's not working and I don't know what I am doing wrong here :( ---

Re: Reference Book

2001-04-06 Thread Diane Holt
--- Pinar Bicioglu [EMAIL PROTECTED] wrote: Can somebody recoomend a good reference book for Ant ? I have been searching for it for two days but i couldn't come up with anything There isn't a book yet (the original author of Ant may be working on one). At this point, there's the Ant User's

Re: Project Dependencies

2001-04-06 Thread Diane Holt
--- James Cook [EMAIL PROTECTED] wrote: Is there anything similar to: project name="subA" basedir="." depends="../subB/build.xml" It's been suggested for Ant2, but I think it was only to allow targets to depend on sub-project targets, not for project to get a depends attribute (although it's

Re: Ignoring compiler errors like make -i

2001-04-08 Thread Diane Holt
Set failonerror="no" -- see the Javac task description in the Ant User's Manual on-line at http://jakarta.apache.org/ant/manual/index.html, under Built-In Tasks; the manual also comes bundled with the release). Diane --- Robert Ratcliff [EMAIL PROTECTED] wrote: Hi, Sometimes developers

Re: package puzzle

2001-04-09 Thread Diane Holt
You'll most likely need to respecify the "srcdir" and, if you're including specific files, the path to where those files are found. Specify "srcdir" up to the point where the package structure begins and included files beginning at com. Diane --- "Macey, Ian" [EMAIL PROTECTED] wrote: Am

Re: [property] Override ignored for build.compiler - why?

2001-04-10 Thread Diane Holt
--- Markus Holmberg [EMAIL PROTECTED] wrote: Why are properties not allowed to be overridden? To allow for command-line overrides. The way properties work will most likely change with Ant2. (This breaks the functionality of including a local properties file which contains local

RE: exec: jay $SKELETON $IN $OUT, HELP PLEASE

2001-04-10 Thread Diane Holt
Or you can avoid having the extra shell-script and just exec "sh -c". If you have $SKELETON, $IN, and $OUT set in your environment, read them in using the property environment="env"/ task (you can use whatever prefix you want -- "env" is just an example). Or you could set them as Ant properties

Re: property names

2001-04-11 Thread Diane Holt
A property is a way to associate a value with a name that can then be referenced by that name, using the form ${property_name}. The property name is whatever you want to call it, although it's usually a good idea to call it something that says something about the value it holds. For example, a

RE: property names

2001-04-11 Thread Diane Holt
party/xerces.jar;./thirdparty/cfx.jar ;./thirdparty/oracleclasses111.zip;./thirdparty/servlet.jar;d:/jbuilder3/lib /jbcl3.0.jar" / Sorry for all of these silly and easy questions I ask. But since I have only one source to reference, I get stuck very often :( -Original Message- F

Re: Running optional tasks

2001-04-12 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: I downloaded Pvcs source compiled and put it into optional.jar, which is in %ANT_HOME%\lib. When I try to use pvcs / I get Could not create task of type: pvcs. Common solutions are to use taskdef to declare your task, or, if this is an optional

Re: Delete fails...

2001-04-12 Thread Diane Holt
--- David Corbin [EMAIL PROTECTED] wrote: I tried that, and I tried NTHandle | grep junit. Nothing is holding the file open. It *seems* like that cygwin rm also fails (silently) to delete it, but DEL frequently (if not always) succeeds. More ideas? I take it you've tried rebooting? :)

Re: Delete fails (more)

2001-04-13 Thread Diane Holt
esn't come to mind:) Now that I'm having to work with "that other OS", I guess I'll have to re-remember to reboot every two hours :)) Diane Holt wrote: --- David Corbin [EMAIL PROTECTED] wrote: I tried that, and I tried NTHandle | grep junit. Nothing is holding the file o

Re: depend attribute of javac...

2001-04-13 Thread Diane Holt
--- james [EMAIL PROTECTED] wrote: Could someone point me to a discussion of the depend attribute of javac? The docs don't say much. Don't know that there's ever been that much of a discussion about it -- if it's set on, then for certain compilers (namely, 'javac' for JDK1.1 and 1.2, and

Re: Using JDKs with jar files

2001-04-16 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: The only way I know of to accomplish this would be to use two separate build files instead of two separate targets. It would be nice to be able to specify the JDK to use (overriding the project attribute) for a specific java command like (java, javac, etc.). For

RE: ant+shell script

2001-04-16 Thread Diane Holt
--- Dana Rice [EMAIL PROTECTED] wrote: Dianne, the exec worked find as you explained on Unix but not on Windows. Do you know the correct format for executing a shell script from Ant on Windows? Do you have a shell on your Windows machine? (MKS korn-shell, Cygwin bash?) If you do, then you

RE: ant+shell script

2001-04-17 Thread Diane Holt
an arguement so this is what one has: sh script.sh -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 4:56 PM To: [EMAIL PROTECTED] Subject: RE: ant+shell script --- Dana Rice [EMAIL PROTECTED] wrote: Dianne, the exec worked

Re: Problems with the Javac task

2001-04-18 Thread Diane Holt
--- Stefan Bodewig [EMAIL PROTECTED] wrote: M. A. Dunphy [EMAIL PROTECTED] wrote: I'm using Ant 1.2 (though it also doesn't work in 1.3). It will work in 1.3 with a little help from the additional includeantruntime and includejavaruntime attributes. Stefan, I've also been telling people

RE: -verbose option

2001-04-18 Thread Diane Holt
Pinar, The real question is: Are the properties set by the time they're being referenced in your build? Properties that chain off of other properties the way yours do can end up with the "... not set" being printed out during a -verbose run even though the values do are set once everything is

Re: CVS checkout problem

2001-04-18 Thread Diane Holt
Check to make sure you have the directory the 'cvs' command lives in in your $PATH. Diane --- Anoop [EMAIL PROTECTED] wrote: Hi, I was trying to check out files from CVS, compile them and build a jar out of it. When i try to checkout the files from the CVS it gives an error, if i

Re: Assinging file sets to a property

2001-04-18 Thread Diane Holt
--- Son of Mojo JoJo [EMAIL PROTECTED] wrote: why the excludes= statement of javac requires a comma seperated list as opposed to a ; or : seperated list is beyond me.. I suppose it's because it's a list of files, not a path. So i guess im back to square one.. does anyone know a way to get a

Re: Javac not generating class files.

2001-04-20 Thread Diane Holt
Simon, Have you tried setting the "failonerror" attribute to "no"? Diane --- [EMAIL PROTECTED] wrote: I see from the mail list archive that this problem has been raised before, but I can't see what the *solution* is!! Our problems is that we *have to* build the classes using jdk1.3, I

RE: unix redirection - how do you specify input files?

2001-04-20 Thread Diane Holt
--- Dana Rice [EMAIL PROTECTED] wrote: You can put your redirection etc. in a script and have ant call that. Worked for me. Or, if it's a simple one-liner, you can exec "sh -c ..." Diane -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April

Re: Question: fail handling in ANT

2001-04-20 Thread Diane Holt
For a specific file, you can use a combination of the available task and the "unless" target attribute: target name="copyFoo" depends="noFoo" copy.../ /target target name="noFoo" depends="checkFoo" unless="foo.present" fail message="Error: File foo not found."/ /target target

RE: Javac not generating class files.

2001-04-23 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: That's not a bad idea .. jikes for development, javac for release. Personally, I wouldn't recommend doing that -- you should use the same compiler for dev builds as you do for nightly/test builds as you do for releases. I'd recommend running a full build with

Re: Setting the environment varibles and specifying targets in the j avac tag ??

2001-04-23 Thread Diane Holt
--- Pinar Bicioglu [EMAIL PROTECTED] wrote: I have been working on executing targets with different JDKs for a while now. If I add property name=build.compiler value=modern/ to the top of my xml file, all of the targets in it get executed with JDK1.3 right?. Yes -- once you set a property,

Re: setting environment variables

2001-04-23 Thread Diane Holt
--- Molitor, Stephen [EMAIL PROTECTED] wrote: Is there a cross-platform way to set environment variables in Ant? A task to set environment variables? What are you using the env vars for? If it's in exec tasks, you can use the nested env tag. Diane = ([EMAIL PROTECTED])

Re: FW: Javac not generating class files.

2001-04-23 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: It looks as though jikes is a non-starter. There doesn't appear to be a set of binaries for Solaris and the compilation instructions are non existent. I'm guessing that's because there isn't anything special about building on Solaris. I don't have access to a

Re: getting stdout from tasks

2001-04-24 Thread Diane Holt
--- Stefan Bodewig [EMAIL PROTECTED] wrote: Laramie Crocker [EMAIL PROTECTED] wrote: Does anyone know how to get stdout from a task (either exec or an extension of org.apache.tools.ant.Task) such that I can set a property with the output? Short of writing your onw task? Don't think

Re: documentation for optional tasks?

2001-04-24 Thread Diane Holt
--- Aarti Chandnani [EMAIL PROTECTED] wrote: Is there a documentation of all optional tasks submited to date? I know we get the docs when we install ANT, but I am talking of latest docs. As in is it there one online so we know if a new task has been submited? No -- but you could browse the

RE: Task for collecting code metrics

2001-04-25 Thread Diane Holt
--- Jim Cheesman [EMAIL PROTECTED] wrote: A combination of JDepend and JRefactory (http://jrefactory.sourceforge.net/) will do most of this for you - although I can't find a link to the first. http://www.clarkware.com/software/JDepend.html Also, a JDepend task was recently submitted to the

Re: how to get updated time/date during the build process

2001-04-25 Thread Diane Holt
--- Jiong Wei [EMAIL PROTECTED] wrote: It is very common to track and display the current time/date during a long build process. this will help to diagnose the bottleneck of a build or even just for info. but i found that the tstamp task is hard to be used to achieve. even if I include

  1   2   3   4   5   6   7   8   9   10   >