Build.xml failed in ANT

2022-07-05 Thread Deepak Lalchandani
Hi Ant Mailing list, I have an issue with ant. Following is the error message below when build.xml has failed. ___ Ant path is as below ___ #Properties-File build_dir_war= MyProject/MyProject_WAR

RE: Specify source file language in build.xml?

2015-02-18 Thread Bickford, Mark
that had to be repaired before they would compile. -Original Message- From: Peter West [mailto:li...@pbw.id.au] Sent: February 17, 2015 7:24 PM To: Ant Users List; noloa...@gmail.com Subject: Re: Specify source file language in build.xml? Are you able to modify the files? iconv (on a

Re: Specify source file language in build.xml?

2015-02-17 Thread Peter West
t;> With the fragment above, you need to set the java.encoding property. >> You can do this from the command-line: >> >> ant -Djava.encoding=UTF-8 ... > > That's what I was looking for! My dumb ass tried the following: > >$ /usr/local/bin/ant

Re: Specify source file language in build.xml?

2015-02-17 Thread Jeffrey Walton
can do this from the command-line: > > ant -Djava.encoding=UTF-8 ... That's what I was looking for! My dumb ass tried the following: $ /usr/local/bin/ant "java.encoding=ascii" release Buildfile: /Users/android-permission-explorer/build.xml BUILD FAILED Target

Re: Specify source file language in build.xml?

2015-02-17 Thread Earl Hood
On Tue, Feb 17, 2015 at 2:58 PM, Jeffrey Walton wrote: >> Use the 'encoding' attribute to the task. ... > source="${java.source}" target="${java.target}" > debug="true" extdirs="" includeantruntime="false" > destdir="${out.c

Re: Specify source file language in build.xml?

2015-02-17 Thread Jeffrey Walton
ng UTF-8. > > Use the 'encoding' attribute to the task. Thanks Eric. It looks like build.xml brings in $ANDROID_SDK_ROOT/tools/ant/build.xml, and Android's build.xml uses {java.encoding}: $ cat "

Re: Specify source file language in build.xml?

2015-02-17 Thread Earl Hood
On Tue, Feb 17, 2015 at 2:11 PM, Jeffrey Walton wrote: > I'm trying to build an Android project from the command line. I'm > getting an error during `ant release`. The error is unmappable > character for encoding UTF-8. Use the 'encoding' attribute to the task. --ewh ---

Specify source file language in build.xml?

2015-02-17 Thread Jeffrey Walton
ks/property.html), but damn if I can figure out how to set a source file language to get past these errors. How do I specify a source file language in build.xml? - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Passing multiple targets from one build.xml to another build.xml

2012-03-02 Thread Swayam Prakash Vemuri
email.com > LinkedIn: http://uk.linkedin.com/in/chrisdholman > -Original Message- > From: Swayam Prakash Vemuri [mailto:vemuriswa...@gmail.com] > Sent: 01 March 2012 16:37 > To: Ant Users List > Subject: Re: Passing multiple targets from one build.xml to another > build.xm

RE: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Holman, Chris
d Engineer gTalk: chris.d.hol...@googlemail.com LinkedIn: http://uk.linkedin.com/in/chrisdholman -Original Message- From: Swayam Prakash Vemuri [mailto:vemuriswa...@gmail.com] Sent: 01 March 2012 16:37 To: Ant Users List Subject: Re: Passing multiple targets from one build.xml to another build

Re: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Swayam Prakash Vemuri
What I meant by I have only build xml, is I dont have build_abcd.xml and neither I have build_xyz.xml. Say that I have just build.xml with some targets defined. And Iam not invoking any other build xml from this build.xml, that being the case ant understands howmany ever targets I give

