RE: Jar Task Manifest Attribute

2013-10-30 Thread Echlin, Robert
Hi Ken, Did you try both the manifest attribute and the manifest element? Can you give us a copy of your code, or a simplified version that "manifests" the same behavior? For one thing, that would let us see what exactly you tried in the code when you interpreted the ambiguous phrase "added thro

RE: Build directly on machine vs. SSH to machine and start build

2012-05-11 Thread Echlin, Robert
Hi Eric, Sorry, I have been away from this list for a few days. Did you get that fixed/worked around yet? A) I see you are loading the "unset" task from Antelope. What happens if you don't load it? Is that task used in any of the xml files you are importing? B) the code below works for me on Wind

RE: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Echlin, Robert
hat's just a > habit because many of the users I log onto systems with don't have bash as > the default shell. I'll check this one. If not, do you think changing his > default would fix this? > > Thanks, > Eric > > > > On May 8, 2012, at 9:13 AM, &qu

RE: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Echlin, Robert
Hi Eric, In *nix shells, your shell will load one or more of several different startup files. Which one is loaded by bash depends on what type of a process you are running the script as. One file is run only when you are logging in (bash runs ".bash_profile", or, if it is not present, ".profile"

RE: ANT Wiki isn't wiki

2012-04-16 Thread Echlin, Robert
Hi Stefan, "Real" wiki's as you have defined would be safe from spam only on an intranet. You have suggested renaming wiki's with user permission restrictions to protect against spam to something else. What name would you like to use for them? My suggestions: - "Restricted wiki" - "Authorized u

RE: How do I trace where a target was called from in a complicated build?

2012-03-26 Thread Echlin, Robert
in.wr | robert.ech...@windriver.com -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Tuesday, March 20, 2012 11:44 AM To: user@ant.apache.org Subject: Re: How do I trace where a target was called from in a complicated build? On 2012-03-20, Echlin, Robert wrote: > I tr

RE: How do I trace where a target was called from in a complicated build?

2012-03-20 Thread Echlin, Robert
Hi David, I tried "ant -p -debug" on my own project. It generated 840 lines of output, but did not show the dependencies of targets. Maybe Stefan was thinking of a different parameter? So I tried doing it the hard way. I ran this grep command on all the ant xml files (30): grep -e "depends=" -e

RE: Ideas for future directions for Ant

2012-02-21 Thread Echlin, Robert
Hi Bruce, Thanks for bringing these changes to our attention. I for one find the ideas exciting and valuable. I can see that a lot of thought is going into them. I will look into the links you provided. Rob Rob Echlin, 1.613.270.5796 | Skype: rob.echlin.wr | robert.ech...@windriver.com -Orig

RE: Has ant an built in java compiler?

2011-09-12 Thread Echlin, Robert
them, so has no need to use the command line. When forking, it needs to start up a new Java invocation anyway so it uses the command line to run javac. Hope this helps, Rob > -Original Message- > From: Echlin, Robert [mailto:robert.ech...@windriver.com] > Sent: Monday, Septembe

RE: Has ant an built in java compiler?

2011-09-12 Thread Echlin, Robert
Sounds like it is running the compilation in the current inv9ocation of java. Rob > -Original Message- > From: Beat Meier [mailto:mbe...@swiss-wireless.com.ar] > Sent: Monday, September 12, 2011 12:19 PM > To: user@ant.apache.org >> Ant Users List > Subject: Has ant an built in java compi

RE: Why is the java command not executing

2011-08-30 Thread Echlin, Robert
s not go sequentially as per the targets > specified in the build file? > I mean I have given the following sequence: > --init > --compile depends on init > --javdocs depends on compile > --archive depends on compile > --execute depends on archive > --clean depends on execute

RE: Why is the java command not executing

2011-08-29 Thread Echlin, Robert
Hi Venu, default target is archive archive depends on compile, so compile is run. compile depends on init, so init is run. That's all that is happening, so of course the execute doesn't happen.. Make archive depends="compile, execute". Then it will do - init - compile - execute - archive Rob

record doesn't, in case of a crash?

2011-08-16 Thread Echlin, Robert
Hi I don't have a log file for the process that crashed. It seems that the "record" element does not write a file if Ant exits before the "record stop" is reached. Is that correct? Anything I can do to fix this in my Ant code? Thanks. Rob

RE: Are multiple targets run in order, or in parallel?

2011-08-09 Thread Echlin, Robert
equentially. > > On Mon, Aug 8, 2011 at 11:59 AM, Echlin, Robert > > wrote: > > > Hi > > If I run > > "ant target1 target2 target3" > > Will target1 be guaranteed to be complete before target2 is run? > > The docs don't say. > >

RE: Are multiple targets run in order, or in parallel?

2011-08-08 Thread Echlin, Robert
; -Original Message- > From: Echlin, Robert [mailto:robert.ech...@windriver.com] > Sent: Monday, August 08, 2011 1:34 PM > To: Ant Users List > Subject: RE: Are multiple targets run in order, or in parallel? > > Hi guys, > Thanks, Dominique, for the reminder about order of exec

RE: Are multiple targets run in order, or in parallel?

2011-08-08 Thread Echlin, Robert
3 PM > To: Ant Users List > Subject: Re: Are multiple targets run in order, or in parallel? > > On Mon, Aug 8, 2011 at 10:59 AM, Echlin, Robert > wrote: > >   "ant target1 target2 target3" > > Will target1 be guaranteed to be complete before target2 is run? >

Are multiple targets run in order, or in parallel?

2011-08-08 Thread Echlin, Robert
Hi If I run "ant target1 target2 target3" Will target1 be guaranteed to be complete before target2 is run? The docs don't say. Thanks, Rob -- Rob Echlin, Documentation Systems Architect, Wind River direct: +1.613.270.5796 | Skype video: rob.echlin.wr | robert.ech...@windriver.com

RE: ant exec task message priority

2011-07-14 Thread Echlin, Robert
Hudson must be matching some specific string to identify ERROR, INFO, etc. Any change to that string would cause Hudson's match to fail. Any chance there is a change in C compiler co-incidentally here? Maybe some whitespace is being compressed as it passes through Ant? I would pipe the output of A

RE: ant exec task message priority

2011-07-13 Thread Echlin, Robert
Hi Adam, I'm not familiar with any such change in Ant. Which doesn't mean there is none. :-) Is there a change in the build.xml file? Or can you run with the two versions of ant on the same file and get the differences you mention? Have you looked at the 1.7 and 1.8.2 Ant docs for the ant exec

