Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines

2022-07-28 Thread Dave Brosius
now. Thanks, Munawar From: Dave Brosius Sent: Monday, July 25, 2022 7:14 PM To: user@ant.apache.org Subject: Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines This is really an ant-contrib q

Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines

2022-07-28 Thread Munawar Rashid
'parallel' option of 'For', can be handled manually for now. Thanks, Munawar From: Dave Brosius Sent: Monday, July 25, 2022 7:14 PM To: user@ant.apache.org Subject: Re: [External] : Antcontrib for task with 'parallel' option is not

Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines

2022-07-25 Thread Dave Brosius
This is really an ant-contrib question,not an ant question, but i guess good luck getting  someone to respond there. When i look at 0.6 source, here https://sourceforge.net/projects/ant-contrib/files/ant-contrib/ant-contrib-0.6/ant-contrib-0.6-src.zip/download the For task doesn't not have a

Antcontrib for task with 'parallel' option is not working in certain Windows Server machines

2022-07-25 Thread Munawar Rashid
Hi I'm using Ant 1.9.7 and Antcontrib 0.6. I have a script where I'm using the 'for' task with 'parallel' set to true. It fails on one Windows server 2012 R2 machine with error message "for doesn't support the "parallel" attribute". This same script passes in all other Windows 2012 R2 machines.

Re: basedir setting not working?

2013-04-18 Thread Michael Niemand
uot; in your >> home dir?) >> >> >> Jan >> >> > -----Ursprüngliche Nachricht- >> > Von: Michael Niemand [mailto:michael.niem...@gmail.com] >> > Gesendet: Mittwoch, 17. April 2013 16:12 >> > An: user@ant.apache.org >> > Bet

AW: basedir setting not working?

2013-04-18 Thread jhm
aths" as new properties). If this doesnt answer your question I didnt get your point ... Jan > -Ursprüngliche Nachricht- > Von: Michael Niemand [mailto:michael.niem...@gmail.com] > Gesendet: Donnerstag, 18. April 2013 13:07 > An: Ant Users List > Betreff: Re: basedir set

Re: basedir setting not working?

2013-04-18 Thread Michael Niemand
t; Jan > > > -Ursprüngliche Nachricht- > > Von: Michael Niemand [mailto:michael.niem...@gmail.com] > > Gesendet: Mittwoch, 17. April 2013 16:12 > > An: user@ant.apache.org > > Betreff: basedir setting not working? > > > > Hi folks, > > > > my b

AW: basedir setting not working?

2013-04-17 Thread jhm
Niemand [mailto:michael.niem...@gmail.com] > Gesendet: Mittwoch, 17. April 2013 16:12 > An: user@ant.apache.org > Betreff: basedir setting not working? > > Hi folks, > > my basedir setting doesnt seem to work. > > I have the same project I check out to two different locations

basedir setting not working?

2013-04-17 Thread Michael Niemand
Hi folks, my basedir setting doesnt seem to work. I have the same project I check out to two different locations. in the second project the basedir setting doesnt seem to work. Here's what I do: The result is always: [echo] *** what's considered basedir before setting it: M:\pa

Re: not working for having multiple tags

2012-03-06 Thread Stefan Bodewig
On 2012-03-07, Joe Attardi wrote: > On Tue, Mar 6, 2012 at 11:51 PM, Stefan Bodewig wrote: >> No. exludes always take precedence over includes, the order of elements >> is not relevant. If you need a different behavior, you have to use >> selectors. > Sorry, my mistake. Don't worry, if I sou

Re: not working for having multiple tags

2012-03-06 Thread Joe Attardi
On Tue, Mar 6, 2012 at 11:51 PM, Stefan Bodewig wrote: > No. exludes always take precedence over includes, the order of elements > is not relevant. If you need a different behavior, you have to use > selectors. Sorry, my mistake. >

Re: not working for having multiple tags

2012-03-06 Thread Stefan Bodewig
On 2012-03-07, Joe Attardi wrote: > Have you tried reversing the order of the and > elements? Not sure if this makes a difference, but you're including > everything under mypackage/p1/** then excluding something under > p1. Could it be a precedence issue? No. exludes always take precedence ov

Re: not working for having multiple tags

2012-03-06 Thread Stefan Bodewig
On 2012-03-07, Surya Kiran wrote: > I have a task as below > classpath="xyz.jar" > debug="on"> > > > > > > > But is not working. By "exclude is not working" I assume javac compi

