Re: verifying encoding value using xmlvalidate task

2011-06-06 Thread Parag Doke
Hi Dominic. I'm no ant expert, but just trying to understand the requirement. If you intent to check presence of encoding value in XML files ? Or is your intent to validate the XML files using the encoding ? Thanks in advance, Parag Doke Save paper, save trees. Do not print emails/documents unless

RE: How change variable based on environment variable value

2011-06-06 Thread Echlin, Robert
Thanks for your question, Brian, I didn't know about the "else" parameter on before I checked that out. I generally learn from helping others. :-) Rob > -Original Message- > From: Brian McCann [mailto:bmccan...@comcast.net] > Sent: Monday, June 06, 2011 3:02 PM > To: user@ant.apache.

RE: How change variable based on environment variable value

2011-06-06 Thread Brian McCann
Thanks for helping with this issue BPM -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Monday, June 06, 2011 1:58 PM To: Brian McCann Subject: RE: How change variable based on environment variable value Sorry, that should be: ... On Mon, 6 Jun 2011, Scot P.

RE: How change variable based on environment variable value

2011-06-06 Thread Brian McCann
Many thanks for your help :) BPM -Original Message- From: Echlin, Robert [mailto:robert.ech...@windriver.com] Sent: Monday, June 06, 2011 1:51 PM To: Brian McCann Subject: RE: How change variable based on environment variable value > -Original Message- > From: Brian McCann [mai

RE: How change variable based on environment variable value

2011-06-06 Thread Brian McCann
Hi Scott, Thanks for pointing that out I've been calling the targets manually on the commandline. even if I got them to work the build file would still have failed due to no depends Thanks, BPM -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Monday, June 06, 201

RE: How change variable based on environment variable value

2011-06-06 Thread Brian McCann
Hi Robert, couple questions to make sure I'm following you right. 1. I'm currently setting the value of JOF in the build.userproperties file to " JOF=C:/Inetpub/wwwroot/wo30" and even if I try to run a conditional in the build.xml file < property name="JOF" value="F:/Inetpub/wwwroot/wo30"/> The v

RE: How change variable based on environment variable value

2011-06-06 Thread Scot P. Floess
I don't see how either target checkbuildbox nor setJOF is called... Your default target is set to "build" - how are you executing when you run ant? I'd like to see your depends, etc... On Mon, 6 Jun 2011, Brian McCann wrote: Hi, This is the complete build.xml file. Thanks, BPM ==

RE: How change variable based on environment variable value

2011-06-06 Thread Echlin, Robert
Hi Brian, Try this code. Note: you can't put the default value of JOF into a file that will be loaded automatically when ant is run, such as (home)/.antrc, as that would set JOF before your code executes. First set works, last set fails. On the other hand, you could set "JOF_default" in a proper

RE: How change variable based on environment variable value

2011-06-06 Thread Brian McCann
Hi, This is the complete build.xml file. Thanks, BPM == ${env.BUILD_BOX}

Re: How change variable based on environment variable value

2011-06-06 Thread Scot P. Floess
Any chance we can see the complete build.xml? On Mon, 6 Jun 2011, Brian McCann wrote: Hi, Below is xml from my build.xml file. I'm trying to set a property value based on the condition that the build.xml file is being run on the build box. I created a system variable and set it to true on a Wi

How change variable based on environment variable value

2011-06-06 Thread Brian McCann
Hi, Below is xml from my build.xml file. I'm trying to set a property value based on the condition that the build.xml file is being run on the build box. I created a system variable and set it to true on a Win XP SP3 build system. I tested this part of the xml and the code " ${env.BUILD_BOX}" works

verifying encoding value using xmlvalidate task

2011-06-06 Thread dominic Tippabattuni
Hi, I am working on a task which can verify xml encoding value. All xml files in the project should be verified. It would be great if someone can point me in the right direction. The line in the xml file which needs to be verified is Thanks Nick

Re: IvyDE Workspace Resolver

2011-06-06 Thread efe4it
Hi Since my previous post, I added javadoc artefact publication, which works fine if calling ivy from ANT (after some tweaking of deliver/publish). But now the WorkspaceResolver is lost again, and my only solution to stop it complaining is to disable version checking in the global IvyDE preferen

Travel Assistance applications open for ApacheCon North America 2011

2011-06-06 Thread Matt Benson
The Apache Software Foundation (ASF)'s Travel Assistance Committee (TAC) is now accepting applications for ApacheCon North America 2011, 7-11 November in Vancouver BC, Canada. The TAC is seeking individuals from the Apache community at-large --users, developers, educators, students, Committers, an

Re: Newbie question, error fetching dependences

2011-06-06 Thread wolfgang haefelinger
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22tomcat%22%20AND%20a%3A%22jasper-compiler%22 There is no POM for version 4.1.36 On Mon, Jun 6, 2011 at 11:50 AM, Fabio Souto wrote: > Hi, > > When I try to fetch the dependences with ant -f fetch.xml -Ddest=system I get > the following error: >

Newbie question, error fetching dependences

2011-06-06 Thread Fabio Souto
Hi, When I try to fetch the dependences with ant -f fetch.xml -Ddest=system I get the following error: ... jspc: [artifact:dependencies] Downloading: tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom [artifact:dependencies] [WARNING] Unable to get resource from repository remote (http://