RE: Ant 1.8.3alpha: task fails to handle quotes within quotes command lines

2011-06-28 Thread Echlin, Robert
Hi David, I can only give you the same message I give other people who come to me in person with a problem and solve it while telling me about it. "You're welcome. It happens to me, too." Keep on reading your own posts. And never apologize for a learning tool that works! :-) Rob > -Original

RE: Junit report for multiple projects

2011-06-20 Thread Echlin, Robert
multiple projects > > sorry, junit-1,junit-2,junit-3 are in different project and each project is > having > build.xml. > > inheritAll="false"/> > inheritAll="false"/> > inheritAll="false"/> > > > On Mon, Jun 20, 2011 at 4:21 PM,

RE: Junit report for multiple projects

2011-06-20 Thread Echlin, Robert
,junit-2,junit-3 are in different project and each project is > having > build.xml. > > inheritAll="false"/> > inheritAll="false"/> > inheritAll="false"/> > > > On Mon, Jun 20, 2011 at 4:21 PM, Echlin, Robert > > wrote:

RE: Programatic ANT: Export Build.xml

2011-06-20 Thread Echlin, Robert
Hi Darky, XSLT is a good tool for generating XML files. Try the free (GPL) version of Saxon, from saxonica. http://sourceforge.net/projects/saxon/files/ But for help on how to write XSLT, you will have to go to a different list. Saxon has lists, (and I should subscribe to one.) Rob > -Origina

RE: Junit report for multiple projects