Re: not working for having multiple tags

2012-03-06 Thread Joe Attardi
I have a task as below > > classpath="xyz.jar" > debug="on"> > > > > > > > > > > > But is not working. > > Please let me know whats the problem or any other alternatives. Due to >

not working for having multiple tags

2012-03-06 Thread Surya Kiran
Folks, I have a task as below But is not working. Please let me know whats the problem or any other alternatives. Due to legacy structure we need to put multiple tags in Please help. Thanks

repreport task not working with m2compatible repository

2012-02-08 Thread vdalan
Hello, we intent to set up some repositories with maven2 compatible layout. I was wondering if there is any plan to fix this issue: https://issues.apache.org/jira/browse/IVY-503 thanks, alain -- View this message in context: http://old.nabble.com/repreport-task-not-working-with-m2compatible

Build failed, fetch.xml not working

2011-05-30 Thread Arun
Hi, I have been trying to install ANT using the binary version but fetch.xml fails everytime. I am attaching my ant diagnostics report. I'm also attaching the log file for ant -f fetch.xml command. Any help would be appreciated. Regards, Arun --- Ant diagnostics report --- Apache Ant

Re: project.createTask() not working with ant-1.8.2

2011-02-17 Thread Mohan
ssage in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3390678.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@an

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Stefan Bodewig
[Pulling together a few responses] On 2011-02-15, Mohan wrote: > I'm not using any wrapper script for ant invocation. I'm invoking the > ant script directly from Ant-1.8.2/bin/ant as shown in the second > update. "the ant script directly from Ant-1.8.2/bin/ant" is the wrapper script I was talkin

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Vimil Saju
> Just to clarify, if I use getProject(), I'm not getting an > error.  But I > would like to create a new Project in the Obfuscate's > execute method where I > want to run my tasks. > > Is there no way to create a new Project and run the tasks > that I want? It s not advisable to create a new p

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Mohan
in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3386140.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apac

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Mohan
Stefan, Are you able to reproduce the issue using the code snippet provided? Thanks, Mohan. -- View this message in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3386125.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread bool
>> You shouldn't create a new Project object Is there any reason? It was working perfectly fine with 1.7.1 version -- View this message in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3386108.html Sent from the Ant - Users m

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Vimil Saju
>     /** >      * Executes the desObfuscate task. >      */ >     @Override >     public void execute() throws BuildException >     { >         myProject = new Project(); > >         // Create ANT tasks >         Task delete = (Delete) > myProject.createTask(DELETE_TASK); > >     } > } You shou

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Mohan
ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Total time: 0 seconds -- View this message in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3385995.html Sent from the Ant - Use

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread bool
Also we see failures when we donot have "force" attribute set for overriding read only files. So we should be using 1.8.2 version only right as this feature is present only in this version.??? -- View this message in context: http://ant.1045680.n5.nabble.com/project-createTask-n

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Mohan
his command. Could you let me know if I'm missing something? Thanks, Mohan. -- View this message in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3385921.html Sent from the Ant - Users mailing list archive at Nabble.com.

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Stefan Bodewig
On 2011-02-15, bool wrote: > createTask() method is throwing the following error with ant-1.8.2 while it > works perfectly with Ant 1.7.1. > import org.apache.tools.ant.taskdefs.Delete; > Delete delete = (Delete) myProject.createTask("Delete"); > jar:file:/myant/ant-1.8.2/lib/ant.jar!/org/apache

Re: project.createTask() not working with ant-1.8.2

2011-02-15 Thread Mohan
View this message in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3385725.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe,

project.createTask() not working with ant-1.8.2

2011-02-15 Thread bool
antlib.xml and then it started working again. Kindly let me know if there is a proper solution to this. And why this is not working for me. -- View this message in context: http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3385716.html Sent from the A

Fallback configuration not working

2010-08-25 Thread Panayiotis Karabassis
In my ivy.xml I have: defaultconfmapping="default->@,sources(),javadoc()" and below a dependency: conf="default"/> I am getting this error: [NOT FOUND ] org.springframework#spring;2.5.6!spring.jar(javadoc) (554ms) central: tried http://repo1.maven.org/maven2/org/springframework/spring/

Re: fileset with exclude not working

2010-02-01 Thread Stefan Bodewig
On 2010-02-01, Kamran Hameed wrote: > Now there are two files Sum.java and Band.java in the mpi package that i > dont want javadoc tool to generate javadocs. So i try to exclude them using > > > > The trailing ** are not necessary if the files are real

fileset with exclude not working

2010-02-01 Thread Kamran Hameed
Folks i have this directory structure src/mpi/ src/xdev/ src/runtime src/mpjbuf Now i want ant's javadoc tool to generate javadocs of mpi package only. I did it successfully using Now there are two files Sum.java and Band.java in the mpi package that i dont want jav

Re: Script task not working

2009-12-09 Thread Harry_
gt; > -- View this message in context: http://old.nabble.com/Script-task-not-working-tp26694129p26711462.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Script task not working

2009-12-09 Thread Stefan Bodewig
On 2009-12-08, Harry_ wrote: > It is working fine on 1.7.1... Does ant support this task as core task by > default in 1.7.1 as I do not have js.jar on machine having 1.7.1. The script task in Ant 1.6.5 uses Apache BSF as its sole scripting engine, with Ant 1.7.x we added support for javax.script

Script task not working

2009-12-08 Thread Harry_
Hi, I have created following Script task and it is not working on Ant version 1.6.5 but is working on 1.7.1. I added js.lib specified as library dependency for this task on 1.6.5 but it is still not working. <![CD

haltOnFailure not working

2009-11-15 Thread Ben Cuthbert
All I am sure this has been answered before why does haltOnFailure when set to true not fail when the any tasks fail I have the following target showoutput="true" failureproperty="test.failed">

Re: timeout parameter not working in Sshexec task

2009-10-16 Thread SachinSr
scr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > > -- View this message in context: http://www.nabble.com/timeout-parameter-not-working-in-Sshexec-task-tp25908361p25922049.html Sent from the Ant - Users mailing list archive at Nabble.co

Re: timeout parameter not working in Sshexec task

2009-10-15 Thread Stefan Bodewig
On 2009-10-15, SachinSr wrote: > I saw from so many Ant user in the internet raising their issue with > 'timeout' not really working once after the command is finished on the > remote host using Sshexec task. Can you find a Bugzilla issue raised for this? I can't remember seeing a fix for this

timeout parameter not working in Sshexec task

2009-10-15 Thread SachinSr
we have any fix for this? Thanks, Sachin -- View this message in context: http://www.nabble.com/timeout-parameter-not-working-in-Sshexec-task-tp25908361p25908361.html Sent from the Ant - Users mailing list archive at Nabble.com. -

javac debug option not working

2009-07-29 Thread Kevin Javia
that. The IDE does not allow me to put a break point at source with a message like No executable code found. I am not able to figure out what is wrong with the script. Kevin. -- View this message in context: http://www.nabble.com/javac-debug-option-not-working-tp24732233p24732233.html Sent from

Re: exec unix script not working for me

2009-07-22 Thread David Weintraub
On Wed, Jul 22, 2009 at 12:04 PM, Amy Davis wrote: > That was it! I use JEdit to edit my unix script file, but neglected to use > the unix line separator under utilities => buffer options. > The error messages I was getting did not lead me to the real problem. > Thanks so much! I've spent a lot of

Re: exec unix script not working for me

2009-07-22 Thread Amy Davis
ing that change to my unix script file, each of the following 3 options now work. This does not work: - Original Message From: David Weintraub To: Ant Users List Sent: Tuesday, July 21, 2009 7:46:28 PM Subject: Re: exec unix script not workin

Re: exec unix script not working for me

2009-07-21 Thread glenn opdycke-hansen
exit 1 > > fi > > ORACLE_HOME=/u00/oracle/oracle/product/10.2.0/db_1 > > export ORACLE_HOME > > /u00/oracle/oracle/product/10.2.0/db_1/bin/sqlplus -L > username/passw...@sidname @${deployScriptPath}/MasterDeployScript.sql > > ${deployScriptPath}/SQLDeploy.ou

Re: exec unix script not working for me

2009-07-21 Thread David Weintraub
]; then >    echo "The MasterDeployScript.sql file path is required." >    exit 1 > fi > ORACLE_HOME=/u00/oracle/oracle/product/10.2.0/db_1 > export ORACLE_HOME > /u00/oracle/oracle/product/10.2.0/db_1/bin/sqlplus -L > username/passw...@sidname @${deployScriptPath}

Re: exec unix script not working for me

2009-07-21 Thread David Weintraub
eployScriptPath}" ]; then >    echo "The MasterDeployScript.sql file path is required." >    exit 1 > fi > ORACLE_HOME=/u00/oracle/oracle/product/10.2.0/db_1 > export ORACLE_HOME > /u00/oracle/oracle/product/10.2.0/db_1/bin/sqlplus -L > username/passw...@sidna