Re: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Swayam Prakash Vemuri
> > Then invoke this using > > ant -Dproduct=abcd -DBUILD_TARGET=build_and_deploy > > Regards, > Chris Holman > > -Original Message- > From: Swayam Prakash Vemuri [mailto:vemuriswa

RE: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Holman, Chris
assing multiple targets from one build.xml to another build.xml Hi All, In my topmost build.xml Iam doing below Now I am invoking ant as below ant -Dproduct

Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Swayam Prakash Vemuri
Hi All, In my topmost build.xml Iam doing below Now I am invoking ant as below ant -Dproduct=abcd javabuild deploy It is executing build_abcd.xml but it

Re: launch task in build.xml

2011-11-16 Thread Vimil Saju
You forgot to attach the script :) From: Solutions To: user@ant.apache.org Sent: Wednesday, November 16, 2011 8:54 AM Subject: launch task in build.xml I have seen a task "launch" in a build.xml, which I don't know it. I tried to search on Int

launch task in build.xml

2011-11-16 Thread Solutions
I have seen a task "launch" in a build.xml, which I don't know it. I tried to search on Internet but found nothing. Does anyone know it, and could you provide some document or link for description of it? The script looks like: Thanks! Solutions, -- View this message in conte

Re: Load property value from build.xml to build.properties

2011-11-04 Thread Stefan Bodewig
On 2011-11-03, Vinodh Kumar wrote: > I trying to load the property release.dir set in build.xml into > build.properties during runtime. But the value is not loaded into > build.properties file. Any hint or can anyone let me know how to get this > done?

Load property value from build.xml to build.properties

2011-11-04 Thread Vinodh Kumar
Hi, I trying to load the property release.dir set in build.xml into build.properties during runtime. But the value is not loaded into build.properties file. Any hint or can anyone let me know how to get this done? *build.xml* / / *build.properties

java task reformats build.xml

2011-08-28 Thread Vaclav Barta
Hi, I'm writing a Web Service client (with Axis2 1.6.0), using Ant (1.8.1, packaged by Gentoo) and noticing that Ant not only reads build.xml, but writes it back, discarding my whitespace and triggering a warning from my editor. The behavior is 100% reproducible - build.xml with just a

RE: Programatic ANT: Export Build.xml

2011-06-20 Thread Echlin, Robert
> -Original Message- > From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] > Sent: Friday, June 17, 2011 2:29 PM > To: user@ant.apache.org > Subject: Re: Programatic ANT: Export Build.xml > > Am 17.06.2011 17:13, schrieb Dominique Devienne: > > On Thu, Jun 16, 2011 at

Re: Programatic ANT: Export Build.xml

2011-06-17 Thread Dark Before Dawn
Am 17.06.2011 17:13, schrieb Dominique Devienne: On Thu, Jun 16, 2011 at 11:31 PM, Dark Before Dawn wrote: I would like to use apache-ant-1.8.2 in JavaSE, to generate build.xml Files dynamically. Is there a way to export a Project Object as xml File via Writer/Stream? Nope. And I don't

Re: Programatic ANT: Export Build.xml

2011-06-17 Thread Dominique Devienne
On Thu, Jun 16, 2011 at 11:31 PM, Dark Before Dawn wrote: > I would like to use apache-ant-1.8.2 in JavaSE, to generate build.xml Files > dynamically. Is there a way to export a Project Object as xml File via > Writer/Stream? Nope. And I don't think it's possible (or easy) to

Programatic ANT: Export Build.xml