2011-06-20 Thread Echlin, Robert
You are running separate copies of ant for each of the junit tests. Instead, run them all in the same Ant invocation, and make the "mainbuild" target depend on all of them. The above line replaces the first 4 nonblank lines (shown below) from your example. > > > > Rob > -O

RE: Japaniese character not supporting in ANT

2011-06-10 Thread Echlin, Robert
Hi Hari, 1) Your email shows groovyc reporting with an identifier at the start of the line that can't have come from Ant, like: [*groovyc*] Except for one line that looks like normal Ant output: [groovyc] These lines, with [*groovyc*], look like they were not generated in ant, but in some other

RE: How change variable based on environment variable value

2011-06-06 Thread Echlin, Robert
2011 3:02 PM > To: user@ant.apache.org > Cc: Echlin, Robert > Subject: RE: How change variable based on environment variable value > > Many thanks for your help :) > BPM > > -Original Message- > From: Echlin, Robert [mailto:robert.ech...@windriver.com] > Sent: Monday,

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: XmlPropertiesUpdater.java:16: package org.apache.tools.ant does not exist

2011-06-03 Thread Echlin, Robert
Hi shiplu, What package are you trying to build? Does this package have a readme or other text file that describes what packages you need and where to put them, and how to tell the build script where to find them? They should be in the top level folder of the package when you untar/unzip i

RE: references id names stored in properties

2011-06-03 Thread Echlin, Robert
d in properties > > Thanks Rob! > I did not see this! > > I changed now from location to value and now it works! > Refid did not help finally, because I want a list of fileset ids. > > Jürgen > > -----Ursprüngliche Nachricht- > Von: Echlin, Robert [mailto:robert.ec

RE: references id names stored in properties

2011-06-03 Thread Echlin, Robert
Hi Juergen, Read the docs on the property task. You want "refid" instead of "location". Quote: "location - Sets the property to the absolute filename of the given file." "refid - Reference to an object defined elsewhere. Only yields reasonable results for references to PATH like structures o

RE: Do things based on project success or failure

2011-06-02 Thread Echlin, Robert
DO... That's why I'm calling it from the exec task.  > Then I separate from the process and gather a return code on > the other side...  Maybe I'm missing something. > > Thanks, > Eric > > > > > > From: "

RE: Do things based on project success or failure

2011-06-02 Thread Echlin, Robert
Hi Eric, (code below) Try the "depends with if/unless" pattern. Note the "if" and "unless" parameters on the do.true and do.false targets. "condition" sets a variable depending on something - in this case where a file exists or not. The "top" level target does nothing except make sure other thin

RE: Do things based on project success or failure

2011-06-02 Thread Echlin, Robert
Hi Eric, Look up "subant" and "antcall" for a start. They are in "core tasks". If you put both tasks in the same xml file, you will use "antcall". Also, for your DB operation, look up "sql" task, which uses JDBC. Rob -- Rob Echlin, Documentation Systems Architect, Wind River direct: +1.613.270.5

RE: Question regarding UTF-8 and property files

2011-05-27 Thread Echlin, Robert
; ~/t$ ant > > foo > > Buildfile: /Users/hitman/t/build.xml > > > > foo: > > > > BUILD SUCCESSFUL > > Total time: 0 seconds > > hitman@bigdog ~/t$ cat test.txt > > Test ? > > > > Same thing. > > > > Any other ideas? Than

RE: Question regarding UTF-8 and property files

2011-05-27 Thread Echlin, Robert
Hi Rob, Maybe you need to start the file with the Byte Order Mark? This is apparently more likely if you are on Windows. http://en.wikipedia.org/wiki/UTF-8#Byte_order_mark Rob > -Original Message- > From: Rob J [mailto:r...@dcsportbikes.net] > Sent: Friday, May 27, 2011 12:03 PM > To:

Globmapper - bug?

2011-05-25 Thread Echlin, Robert
Hi I was trying out globmapper, and got a surprising result that did not match the docs. Sample below. Rob Sample code from the docs -- C:\svn\rme\basedir\build\start>cat bug.xml test.folder = ${test.folder} expected= Qlasses/dir/dir