Re: exec unix script not working for me

2009-07-21 Thread Amy Davis
t.sql > ${deployScriptPath}/SQLDeploy.out - Original Message From: David Weintraub To: Ant Users List Sent: Tuesday, July 21, 2009 12:04:48 PM Subject: Re: exec unix script not working for me If you put a Shebang in your shell script, and you have the executable bit on in the mode, you d

Re: exec unix script not working for me

2009-07-21 Thread David Weintraub
If you put a Shebang in your shell script, and you have the executable bit on in the mode, you don't have to specify the shell. HOWEVER, if you do use the shell, you need to put the full directory name where your script can be found: By the way, is ${sql.deploy.script} a directory

Re: exec unix script not working for me

2009-07-21 Thread robert lazarski
ript file is being pulled from SVN into TeamCity's work area when > the build is run. Its from there that I'm trying to execute the script. Hmm, try: > > - Original Message > From: robert lazarski > To: Ant Users List > Sent: Tuesday,

Re: exec unix script not working for me

2009-07-21 Thread Amy Davis
-- From: robert lazarski To: Ant Users List Sent: Tuesday, July 21, 2009 9:25:56 AM Subject: Re: exec unix script not working for me On Tue, Jul 21, 2009 at 11:21 AM, Amy Davis wrote: > > I'm having trouble getting a unix script to execute through my ant script. > What am I