2011-06-16 Thread Dark Before Dawn
Hi there, I would like to use apache-ant-1.8.2 in JavaSE, to generate build.xml Files dynamically. Is there a way to export a Project Object as xml File via Writer/Stream? CodeSnippet: Project p = new Project(); p.setName("test"); p.setDefault("test&quo

RE: Newbie question on ANT script error in the build.xml file in the Eclipse project

2011-02-23 Thread Savoy, Melinda
Thank you. I appreciate the quick reply and your help. Regards. -Original Message- From: Alexandre Priou [mailto:apr...@gmail.com] Sent: Wednesday, February 23, 2011 2:33 PM To: Ant Users List Subject: Re: Newbie question on ANT script error in the build.xml file in the Eclipse project

Re: Newbie question on ANT script error in the build.xml file in the Eclipse project

2011-02-23 Thread Alexandre Priou
Hi you haven't declared that : in your build.xml in your target , you have declared : default="dist", ant search this target if you execute your project. best regard -- Alexandre Priou Analyste Concepteur Web chez HR TEAM Détaché aux éditions la rivière 64 rue de l

Newbie question on ANT script error in the build.xml file in the Eclipse project

2011-02-23 Thread Savoy, Melinda
Currently I am working on my local XP box in Eclipse Helios. The version of ANT that I have loaded is apache-ant-1.8.2 The error I am getting in the build.xml file is: Default target dist does not exist in this project However, when I go to the Eclipse workspace where I have my project: C

AW: How to set new PATH, CLASSPATH and JAVA_HOME for whole build.xml?

2010-07-22 Thread Knuplesch, Juergen
build.xml? Assume I have multiple Java installations and versions on my computer. Due to other reasons I have to set java installation1 as default in my environment variables PATH, CLASSPATH and JAVA_HOME. Beside the main application I would like to do some other compilations and tasks with/from

How to set new PATH, CLASSPATH and JAVA_HOME for whole build.xml?

2010-07-22 Thread Ben Stover
build.xml scripts. However for these Ant build.xml I want to use the other, second java installation2. How can I specify on top of such an build.xml different environment variables resp. define additional PATHs, CLASSPATHs with higher priority then the "outer" defaults? To clarify: I don

Re: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Tim Visher
On Mon, Apr 12, 2010 at 1:02 AM, wrote: > '.' in Ant is the dir where the build.xml is. > I tried "ant -find" from deep inside a project structure and "ant -f ..." from > outside and both resolve to the same path. /me blushes. The problem was in

AW: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Jan.Materne
'.' in Ant is the dir where the build.xml is. I tried "ant -find" from deep inside a project structure and "ant -f ..." from outside and both resolve to the same path. Jan > -Ursprüngliche Nachricht- > Von: Daniel Becroft [mailto:djcbecr...@gmail

Re: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Daniel Becroft
On Sun, Apr 11, 2010 at 1:53 PM, Tim Visher wrote: > Hello Everyone, > > With `basedir="."`, how is `ant -find` supposed to work? With it set > to `/absolute/path/to/build.xml`, how is the build script supposed to > be box independent? > > We use ant to build ou

`ant -find build.xml` and compile/recompile

2010-04-10 Thread Tim Visher
Hello Everyone, With `basedir="."`, how is `ant -find` supposed to work? With it set to `/absolute/path/to/build.xml`, how is the build script supposed to be box independent? We use ant to build our system and I would like to be able to use `ant -find` to allow myself (and Emacs) to

AW: Using Shellscript variable in build.xml

2010-01-22 Thread Jan.Materne
che Nachricht- >Von: jhoomshar...@netscape.net [mailto:jhoomshar...@netscape.net] >Gesendet: Freitag, 22. Januar 2010 10:05 >An: user@ant.apache.org >Betreff: Using Shellscript variable in build.xml > >I am using shellscript task of ant-contrib in one of my >target, which

Using Shellscript variable in build.xml

2010-01-22 Thread jhoomsharabi
I am using shellscript task of ant-contrib in one of my target, which looks like this: KAR=`echo ${adapter-active-directory} | awk -F. '{print $1}'` MAR=`echo ${adapter-active-directory} | awk -F. '{print $4}'` How I can use the shell script va

AW: build.xml file scanning

2009-12-10 Thread Jan.Materne
Ant is looking for a "build.xml" in the current directory. With -f you could specify a buildfile to use. -find will search for a "build.xml" - from the current directory up to the root directory. Searching from a directory deeper in the filesystem wouldnt be helpful. If y

build.xml file scanning

2009-12-09 Thread Raja Nagendra Kumar
Hi, Looking to give the following user experience. We have directories in the following order A has sub dirs B which inrun has sub dir C. directory C has build.xml file. When the user runs ant from directory A or B (both these directories does not have build.xml) is it possible to say do you

ant in eclipse+got error[/root/workspace/myapp/build.xml:372: java.net.UnknownHostException: root

2009-10-14 Thread srinivas2828
error message which says ERROR /root/workspace/myapp/build.xml:372: java.net.UnknownHostException: root i did necessary changes to managet.xml file also and I am using Eclipse-Galileo,Apache Ant-1.7.1,jdk1.6.0_15,Tomcat-5.5.27. and I am uploading build.xml file also please have a look at this http

Re: path problems in build.xml

2009-09-10 Thread Kerry Scott
- From: Greg Roodt Reply-to: "Ant Users List" To: Ant Users List , kerry.sc...@talktalk.net Subject: Re: path problems in build.xml Date: Thu, 10 Sep 2009 01:28:54 +0100 Ok, my last guess would be you need JAVA_HOME= /usr/lib/jvm/java. On Wed, Sep 9, 2009 at 11:02 PM, Kerry Scott wrote:

Re: path problems in build.xml

2009-09-09 Thread Greg Roodt
Reply-to: "Ant Users List" > To: Ant Users List , kerry.sc...@talktalk.net > Subject: Re: path problems in build.xml > Date: Wed, 9 Sep 2009 22:19:00 +0100 > > Hi > > I think you've answered your own question. Its looking for a JDK, but your > JAVA_HOME r

Re: path problems in build.xml

2009-09-09 Thread Kerry Scott
Thanks Greg but.. when I do that it can't find tools.jar which is in /usr/lib/jvm/java/lib -Original Message- From: Greg Roodt Reply-to: "Ant Users List" To: Ant Users List , kerry.sc...@talktalk.net Subject: Re: path problems in build.xml Date: Wed, 9 Sep 2009 22:19:

Re: path problems in build.xml

2009-09-09 Thread veena pandit
Anybody want to take a shot at my problem? When I do ant compile.service on the command line, I get an error saying that it cant find the import. Thanks, Sonia On Wed, Sep 9, 2009 at 5:19 PM, Greg Roodt wrote: > Hi > > I think you've answered your own question. Its looking for a JDK, but your

Re: path problems in build.xml

2009-09-09 Thread Greg Roodt
Hi I think you've answered your own question. Its looking for a JDK, but your JAVA_HOME references the JRE. Try setting JAVA_HOME to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0 Greg On Wed, Sep 9, 2009 at 10:20 PM, Kerry Scott wrote: > Hi > I have problems running Ant and I am sure that it is

Re: path problems in build.xml

2009-09-09 Thread Kerry Scott
Hi I have problems running Ant and I am sure that it is somehow a PATH problem but I have wrestled it to my death for 48 hours and would love some ideas. Platform - Mandriva Linux 2009 which has an Ant RPM - I have deleted it and tried to use the version downloaded - it didn't come with Ant but Ant

Re: path problems in build.xml

2009-09-09 Thread veena pandit
This is my complete build.xml; when I execute ant compile.service it complains about the package. Thanks, Sonia <*taskdef name="java2wsdl" classname="org.apache.ws.java2wsdl.Java2WSDLTask" classpathref=&quo

Re: path problems in build.xml

2009-09-09 Thread Avlesh Singh
The classpathref="axis2.classpath" attribute you have used for the javac task, needs to be defined prior to using it. Cheers Avlesh On Wed, Sep 9, 2009 at 9:34 PM, veena pandit wrote: > I have the following in my build.xml, but it complains about an import: > * > > im

path problems in build.xml

2009-09-09 Thread veena pandit
I have the following in my build.xml, but it complains about an import: * import* org.apache.axis2.util.OptionsParser; I thought this class is part of the axis 2 package. Can anyone help me fix this? Thanks, Sonia

Re: ant unable to find build.xml in another directory?

2009-07-13 Thread starkc
directories... The scenario I will try to strip down is as follows: The local ant.bat calls setenv.bat (which sets up environment variables only), and then calls java with the specific ant command line parameters. From there, the ant+build.xml takes over, if I understand correctly how this works.

Re: ant unable to find build.xml in another directory?

2009-07-13 Thread Stefan Bodewig
On 2009-07-10, starkc wrote: > Stefan Bodewig wrote: >> On 2009-07-10, starkc wrote: >>> As part of compiling my projects in windows, I am required to execute a >>> second ant task, defined in my build.xml as follows: >>> >>> >>>

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread Dominique Devienne
On Fri, Jul 10, 2009 at 1:51 PM, starkc wrote: > I agree that it seems to be going into the wrong directory...but where could > it be going? Do you have a non-standard ant.bat somewhere in your path? Or from a different install? Have you tried calling the same DOS command at the DOS prompt to se

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread starkc
pache.org > For additional commands, e-mail: user-h...@ant.apache.org > > Unfortunately, both -verbose and -debug resulted in the following output: maint: [exec] Build failed [exec] Apache Ant version 1.5.1 compiled on October 2 2002 [exec] Buildfile: build.xml does not exist! ...wh

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread Dominique Devienne
On Fri, Jul 10, 2009 at 1:28 PM, starkc wrote: > Using "-f [path-to-buildfile]" worked, but it seems like there should be a > way for me to do this without resorting to absolute paths.  Shouldn't this > be somewhat portable? You could try adding -verbose or -debug to the sub-Ant process. Maybe the

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread starkc
    [exec] Executing 'cmd' with arguments: >>     [exec] '/c' >>     [exec] 'ant.bat' >>     [exec] 'ejb' >>     [exec] >>     [exec] The ' characters around the executable and arguments are >>     [exec] not part of the co

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread Dominique Devienne
gt;     [exec] '/c' >     [exec] 'ant.bat' >     [exec] 'ejb' >     [exec] >     [exec] The ' characters around the executable and arguments are >     [exec] not part of the command. >     [exec] Buildfile: build.xml does not exist! >     [exec] Bu

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread starkc
Stefan Bodewig wrote: > > On 2009-07-10, starkc wrote: > >> As part of compiling my projects in windows, I am required to execute a >> second ant task, defined in my build.xml as follows: > >> >> >> >> >> >

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread Stefan Bodewig
On 2009-07-10, starkc wrote: > As part of compiling my projects in windows, I am required to execute a > second ant task, defined in my build.xml as follows: > > > > > See the "Windows Users" section at the top of http://ant.apache.org/man

Re: ant unable to find build.xml in another directory?

2009-07-10 Thread Dominique Devienne
On Fri, Jul 10, 2009 at 9:35 AM, starkc wrote: > As part of compiling my projects in windows, I am required to execute a > second ant task, defined in my build.xml as follows: > > >         >   >   > Why exec rather than ? > compile correctly.  I have tried runnin

ant unable to find build.xml in another directory?

2009-07-10 Thread starkc
As part of compiling my projects in windows, I am required to execute a second ant task, defined in my build.xml as follows: However, every time I try to run this, I get the following error: maint: [exec] Buildfile: build.xml does not exist! [exec] Build failed

RE: native2ascii in build.xml

2009-07-07 Thread as2
. properties_src-files get copied to target-directory 2. native2ascii converts them and renames the extension to ".properties" 3. unneeded properties_src are deleted from target-directory -- View this message in context: http://www.nabble.com/native2ascii--in-build.xml-tp17818914p24371730.html Sen

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-12 Thread Michael Ludwig
Ashley Williams schrieb am 12.06.2009 um 10:56:37 (+0100): > From my personal experience I've always found it to be the case that > it's only a matter of time before the build code not only requires > logic, but also needs to be accessible from the application - strange > as that may sound. Unify

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-12 Thread Steve Loughran
Michael Ludwig wrote: Ashley Williams schrieb am 11.06.2009 um 17:51:45 (+0100): // create the ant parent project Project project = new Project(); project.setName("project"); project.init(); // create the child targ

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-12 Thread Ashley Williams
Michael, You are right what you see is nasty ;) however I deliberately inlined the code for clarity. In practice I actually abstract most of it into helper classes which is really easy to do and you can mostly get away with code like this: new UntarTask(src, dest).execute(); // execute sing

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Michael Ludwig
Ashley Williams schrieb am 11.06.2009 um 17:51:45 (+0100): > > // create the ant parent project > Project project = new Project(); > project.setName("project"); > project.init(); > > // create the child target > T

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Michael Ludwig
Dean Schulze schrieb am 11.06.2009 um 09:48:12 (-0700): > > Ant build scripts make simple things like an if else difficult Use the extensions, as mentioned by others. > and things like changing the value of a property impossible. This might be seen as a feature (but I rather don't think it

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Dale Anson
For if/else, try/catch, and changing the value of a property, all you need is either antcontrib (ant-contrib.sourceforge.net) or antelope (antelope.tigris.org) tasks. Dale On Thu, Jun 11, 2009 at 10:48 AM, Dean Schulze wrote: > > I anticipate using a simple build.xml with different targ

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Ashley Williams
er than script. - Ashley On 11 Jun 2009, at 16:28, Dean Schulze wrote: The Ant documentation has a section titled "Using Ant Tasks Outside of Ant" which gives a teaser for how to use the Ant libraries from Java code. In theory it seems simple enough to replace build.xml with

RE: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Dean Schulze
I anticipate using a simple build.xml with different targets to kick off the Build.java file passing in whatever parameters correspond to different targets.  The heavy lifting would be done by the Build.java.  build.xml would be used for parameter passing and for integration with Eclipse. Ant

RE: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Cole, Derek E
necessary. When I have used ant from java, it was primarily to control dependencies, but I still had underlying build.xml files that individual targets were called from, using the java program to control when, handle errors, etc. Derek -Original Message- From: Dean Schulze

Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Dean Schulze
The Ant documentation has a section titled "Using Ant Tasks Outside of Ant" which gives a teaser for how to use the Ant libraries from Java code.  In theory it seems simple enough to replace build.xml with Build.java. The Ant documentation hints at some undocumented dependencies that I&

AW: Unix Home set in Build.xml

2009-05-10 Thread Jan.Materne
>I want to set one properties HOMEDIR in build.xml which will >be set through user logged in the current system.. > >How to read Unix home directory and put that value in build.xml You could access all Java system properties directly via ${name}, e.g. ${user.name}, ${user.dir},

Re: Unix Home set in Build.xml

2009-05-09 Thread Francis Galiegue
Le Saturday 09 May 2009 13:27:45 Rajesh Kumar (IN4774), vous avez écrit : > Hi, > > I want to set one properties HOMEDIR in build.xml which will be set through > user logged in the current system.. > > How to read Unix home directory and put that value in build.xml >

Unix Home set in Build.xml

2009-05-09 Thread Rajesh Kumar (IN4774)
Hi, I want to set one properties HOMEDIR in build.xml which will be set through user logged in the current system.. How to read Unix home directory and put that value in build.xml

Re: Declare few projects on a build.xml

2009-03-06 Thread David Weintraub
an example from my build.xml Will this help simplify matters a bit? Ant is usually used for building Java applications, and not as a deployment tool.

Re: Declare few projects on a build.xml

2009-03-06 Thread Miguel Alejandro Caro Ruger
correct tomcat, with scp transfer to the tomcat webapps directory, with autodeploy enable , it works fine excepts 2 applications that some times produce an deploy error fixed with the ant deploy. My real question is: *Are there any posibility to have in the same build.xml file more than 1 label, with

Re: Declare few projects on a build.xml

2009-03-05 Thread Joe Schmetzer
roblem is I have a more than 30 aplications and 3 diferentes >> enviroments for each aplications, so it woulb be like create 90 >> build.xml with the projects information. >> >> Are there any posibility to simplifiy the project and build.xml >> prope

Re: Declare few projects on a build.xml

2009-03-05 Thread Brian Pontarelli
t ant, and building a script to automatized the deploys of my aplications, cause before i used to manual wget commands or autodeploys. The problem is I have a more than 30 aplications and 3 diferentes enviroments for each aplications, so it woulb be like create 90 build.xml with the pro

RE: Declare few projects on a build.xml

2009-03-05 Thread John Martin
, 2009 7:51 AM To: user@ant.apache.org Subject: Declare few projects on a build.xml Hello, to all the users from the list, it´s my first mail, and sorry for my poor english. Im starting to test ant, and building a script to automatized the deploys of my aplications, cause before i used to manual

Declare few projects on a build.xml

2009-03-05 Thread A A
3 diferentes enviroments for each aplications, so it woulb be like create 90 build.xml with the projects information. Are there any posibility to simplifiy the project and build.xml properties declare?. It posible to create more than 1 project in a build.xml? Or all projects in the same

AW: AW: How to load build.xml from a JAR ?

2009-01-27 Thread Jan.Materne
>If in projectA the build.xml from projectB is called through the ant target, >the basedir of projectA could be used to create directories, resolve >relative paths etc.. Is this correct ? > >Would something similar with >"jar:file:///some/location/projectB.jar!/build.xml&

Re: AW: How to load build.xml from a JAR ?

2009-01-27 Thread stlecho
Concerning Jan.Materne wrote: > because the project needs a base directory with real "file access" If in projectA the build.xml from projectB is called through the ant target, the basedir of projectA could be used to create directories, resolve relative paths etc.. Is this cor

AW: How to load build.xml from a JAR ?

2009-01-27 Thread Jan.Materne
>I would like to package a build.xml file into a JAR so that it can be >referenced by other projects (using the ant antfile target). I >was thinking >about using "classpath:..." in the antfile attribute, but that does not >work. How can this functionality be achi

How to load build.xml from a JAR ?

2009-01-27 Thread stlecho
Hi, I would like to package a build.xml file into a JAR so that it can be referenced by other projects (using the ant antfile target). I was thinking about using "classpath:..." in the antfile attribute, but that does not work. How can this functionality be achieved ? Regards, St

AW: XML Schema for build.xml

2009-01-11 Thread Jan.Materne
No - because you can extend Ant by custom tasks. Jan >-Ursprüngliche Nachricht- >Von: Tejash Shah [mailto:tejash.s...@sparta-systems.com] >Gesendet: Freitag, 9. Januar 2009 17:56 >An: user@ant.apache.org >Betreff: XML Schema for build.xml > >Is there an XML Sch

AW: build.xml losing empty lines

2009-01-11 Thread Jan.Materne
This task starts a java class from Axis2. Have a look at its manual for configuration options. If you cant change that behaviour maybe there is an option: rename your buildfile to something else than 'build.xml' and start your build with '-f '. Jan >-Ursprüngli

build.xml losing empty lines

2009-01-09 Thread David Hadley
The following tag in my build.xml is forcing my build.xml to be overwritten with it's same contents only without empty lines. This is undesirable as it makes the file less readable and alters the timestamp on the file. Has anyone solved this or similar pro

XML Schema for build.xml

2009-01-09 Thread Tejash Shah
Is there an XML Schema for the build.xml? Tejash NOTICE: This e-mail message and any attachments may contain confidential, proprietary, or privileged information. If you are not the intended recipient, please notify us immediately by return e-mail, delete this message, and destroy all

Re: Need help in build.xml file...

2008-12-29 Thread David Weintraub
Running prepare Running Jar Running Deploy I hope this helps. On Fri, Dec 26, 2008 at 7:21 PM, Anna Teittinen wrote: > Hello, > > I am relativel

Re: Need help in build.xml file...

2008-12-29 Thread Anna Teittinen
Hello Glenn and all, The solution given below is what I wanted my build.xml file to do. I appologize if I had not been clear with my question earlier. With all the replies I received, I now understand how the 'unless' attribute works and have a better understanding of how to use the

Re: Need help in build.xml file...

2008-12-26 Thread glenn opdycke-hansen
mebody help me with a problem I have in my build.xml file? > Below is a snippet of code from my build.xml file. > Below, "caratsharp.dir" refers to a directory. > Basically, if that directory exists, then the clean, prepare, jar, and > copy_jar targets will get called; otherwise, an

Re: Need help in build.xml file...

2008-12-26 Thread John Shott
, I think, a slightly modified version of your build.xml that, I think, does what you want maybe not in the most elegant way, but it is at least functional: At least that's the way it

Re: Need help in build.xml file...

2008-12-26 Thread glenn opdycke-hansen
using ant. > Can somebody help me with a problem I have in my build.xml file? > Below is a snippet of code from my build.xml file. > Below, "caratsharp.dir" refers to a directory. > Basically, if that directory exists, then the clean, prepare, jar, and > copy_jar targets wi

Need help in build.xml file...

2008-12-26 Thread Anna Teittinen
Hello, I am relatively new to using ant. Can somebody help me with a problem I have in my build.xml file? Below is a snippet of code from my build.xml file. Below, "caratsharp.dir" refers to a directory. Basically, if that directory exists, then the clean, prepare, jar, and copy_jar ta

AW: trouble deploying using build.xml -

2008-11-16 Thread Jan.Materne
Have a look at the reported line. Often a build fails if Ant should copy files to a directory which doesnt exist. In that case place a before that task. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: trouble deploying using build.xml -

2008-11-16 Thread Andy Stevens
2008/11/16 ilango_g <[EMAIL PROTECTED]>: > > I have a Java project in Eclipse and I am trying to build and deploy the > project. Unfortunately my build.xml is failing with two errors. ... > [echo] # Building ejb # > clean: > compile: >[mkdir] Create

trouble deploying using build.xml -

2008-11-16 Thread ilango_g
I have a Java project in Eclipse and I am trying to build and deploy the project. Unfortunately my build.xml is failing with two errors. Buildfile: C:\Users\i\workspace\RREJB\build.xml clean: cleanall: [echo] # Cleaning common # clean: [delete] Deleting directory C:\Users\i

Re: How to pass a file to an Ant build.xml process from command line?

2008-10-31 Thread Sann Maung
r <[EMAIL PROTECTED]> > Subject: How to pass a file to an Ant build.xml process from command line? > To: "Ant Users List" > Date: Saturday, November 1, 2008, 2:52 AM > Normally I use Ant by clicking on a pre-defined build.xml > process inside e.g. Eclipse. > > Ho

Re: How to pass a file to an Ant build.xml process from command line?

2008-10-31 Thread Morgan Kinne
55 PM Subject: How to pass a file to an Ant build.xml process from command line? Normally I use Ant by clicking on a pre-defined build.xml process inside e.g. Eclipse. However sometimes I would appreciate to have the chance to call Ant and an Ant build.xml script from command line and pass e.

Re: How to pass a file to an Ant build.xml process from command line?

2008-10-31 Thread Morgan Kinne
Oops. Never mind.. I missed the eclipse part of your question. Morgan From: Morgan Kinne/Raleigh/IBM To: "Ant Users List" Date: 10/31/2008 03:43 PM Subject: Re: How to pass a file to an Ant build.xml process from command line? First on the command line try: ant -help This will sh

How to pass a file to an Ant build.xml process from command line?

2008-10-31 Thread Ben Stover
Normally I use Ant by clicking on a pre-defined build.xml process inside e.g. Eclipse. However sometimes I would appreciate to have the chance to call Ant and an Ant build.xml script from command line and pass e.g. a file to it. Something like: java org.apache.ant.executescript D:\myproj

Re: generic build.xml file

2008-09-17 Thread David Weintraub
Sep 17 15:14 > build_ADRESSBOOKCOLUMN.properties > -rwxr-xr-x 1 buildadm staff 10623 Sep 17 15:17 > build_ADRESSBOOKCOLUMN.xml > -rwxr-xr-x 1 buildadm staff 3568 Sep 17 17:03 > build_STATUSLISTCOLUMN.properties > -rwxr-xr-x 1 buildadm staff 7475 Sep 17 17:24 >

RE: generic build.xml file

2008-09-17 Thread rasmita.panda
those ant script 15 times! in my shell script which does its duty of creating ear one after other which I think is not proper .I want to redefine it . In first mail I have attached a build.xml which is for savings column.You can imagine the same structure for other columns. Second thing is :can I

  1   2   3   4   >