Re: Problem with task

2005-05-18 Thread Antoine Levy-Lambert
What you can do : 1) to analyze the error more deeply, try to create a gzipped file with ant and gunzip it with ant on your platform. 2) compare the binary look and feel of the gzip created by ant and the other gzip file which is failing to be gunzipped 3) if you do not find an explanation in ste

Re: path to ant

2005-05-18 Thread THUFIR HAWAT
On 5/19/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: ... > type > > which ant > > That might give a clue... > > What platform are you running on? ... [EMAIL PROTECTED] bin]$ which ant /usr/bin/ant [EMAIL PROTECTED] bin]$ cd /usr/bin/ant bash: cd: /usr/bin/ant: Not a directory [EMAIL PR

Re: path to ant

2005-05-18 Thread Mark Lundquist
On May 18, 2005, at 8:17 PM, THUFIR HAWAT wrote: where else could ant be? type which ant That might give a clue... What platform are you running on? —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: nontrivial dependencies

2005-05-18 Thread Dominique Devienne
You're post is too long to answer in detail and I don't have the time these days to go back and forth with you, but I'll still make a few observations. First, your hierarchy seems wrong. Putting the build.xml, classes output dir, etc... in the source tree feels wrong. It's much better to stick to

path to ant

2005-05-18 Thread THUFIR HAWAT
"Unix (bash) Assume Ant is installed in /usr/local/ant. The following sets up the environment: export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/local/jdk-1.2.2 export PATH=${PATH}:${ANT_HOME}/bin" ant's not not in /usr/local, and install

Problem with task

2005-05-18 Thread Ninju Bohra
Hello all, ANT v1.6.2 OS: Windows XPPro I am trying the task on a .tar.gz file and I get: get.ungzip.info: [input] skipping input as property gzip.filename has already been set. get.import.info: [input] skipping input as property import.user has already been set. [input] skipping i

RE: Re: ANT Configuration

2005-05-18 Thread Rich Harris
Man that was sloppy on my part...let's try that again. === For UNIX: ANT_HOME=/ant_directory JAVA_HOME=/java_directory PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin For Windows: ANT_HOME=c:\ant_directory (or wherever) JAVA_HOME=c:\java_directory (or wherever) PATH=%ANT_HOME%\bin;%JAV

RE: Re: ANT Configuration

2005-05-18 Thread Rainer Noack
Ant works best with the following configuration. CLASSPATH should be empty. JAVA_HOME should be set to the root of your JDK installation. ANT_HOME should be set to the root of your ANT installation PATH needs to include %ANT_HOME%\bin (Win) resp. $ANT_HOME/bin (Unix) (typically %JAVA_HOME%\bin res

RE: Re: ANT Configuration

2005-05-18 Thread Rich Harris
Which OS is this? For UNIX: ANT_HOME=/ant_directory JAVA_HOME=/java_directory PATH=$PATH:$ANT_HOME:$JAVA_HOME For Windows: ANT_HOME=c:\ant_directory (or wherever) JAVA_HOME=c:\java_directory (or wherever) PATH=%ANT_HOME%\bin;%JAVA_HOME\bin% Then try it in the shell that those are set in. If t

RE: nontrivial dependencies

2005-05-18 Thread Rainer Noack
I see. Your main problem seems to be the use of . This starts a "new" project. You can pass the properties in the new project but not back to the (calling) main project. Also the dependencies are resolved again (Same as considered in the thread "target dependencies" and documented implicitely in ).

Re: Re: ANT Configuration

2005-05-18 Thread tushar S Kulkarni
 I have path set to ANT_HOME\bin But still no luck! Also classpath is set to ANT_HOME\lib On Wed, 18 May 2005 Jeffrey E Care wrote : >The same way you would resolve this error for any other script or >executable: make sure that the thing you are trying to run is on the PATH. > >-- >Jeffrey E.

RE: Problem with nested property sets

2005-05-18 Thread Dick, Brian E.
Matt to the rescue (again). :) -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 11:21 AM To: Ant Users List Subject: RE: Problem with nested property sets yep, 'tis a bug in the handling of mapped, nested propertysets. I will look into this to

RE: Problem with nested property sets

2005-05-18 Thread Matt Benson
with the mail delay this is fun. again, yes, the mappers were causing your problem. This will be fixed in Ant 1.6.4 this week. Thanks, Matt --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > I have two property sets, one prefixed with "foo" > and one prefixed with > "bar". I want to union these

Re: Problem with

2005-05-18 Thread Ninju Bohra
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > > I vaguely recall a bug-report in Bugzilla on > being unable to > extract files larger tha 2 or 4 GByte. It was > closed because command > line tar didn't seem to deal with them either. > Looking around Bugzilla, I could not find a bug relating

Re: How to open URL from ANT.

2005-05-18 Thread Matt Benson
--without a doubt. on Ant < 1.6.4 should not work with authentication, period. If it does then the username + password couldn't be more than two characters... or some similar freak occurrence. Even better would be if I were wrong, but I can't see how that's possible in this case. -Matt --- St

RE: Problem with nested property sets

2005-05-18 Thread Matt Benson
yep, 'tis a bug in the handling of mapped, nested propertysets. I will look into this today. -Matt --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > I have two property sets, one prefixed with "foo" > and one prefixed with > "bar". I want to union these two property sets and > change the "foo"

[antcontrib] foreach expanding properties

2005-05-18 Thread Rebhan, Gilbert
Hi, i'm just testing what kind of syntax in my propertyfile is suitable when using the task in antcontrib. so far i have = propertysyntax : modul.1=FirstModul modul.1.version=1_2_3 i also tried ${modul.1}.version modul.2=SecondModul modul.2.version=0_2_3 modul.3=ThirdModul modul.3.version=1

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
Ty for all your help Stefan. i assume its related to the authentication. if i upload page without authentication it works fine. Nir. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 3:38 PM To: user@ant.apache.org Subject: Re: How to open UR

RE: nontrivial dependencies

2005-05-18 Thread Michael Cepek
- Rainer Noack wrote: > just a hint: > what's about 's if/unless attributes... Both and certainly have their uses. And I don't hesitate to use them where it makes sense to do so. But I haven't found that they really help much with managing dependencies or other "tricky" aspects of our buil

Re: target dependencies

2005-05-18 Thread Conor MacNeill
Michael Cepek wrote: Ah, I see. The key point is that invoking a series of targets from the command line: $ ant clean-all build-all doesn't work the same as: Yes. That's fine. I wasn't suggesting that Ant be changed. It's just confusing and perhaps should be clarified in the manual. I have

Re: How to open URL from ANT.

2005-05-18 Thread Stefan Bodewig
On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > http://localhost:7701/manager/reload?path=/cc"; >dest="${logs.dir}/reload_cc.log" >verbose="${verbose}" >usetimestamp="true" >password="tomcat" >

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
The Link generate the following error: http://localhost:7701/manager/reload?path=/cc"; dest="${logs.dir}/reload_cc.log" verbose="${verbose}" usetimestamp="true" password="tomcat" username="tomc

RE: target dependencies

2005-05-18 Thread Michael Cepek
Ah, I see. The key point is that invoking a series of targets from the command line: $ ant clean-all build-all doesn't work the same as: That's fine. I wasn't suggesting that Ant be changed. It's just confusing and perhaps should be clarified in the manual. I have also noticed that tar

Re: Problem with nested property sets

2005-05-18 Thread _mylene_
AFAIK properties cannot be changed (though variables can). When a property is set, it stays set. Mylene On 5/18/05, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > I have two property sets, one prefixed with "foo" and one prefixed with > "bar". I want to union these two property sets and change the "

Re: [property] Multiline ?!

2005-05-18 Thread Jeffrey E Care
Java properties files use "\" as a line continuation character. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "Rebhan, Gilbert" <[EMAIL PROTECTED]> wrote on 05/18/2005 07:21:38 A

RE: Problem with nested property sets

2005-05-18 Thread Dick, Brian E.
I have two property sets, one prefixed with "foo" and one prefixed with "bar". I want to union these two property sets and change the "foo" prefix to "foobar" and change the "bar" prefix to "foobar". If I remove the mappers I get the following output. There is no error, so the mappers must be caus

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
Thats what i didnt know. the task -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 2:18 PM To: user@ant.apache.org Subject: Re: How to open URL from ANT. On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > Im using it to reload cont

RE: [property] Multiline ?!

2005-05-18 Thread Rainer Noack
1. this list is for ant-related questions. 2. for property file format see java-api of java.util.Properties#load you can use '\n' to "format" your property > -Original Message- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 1:22 PM > To: user@ant.apac

Re: How to open URL from ANT.

2005-05-18 Thread Stefan Bodewig
On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > Im using it to reload context under tomcat. > I wrote my own task for: > http://localhost:7701/manager/reload?path=/cc > > I simply wanted to do it from ant since I have script that updates > the sources I want to use the reload from ant

Re: Problem with nested property sets

2005-05-18 Thread _mylene_
It's not the nested propertyset that is the problem. I guess you assumed that the properties were really changed in foobar.* Apperently they are not. When you add the properties: And you execute that, you'll get: Apache Ant version 1.7alpha compiled on May 11 2005 Buildfile:

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
Im using it to reload context under tomcat. I wrote my own task for: http://localhost:7701/manager/reload?path=/cc I simply wanted to do it from ant since I have script that updates the sources I want to use the reload from ant instead of open a browser and type the URL. TY all for the help.

Re: ANT Configuration

2005-05-18 Thread Stefan Bodewig
On 18 May 2005, tushar S. Kulkarni <[EMAIL PROTECTED]> wrote: >  Hi I have a problem with configuring ant 1.6.2. I have set > ANT_HOME in path but still it doesnt work. ANT_HOME/bin needs to be in the PATH, not ANT_HOME. Stefan -

Re: How to open URL from ANT.

2005-05-18 Thread Stefan Bodewig
On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > Is there any option to open URL with Browser? Not a portable one (which Browser would you use?). is your only option. Stefan - To unsubscribe, e-mail: [EMAIL PROTECT

Re: How to open URL from ANT.

2005-05-18 Thread Jeffrey E Care
Why would you possibly want to do this? Ant is a build tool, not a general purpose scripting language. In any case, you could use the exec task to launch a browser. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.op

Re: ANT Configuration

2005-05-18 Thread Jeffrey E Care
The same way you would resolve this error for any other script or executable: make sure that the thing you are trying to run is on the PATH. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/

RE: Problem with nested property sets

2005-05-18 Thread Dick, Brian E.
Here is the output from "ant -debug". Apache Ant version 1.6.3 compiled on April 28 2005 Buildfile: build.xml Adding reference: ant.PropertyHelper Detected Java version: 1.4 in: C:\j2sdk1.4.2_05\jre Detected OS: Windows XP Adding reference: ant.ComponentHelper Setting ro project property: ant.vers

[property] Multiline ?!

2005-05-18 Thread Rebhan, Gilbert
Hi, i' ve written a java class that reads a txtfile and generates a propertyfile. All works fine expect one property that may contain more than one line. property1=bla property2=foo property3=first line second line third line Is it possible to have a multiline property and if how to handle it.

Re: roxes ant tasks moved to sourceforge !!

2005-05-18 Thread [EMAIL PROTECTED]
hello stefan, thanks for your reply. you're right, compatibility, contact and license are still the same. i will change the docs the way you propose. regards, lars Stefan Bodewig wrote: Hi Lars, I've changed (and shortened) your description to the blurb I found on your website: Orangevolt AN

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
I wrote my own task based on source i found on the web. The source is on: http://www.javaworld.com/javaworld/javatips/jw-javatip66.html -Original Message- From: manoj puthran [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 11:19 AM To: 'Ant Users List' Subject: RE: How to open U

RE: How to open URL from ANT.

2005-05-18 Thread manoj puthran
Even I like to find out the same. But in the meantime I am using the exec task, i.e. running system command, to open my url in the browser, in Win2k. http://ant.apache.org"; /> -Original Message- From: Nir Geier [mailto:[EMAIL PROTECTED] S

Re: roxes ant tasks moved to sourceforge !!

2005-05-18 Thread Stefan Bodewig
Hi Lars, I've changed (and shortened) your description to the blurb I found on your website: Orangevolt ANT Tasks is a collection of Tasks for Apache Ant. The Orangevolt Ant Tasks collections provides a bunch of Appplication Deployment related Tasks from windows specific

RE: Exclude Single Java File from Compilation

2005-05-18 Thread Lim, Teck Hooi
U r right. I was thinking the class was a standalone. Now, I remember. I made some changes lately. Thanks. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 4:24 PM > To: user@ant.apache.org > Subject: AW: Exclude Single Java File from

Re: nontrivial dependencies

2005-05-18 Thread Jon Jagger
Michael Cepek wrote: [snip] Our team needs to be able to use the following Ant targets from within ANY of the top-level java package directories (xxx = one of these package names: admin, db, controller, and util): [snip] We also need these targets: build-all, test-all, javadoc-all, and clean-all.

AW: Exclude Single Java File from Compilation

2005-05-18 Thread Jan . Materne
Maybe the compiler does that, because a compiled class depends on that? Jan > -Ursprüngliche Nachricht- > Von: Lim, Teck Hooi [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 18. Mai 2005 10:27 > An: user@ant.apache.org > Betreff: Exclude Single Java File from Compilation > > Hi, > >

How to open URL from ANT.

2005-05-18 Thread Nir Geier
Hi all. How can I open url from ant? For example I have a documentation page that I want to display (HTML page) I want to click on ant target which opens the page in browser. Is there any option to open URL with Browser? Ty in advance. --

Exclude Single Java File from Compilation

2005-05-18 Thread Lim, Teck Hooi
Hi, I want to exclude a single java source from compilation but ant still compiles that file. The file name is ServiceActivationNotificationBySMS.java and I included its name in the excludes attribute of shown below, The ant verbose print out, shown below, I get shows that ServiceActivationN

RE: ANT Configuration

2005-05-18 Thread Lim, Teck Hooi
You need to set your path to the directory bin in your ant installation dir. This dir contains ant.bat. > -Original Message- > From: tushar S Kulkarni [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 4:07 PM > To: user@ant.apache.org > Subject: ANT Configuration > > >  Hi > I

RE: nontrivial dependencies

2005-05-18 Thread Rainer Noack
Hi Michael, just a hint: what's about 's if/unless attributes... BTW: How would you handle this in eclipse? Cheers Rainer > -Original Message- > From: Michael Cepek [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 17, 2005 11:17 PM > To: user@ant.apache.org > Subject: nontrivial dependencie

ANT Configuration

2005-05-18 Thread tushar S Kulkarni
 Hi I have a problem with configuring ant 1.6.2. I have set ANT_HOME in path but still it doesnt work. I get error message 'ant' is not recognized as an internal or external command, operable program or batch file. How to resolve this error?