Re: exec unix script not working for me

2009-07-21 Thread robert lazarski
On Tue, Jul 21, 2009 at 11:21 AM, Amy Davis wrote: > > I'm having trouble getting a unix script to execute through my ant script. > What am I doing wrong? > > /u01/ossint/TeamCityBuildAgent/work/ba331bf4546cf0c1/sql/build.xml:62: > Execute failed: java.io.IOException: Cannot run program "runSqlP

exec unix script not working for me

2009-07-21 Thread Amy Davis
I'm having trouble getting a unix script to execute through my ant script. What am I doing wrong? Attempt 1 ant script snippet: Attempt 1 verbose output: [if] copy [copy] Copying 1 file to /u01/ossint/TeamCityBuildAgent/work/ba331bf4546cf0c1/sql/deployment/r1-0 [if] chmod

Re: 2.0.0rc2 HTTP Authentication For Publishing Not Working

2009-01-26 Thread CalvinJ
n and sets the URLHandler to BasicURLHandler. -- View this message in context: http://www.nabble.com/2.0.0rc2-HTTP-Authentication-For-Publishing-Not-Working-tp21593709p21669107.html Sent from the ivy-user mailing list archive at Nabble.com.

RE: Uptodate task not working

2009-01-15 Thread Martin Gainty
necessarily endorse content contained within this transmission. > Date: Thu, 15 Jan 2009 07:55:06 -0800 > From: fadedmaxi...@gmail.com > To: user@ant.apache.org > Subject: Re: Uptodate task not working > > > Looking at the mappers that are provided: identity, fla

Re: Uptodate task not working

2009-01-15 Thread Faded-Maximus
e task. > > Brian > > On Thu, Jan 15, 2009 at 9:38 AM, Faded-Maximus > wrote: > >> >> Thanks for the reply. I understand what you mean and it makes sense that >> it's >> not working. I'm not sure how I would go about implementing what I >&

Re: Uptodate task not working

2009-01-15 Thread Brian Stephenson
create a list of file that is in the proper format for the UpToDate task. Brian On Thu, Jan 15, 2009 at 9:38 AM, Faded-Maximus wrote: > > Thanks for the reply. I understand what you mean and it makes sense that > it's > not working. I'm not sure how I would go about implementing

Re: Uptodate task not working

2009-01-15 Thread Faded-Maximus
Thanks for the reply. I understand what you mean and it makes sense that it's not working. I'm not sure how I would go about implementing what I actually want too though. If the zip file is newer then any file in the unzipped location, I want to unzip the zipped file again so I hav

Re: Uptodate task not working

2009-01-14 Thread Brian Stephenson
will appear that no new build is required. Testing this, I have tried and older build.zip file and a newer build.zip file. Both cases Required is always set, and a message appears saying a new build is required. Can somebody help me figure out where I am going wrong? Thanks. -- View this messa

Uptodate task not working

2009-01-14 Thread Faded-Maximus
-task-not-working-tp21461848p21461848.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

AW: not working

2008-11-13 Thread Jan.Materne
r 2008 13:54 >An: Ant Users List >Betreff: Re: not working > >Thanks. Yes, I can't seem to find the antcontrib... it seems to be >ccptask or something. > >I'll check out Antelope. =) > >Patrick > >On Thu, Nov 13, 2008 at 6:32 AM, Rebhan, Gilbert >&l

RE: not working

2008-11-13 Thread Rebhan, Gilbert
-Original Message- From: Patrick Waugh [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 1:54 PM To: Ant Users List Subject: Re: not working /* Thanks. Yes, I can't seem to find the antcontrib... it seems to be ccptask or something. I'll check out Antelope. =)

Re: not working

2008-11-13 Thread Patrick Waugh
lto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2008 1:11 PM > To: Ant Users List > Subject: not working > > /* > > and line 89 is the . I don't see an task in Ant docs either. > > What is wrong? > */ > > i wrote = > > ... > > *** > or ch

Re: not working

2008-11-13 Thread Mark Salter
Patrick Waugh wrote: > What is wrong? You need to get ant-contrib :- http://ant-contrib.sourceforge.net/ -- Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: not working

2008-11-13 Thread Rebhan, Gilbert
-Original Message- From: Patrick Waugh [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 1:11 PM To: Ant Users List Subject: not working /* and line 89 is the . I don't see an task in Ant docs either. What is wrong? */ i wrote = ... *** or check the condition

not working

2008-11-13 Thread Patrick Waugh
I am doing this: in build.xml, and get this error: /home/patrick/repo/dib/common/build.xml:89: Problem: failed to create task or type if Cause: The name is undefined. Action: Check the spelling. Action:

Re: basename & variables not working in solaris

2008-08-15 Thread viet nguyen
: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/basename---variables-not-working-in-solaris-tp18964372p19001726.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: basename & variables not working in solaris

2008-08-13 Thread Dominique Devienne
On Wed, Aug 13, 2008 at 9:37 AM, viet nguyen <[EMAIL PROTECTED]> wrote: > Is there a better way to accomplish what I was trying to do? Have you tried with ? Assuming your jars are all in the same dir, you won't need basename, a nested should suffice, and using a pathsep of "/> http://www.google.

basename & variables not working in solaris

2008-08-13 Thread viet nguyen
although it's a variable. Its value can't be changed. I'm using ant 1.7.0, ant-contrib-1.0b2.jar, jdk1.5.08. Is there a better way to accomplish what I was trying to do? -- View this message in context: http://www.nabble.com/basename---variables-not-working-in-solaris-tp18964372p1

WAR file - preserve not working as expected

2008-03-10 Thread Rob Wilson
I have an issue where I want to include images into a war file, but overwrite some of the existing images in a second pass. I've tried copying the baseline images into the war in one war task and then overwrite the images in a second war task. If I choose duplicate="add" it does not replace the i

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Ramu Sethu
nux > system and it will be available to env. > > Sometimes things get more complicated than is necessary... > > > Chuck Holzwarth > > > - Original Message > From: David Weintraub <[EMAIL PROTECTED]> > To: Ant Users List > Sent: Tuesday, February 2

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Chuck Holzwarth
From: David Weintraub <[EMAIL PROTECTED]> To: Ant Users List Sent: Tuesday, February 26, 2008 2:53:25 PM Subject: Re: env.COMPUTERNAME not working in linux There really isn't a standard environment variable name for storing the system name on the various flavors of Unix

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread David Weintraub
There really isn't a standard environment variable name for storing the system name on the various flavors of Unix. This is usually set when users log in. Some shells do set the environment variable HOSTNAME, but not all. Even on Windows, the environment variable COMPUTERNAME cannot be trusted beca

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Gilbert Rebhan
Hi, Samuel Monsarrat wrote: >> Is COMPUTERNAME only for windows? Is there any workaround to print the >> hostname(Linux)? >> > Indeed yes COMPUTERNAME is a Windows standard env variable that does not > exist on linux. env. is dangerous in a multi-os build system, as you > are accessing the

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Vijay Aravamudhan
Is COMPUTERNAME only for windows? Is there any workaround to print the hostname(Linux)? The end of that statement is misleading - are you looking for the hostname or the host OS? Or is your machine named 'Linux'? Vijay Ramu Sethu wrote: Hi We have a build script which runs in both windows

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Samuel Monsarrat
Ramu Sethu wrote: Hi We have a build script which runs in both windows and Linux m/c. Recently i added property to print the computer name of the m/c in which the script runs. Is COMPUTERNAME only for windows? Is there any workaround to print the hostname(Linux)? Indeed yes COMPUTERNAME is a

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Peter Reilly
>From a console, run the command "env" to see the environment variables. On unix/linux the env variable "HOSTNAME" is normally used to get the name of the computer. (Although on my current machine this is "localhost.localdomain"). Peter On Tue, Feb 26, 2008 at 2:09 PM, Ramu Sethu <[EMAIL PROTEC

env.COMPUTERNAME not working in linux

2008-02-26 Thread Ramu Sethu
Hi We have a build script which runs in both windows and Linux m/c. Recently i added property to print the computer name of the m/c in which the script runs. In windows everything is fine. Ant sets the property to the hostname in windows. But in Linux it prints the hostname like "${env.COMPUTERN

Re: inline property expansion not working as advertised

2008-01-15 Thread Alain ROY
Adding , the expansion occurs. deploy.url is ${deploy.url} It seems not to occur when the property file is given in the command line. Regards Alain ROY On Thu, 10 Jan 2008 14:52:27 -0800 (PST) Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: > From the Property task docs

Re: inline property expansion not working as advertised

2008-01-14 Thread Michael Pelz Sherman
essage > From: Michael Pelz Sherman > To: Ant Users List > Sent: Thursday, January 10, 2008 5:52:27 PM > Subject: inline property expansion not working as advertised > > > From the Property task docs > (http://ant.apache.org/manual/CoreTasks/property.html) > > =

Re: inline property expansion not working as advertised

2008-01-11 Thread David Weintraub
me) > (540) 335-3171 (cell) > > - Original Message > From: Michael Pelz Sherman > To: Ant Users List > Sent: Thursday, January 10, 2008 5:52:27 PM > Subject: inline property expansion not working as advertised > > > From the Property task docs > (http://ant

Re: inline property expansion not working as advertised

2008-01-11 Thread Michael Pelz Sherman
Subject: inline property expansion not working as advertised >From the Property task docs (http://ant.apache.org/manual/CoreTasks/property.html) In-file property expansion is very cool. Learn to use it. Example: build.compiler=jikes deploy.server=luc

Re: inline property expansion not working as advertised

2008-01-11 Thread Chuck Holzwarth
:27 PM Subject: inline property expansion not working as advertised >From the Property task docs (http://ant.apache.org/manual/CoreTasks/property.html) In-file property expansion is very cool. Learn to use it. Example: build.compiler=jikes deploy.ser

inline property expansion not working as advertised

2008-01-10 Thread Michael Pelz Sherman
>From the Property task docs >(http://ant.apache.org/manual/CoreTasks/property.html) In-file property expansion is very cool. Learn to use it. Example: build.compiler=jikes deploy.server=lucky deploy.port=8080 deploy.url=http://${deploy.server}:${deploy.port}

Dependset not working for me (checking if files are up to date)

2007-08-28 Thread Lionel van den Berg
I ended up with teh following script after many many attempts to try to get something working. It's a bit of a hack now but I thought it was working until today. The above doesn'

RE: ant -lib seems not working on Linux RHEL 5

2007-07-09 Thread Vladimir Egorov
, July 05, 2007 5:18 AM > To: Ant Users List > Subject: RE: ant -lib seems not working on Linux RHEL 5 > > Hi Jan, > > Unfortunately '-lib ' does not work either. > > Any other suggestions? Thank you for your help, - yung > > |-Original Messa

RE: ant -lib seems not working on Linux RHEL 5

2007-07-05 Thread Yung Choi
Hi Jan, Unfortunately '-lib ' does not work either. Any other suggestions? Thank you for your help, - yung |-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] |Sent: Wednesday, July 04, 2007 1:35 AM |To: user@ant.apache.org |Subject: AW: ant -lib

AW: ant -lib seems not working on Linux RHEL 5

2007-07-03 Thread Jan.Materne
>The Ant -lib option does not seem working on Linux RHEL 5. > >I am in a directory, where I have ant-contrib-1.0b2.jar and the >following t.xml. -lib specifies a path to search for jars and classes If your antlib.jar is in the current directory, try "ant -lib ." Jan > >$ cat t.

ant -lib seems not working on Linux RHEL 5

2007-07-03 Thread Vladimir Egorov
Hi Ant Users, The Ant -lib option does not seem working on Linux RHEL 5. I am in a directory, where I have ant-contrib-1.0b2.jar and the following t.xml. $ cat t.xml I run this using the -lib option. $ ant -lib ant-contrib-1.0.b2 -f t.xml Buildfile: t.xml [taskdef] Could not

Classpaths in build file not working properly

2007-06-12 Thread Daniel Gresh
Hi, I have a build file, and in that build file I'm setting up my classpath and assigning it. However, when I try to run my compiled code, I get a NoClassDefFoundError: service/ImageProcessor. When I run my code and set the classpath manually using the -cp argument to the java command, the p

Re: javac exclude not working for directories

2007-03-22 Thread Matt Benson
--- dtown <[EMAIL PROTECTED]> wrote: > I tried that before, and it failed. I attempted to > compile classes in the > directories I wanted to exclude (it failed because > they have dependencies > which I did not include in the classpath) Okay, wait. First, yes, I forgot that a pattern ending in

Re: javac exclude not working for directories

2007-03-22 Thread dtown
I tried that before, and it failed. I attempted to compile classes in the directories I wanted to exclude (it failed because they have dependencies which I did not include in the classpath) Here is the task I used: javac srcdir="${root}" destdir="${classes}" debug="on"

Re: javac exclude not working for directories

2007-03-22 Thread Matt Benson
You've excluded the directories, but not their contents. Append ** to each. -Matt --- dtown <[EMAIL PROTECTED]> wrote: > I can't seem to figure out what I am doing wrong. > The following is my javac > task: > > destdir="${classes}" >debug="on" >debuglevel="l

Re: javac exclude not working for directories

2007-03-22 Thread dtown
Turns out your right...critical mistake on my part, I had a cross-package dependency where I shouldn't have. Funny how 1 line will kill your build script. Also, just to note, I removed the ** from my includes/excludes, and it behaved as expected. Thanks again! On 3/22/07, Matt Benson <[EMAIL

javac exclude not working for directories

2007-03-22 Thread dtown
I can't seem to figure out what I am doing wrong. The following is my javac task: I basically want to exclude everything within the dir1 & dir2 (subdirectories included), and exclude the directories dir1/app2 & dir2/app3 (and all of their subdirectories). The include works as expected, but

XSLTProcess destination directory not working in linux

2007-02-14 Thread subir bhaumik
Hi, I am using apache-ant-1.6.5 api to generate report in html format using XSLTProcess task. I want to generate some html files with the help of an xsl stylesheet into any directory taking an xml as input. It's OK when iam doing this in Windows enviorment. But when i am executing this on

Re: Javadoc task not working in 1.7beta3?

2006-10-25 Thread Antoine Levy-Lambert
Hello Adrian, I do not know where this problem is coming from. What about filling in a bug report with a simple build.xml, specifying your environment (OS, JDK version). Regards, Antoine Rodriguez, Adrian wrote: > Hi. I can't javadoc to generate my documentation using 1.7beta3. Here > are the me

Javadoc task not working in 1.7beta3?

2006-10-25 Thread Rodriguez, Adrian
Hi. I can't javadoc to generate my documentation using 1.7beta3. Here are the messages I constantly receive when I run the javadoc task: Does anyone have any insight on this? thanx =) [javadoc] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl [javadoc] at com.sun.tools.java

Re: "dest" attribute of apply task is not working as expected?

2006-06-05 Thread Matt Benson
--- "Guttula, Mohan" <[EMAIL PROTECTED]> wrote: > Hello All, > > I'm using "apply" task to compile my actuate reports > using the following > target: > - > > >value="C:\Program > Files\Actuate8\eRDPro\bin" > > > >dest="c:\temp\destination

"dest" attribute of apply task is not working as expected?

2006-06-05 Thread Guttula, Mohan
Hello All, I'm using "apply" task to compile my actuate reports using the following target: -

Re: taskdef with classpathref not working

2006-01-11 Thread Michael Alexander
Thanks to Steve and Stefan! In experimenting, I had put the axis-ant.jar in $ANT_HOME/lib and that was the root of the classloading problem as described in the faq. I was able to quickly determine this to be the case by running an "ant -diagnostics". Steve Loughran wrote: Michael Alexander w

  1   2   >