junitlauncher and custom listener for standard out

2020-09-10 Thread Robert J. Carr
I tried putting the custom listener both in 'junitlauncher' and 'testclasses' and it didn't make a difference. It seems the setDestination() is only called a single time (with a 'KeepAliveOutputStream'), but not sure if that's normal. Thanks- Robert

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

Controlling log4j output from ant

2013-04-10 Thread Robert Mark
Hi All, I am having trouble controlling the output from ant to log4j. This is my log4j2.xml: And this is my build.xml: The build.xml outputs one lin

Re: sshexec command output

2012-08-09 Thread Robert Larsen
sshexec can output to either a file (output="somefile.txt") or a property (outputproperty="sshexec_output"). Specifying one of those two should turn off the output to standard out. signature.asc Description: OpenPGP digital signature

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
c: Ant Users List Subject: Re: Build directly on machine vs. SSH to machine and start build Bash is this user's default shell. On May 8, 2012, at 9:41 AM, Eric Fetzer wrote: > Robert, > > Notice in my command: > >>>> ssh -f builduser@buildMachine ". ~/.bash_p

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
l Message- > From: VR Venugopal Rao [mailto:v...@cmcltd.com] > Sent: Monday, August 29, 2011 11:56 PM > To: 'Ant Users List' > Subject: RE: Why is the java command not executing > > Hi Robert, > Thanks for the clarification. > Does it mean that ant execution doe

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: junit task xml output omits failure message if it contains the word " more"?

2011-08-04 Thread Robert E. Billings III
OK, I'll fill out a bugzilla report. Thanks for verifying! :) Bob On Thu, Aug 4, 2011 at 11:05 AM, Stefan Bodewig wrote: > On 2011-07-28, Bob Billings wrote: > > > However, the Ant junit XML formatter strips off the first line with > > the failure message in any test failure where the failure

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: taskdef A class needed by class X cannot be found: Task

2011-07-11 Thread Robert Larsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Dominique, thanks for the reply. On 2011-07-08 15:40, Dominique Devienne wrote: > I'm no expert, but have you tried -noclasspath and/or -nouserlib > described here: http://ant.apache.org/manual/running.html ? Just did but without any luck. The -no

taskdef A class needed by class X cannot be found: Task

2011-07-08 Thread Robert Larsen
1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) javac 1.6.0_24 Apache Ant version 1.8.1 compiled on October 13 2010 $ ant -f spritemap.xml Buildfile: /home/robert/code/test/spritemap.xml BUILD FAILED /home/robert/code/test/

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
t success or failure > > Thanks Robert, I've already got the db stuff working using > jdbc and .  Of course with a mysql database, it didn't > work until I added perms for the user from the IP that I'm > talking to it on: > > grant all on dbname.* to 'username

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

Re: Dual Java Compilers/Replacement for antcontrib

2011-02-15 Thread Robert Kirkpatrick
decade). Is there a standard replacement for AntContrib that everyone is now using? See http://jwaresoftware.org/wiki/antxtras/home -- Robert Kirkpatrick *Eridan* sprl +32 486 236617 rob...@eridan.net - To unsubscribe, e

Re: Ant Log File Syntax Highlighting

2010-12-14 Thread Robert Kirkpatrick
Le 14/12/2010 19:07, Antoine Levy-Lambert a écrit : On 12/14/2010 11:42 AM, Perrier, Nathan wrote: I spend a lot of time digging through Ant logs in text editors, as I'm sure we all do. I'm wondering if there exists a syntax highlighting definition file that would, for instance, add style t

Re: How to script database upgrade using ANT script

2010-11-08 Thread Robert Kirkpatrick
You should really get rid of the exec task and use the Ant sql task instead. It just requires a JDBC driver. Suitable parameters exist for all your args. Robert. Le 8/11/2010 16:19, Java Jboss a écrit : Hi, Thank you to all for the suggestions. I have now got an ANT script that checks the

Re: Ivy Roundup Fork at GitHub

2010-06-25 Thread Robert Buck
A1 > checksums and instructions in the packager.xml files (which are easily > reviewed). > > Anyway, as far as merging changes... let's start first with the stuff that > makes build.xml work on non-UNIX systems. If you don't mind I'd love to see > a (minimal impact) pat

Re: resolve ignoring [version] attribute

2010-06-25 Thread Robert Buck
Forget it. I found the problem. NGINX was not enabling directory listing. Had to add "autoindex on;". Thanks, On Fri, Jun 25, 2010 at 5:28 PM, Robert Buck wrote: > With the following ivy xml settings content: > >     >       pattern="http://localhost:37373/ivyrep/mod

resolve ignoring [version] attribute

2010-06-25 Thread Robert Buck
With the following ivy xml settings content: http://localhost:37373/ivyrep/modules/[organisation]/[module]/[revision]/ivy.xml"/> http://localhost:37373/ivyrep/modules/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"/> http://localhost:37373/ivyrep/modules/[organi

Re: AW: http request handling

2010-03-30 Thread Robert Kirkpatrick
triggered, while in a CI context this is achieved asynchronously via automatic change detection. In either case the missing bit remains: mapping http form to ant properties. Robert. wolfgang haefelinger a écrit : Robert, Don't be confused: I only miss a tiny extension to antServer

Re: AW: http request handling

2010-03-28 Thread Robert Kirkpatrick
ope: serving multiple simultaneous clients for independent builds, then a separate http listener would be required! but this is far off my needs. I don't know Hudson, I will check. Robert. jan.mate...@rzf.fin-nrw.de a écrit : Ant is a buildtool. Letting the build waiting for incom

Re: AW: http request handling

2010-03-28 Thread Robert Kirkpatrick
ope: serving multiple simultaneous clients for independent builds, then a separate http listener would be required! but this is far off my needs. I don't know Hudson, I will check. Robert. jan.mate...@rzf.fin-nrw.de a écrit : Ant is a buildtool. Letting the build waiting for incoming HTTP

Re: I must be blind

2010-03-26 Thread Robert Menteer
pache.org/manual/conceptstypeslist.html > > I find it a bit challenging, too. > > --glenn > > > On Fri, Mar 26, 2010 at 16:20, Robert Menteer wrote: > >> I'm looking over the documentation that comes with Apache Ant version 1.8.0 >> and can't find where classp

I must be blind

2010-03-26 Thread Robert Menteer
I'm looking over the documentation that comes with Apache Ant version 1.8.0 and can't find where classpath, path and pathelement are documented. I've found a page that describes path like structures but it doesn't list the valid attributes or nested elements for these. Another thing I can't find

Re: AW: http request handling

2010-03-26 Thread Robert Kirkpatrick
ope: serving multiple simultaneous clients for independent builds, then a separate http listener would be required! but this is far off my needs. I don't know Hudson, I will check. Robert. jan.mate...@rzf.fin-nrw.de a écrit : Ant is a buildtool. Letting the build waiting for incoming HTTP

Re: http request handling

2010-03-24 Thread Robert Kirkpatrick
I imagined that the ant plugin fulfilled the Jetty slogan "Don't deploy your application in Jetty, deploy Jetty in your application". I still believe this has a potential. Regards, Robert. Adam Leggett (UPCO) a écrit : It doesn't turn Ant into Http server AFAIK. It

Re: AW: http request handling

2010-03-24 Thread Robert Kirkpatrick
My expectation in the ant-jetty plugin is to turn ant into a http server so that incoming requests could be handled in ant. Robert. jan.mate...@rzf.fin-nrw.de a écrit : What is "http handling"? Do you want that Ant does the OUTGOING request or handles the INCOMING request? outgoing

Re: http request handling

2010-03-24 Thread Robert Kirkpatrick
ed, 2010-03-24 at 15:05 +0100, Robert Kirkpatrick wrote: How do I get html form input values into, say, ant properties? Adam Leggett (UPCO) a écrit : Use the task maybe? [...] On Wed, 2010-03-24 at 14:06 +0100, Robert Kirkpatrick wrote: Is there a task supporting the handli

Re: http request handling

2010-03-24 Thread Robert Kirkpatrick
How do I get html form input values into, say, ant properties? Adam Leggett (UPCO) a écrit : Use the task maybe? [...] On Wed, 2010-03-24 at 14:06 +0100, Robert Kirkpatrick wrote: Is there a task supporting the handling of *http requests *with *ant*, using an embedded http server like

http request handling

2010-03-24 Thread Robert Kirkpatrick
Is there a task supporting the handling of *http requests *with *ant*, using an embedded http server like *jetty*? Seen the good work of Jakub Pawlowicz on the ant jetty plugin, but no answer to my basic question... Has anyone tried that? Tx, Robert

Re: AW: Passing a list of files to javac

2010-03-11 Thread Robert Menteer
w.de wrote: > - <-- email is about this > + <-- email is about this > > Jan > >> -Ursprüngliche Nachricht- >> Von: Robert Menteer [mailto:reet...@me.com] >> Gesendet: Mittwoch, 10. März 2010 21:28 >> An: user@ant.apache.org

Passing a list of files to javac

2010-03-10 Thread Robert Menteer
How can I get the javac task to use an existing fileset? In my build.xml I have created several filesets to be used in multiple places throughout build file. Here is how they have been defined: I have also used

Re: ssh exectuion failure from build task in

2010-03-01 Thread Robert Anderson
This is probably not an ant issue. When you sshexec something on the remote host, the environment is not setup the same as if you are logged in. Your .profile is not sourced and your PATH and other variable can be different. To troubleshoot this, I suggest running the command outside of ant like th

Re: What's Up with FTP task?

2010-03-01 Thread Robert Anderson
Or try using the scp task. -Rob Anderson On Sat, Feb 27, 2010 at 11:21 AM, Antoine Levy-Lambert wrote: > Hi, > > commons-net-2.0 could be the culprit. Try with commons-net-1.4.0. > > I have looked at our library dependencies manual page [1] > > Regards, > > Antoine > > [1] http://ant.apache.org/m

AntForm project

2010-02-06 Thread Robert Kirkpatrick
? Thanks in advance. Robert. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: How to stop receiving postings but stay subscribed? Web only

2010-01-26 Thread Robert Anderson
Filter your incoming emails. -Rob A On Tue, Jan 26, 2010 at 6:15 AM, BenXS wrote: > > But this way I could NOT send any questions. > Your suggestion is a read-only solution. > > It seems to me that all Apache Mailing-Lists have NO > "stop-mail-devlivery-but-stay-subscribed" option > > :-( > > or

Re: Ho Do I ftp put files only if the don't exist at target

2009-12-02 Thread Robert Anderson
Try rsync. On Wed, Dec 2, 2009 at 5:11 AM, Nordmeyer wrote: > > Hi, > I would like to update a ftp remote site with files that exist locally > ignoring files that already exist at the remote site - only comparing by > file name. > > I Found this posting > http://old.nabble.com/forum/ViewPost.j

Re: Slash issue in ANT script

2009-11-27 Thread Robert Anderson
There are several ways to handle this. 2 possibilities are... 1. Use relative paths. 2. Set an environment variable, like SERVER_PATH. Then use the environment variable in Ant. -Rob A On Fri, Nov 27, 2009 at 10:38 AM, glenn opdycke-hansen wrote: > I agree that there are some things to be aware

Re: Ant API

2009-11-26 Thread Robert Anderson
For scp, Ant uses jsch... http://www.jcraft.com/jsch/ There are several examples in the source, or you could look at the scp ant tasks source. -Rob Anderson On Thu, Nov 26, 2009 at 8:13 AM, Rebhan, Gilbert < gilbert.reb...@huk-coburg.de> wrote: > > > -Original Message- > From: LukeS [mai

Re: Ant API

2009-11-25 Thread Robert Anderson
Actually the cvs ant task system.execs the cvs binary. You can probably find pure java cvs api to use. A quick search turned up this... http://www.jcvs.org/ For the database, I'm not sure what you are doing but there are some really great persistance layers worth looking at, like hibernate and iba

Re: Killing Ant process through shell script when multiple Java processes are running...

2009-11-25 Thread robert lazarski
On Wed, Nov 25, 2009 at 6:49 AM, Harry_ wrote: > > And one more thing I would like to ask is about how to get the list of > processes created by a process. I want this to make sure that all the > processes created by parent ant process are also killed once I Killed ant > process. Any way ant can w

Re: task not accepting relative path

2009-11-02 Thread Robert Anderson
You need to use the wildcard in the includes attribute like this... I have tested that this works with the following... After running this target, all the files in **/Capital have an been touched. -Rob Anderson On Sat, Oct 31, 2009 at 11:06 AM, cvsusr wr

Re: SSL keystore export/import with ant tasks.

2009-10-30 Thread Robert Anderson
I don't believe there is a way to do this with pure Ant currently. As you mention, options are exec task or write your own task. The key to writing your own taks would be to find a java implementation of keytool. -Rob Anderson On Mon, Oct 12, 2009 at 11:51 PM, Max Danielsson wrote: > Hi, I've b

Re: Launch Ant build from Java

2009-09-25 Thread robert lazarski
On Fri, Sep 25, 2009 at 1:17 PM, Jean-Baptiste BRIAUD -- Novlog wrote: > Hi, > > I'd like to launch an Ant build from Java (from a servlet in a Tomcat > server). > > What would you advise me to do that ? > Should I launch it from OS using exec or should I try to use Ant classes > from my own class

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 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

RE: earexport ibm ant task show stopper issue

2009-06-29 Thread Zanzerkia, Robert
clipse menu bar, select the JRE tab and choose run in same JRE as Workspace. Then your runAnt file will work. Robert -Original Message- From: Laurent Morissette [mailto:laurent.morisse...@gmail.com] Sent: Monday, June 29, 2009 11:15 AM To: user@ant.apache.org Subject: earexport ibm ant tas

Classpath issue with javac task

2009-06-17 Thread Zanzerkia, Robert
pick up C:\IBM... jar files below? NOTE: entries starting with z:\ are mine. Thanks, Robert [javac] [search path for class files: [C:\IBM\SDP70\runtimes\base_v61\java\jre\lib\vm.jar, C:\IBM\SDP70\runtimes\base_v61\java\jre\lib\core.jar, C:\IBM\SDP70\runtimes\base_v61\java\jre\lib\charsets.jar

Re: Running ant programmatically using API

2009-05-11 Thread robert lazarski
On Mon, May 11, 2009 at 11:51 AM, Cole, Derek E wrote: > Hi All. If I am creating an ANT project programmatically with the Java > API, and I want my invoked instance of Ant to have the same classpath as > my system, how can I do this? > > > > I have tried a few different things, but none seem to w

Re: if and conditions

2009-03-13 Thread Robert Anderson
You can also use the if and unless attributes of the target to control certain behavior. On Fri, Mar 6, 2009 at 10:59 AM, Scott Stark wrote: > >The task is part of the AntContrib package which is available > >from http://ant-contrib.sourceforge.net/>. Task descriptions are from > >

Re: ant clearcase task issue

2009-03-03 Thread Robert Anderson
The attribute is failonerr, not failonerr*or*. -Rob Anderson On Mon, Feb 23, 2009 at 8:50 AM, meher03 wrote: > > Hi > I am using ant 1.7.1. I am utilising the ant task ccmklabel within the > build.xml. > > According to the online documentation there is an attribute called > failonerror which ca

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
As I wrote previously, the XML parser is using the DTD to fill in the default attributes/values. Nothing to do with Ant or XSL -- basic XML. -Rob On Feb 17, 2009, at 5:46 PM, wrote: Why would you say it has nothing to do with XSLT? Robert Koberg wrote: On Feb 17, 2009, at 4:22

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
On Feb 17, 2009, at 4:22 PM, wrote: Scott: I do a fair bit of XSLT/XSD work related to an ESB at work. Is it possible for me to get a copy of your XSLT so I can review it? has nothing to do with XSL... Scott Stark wrote: Hi all, my first post here, from a relative newbie, so

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
On Feb 17, 2009, at 11:32 AM, Scott Stark wrote: There's nothing in my XSL that's inserting these attributes. Any idea what's going on? Thanks. Does your XML use a DTD/Schema? Does that DTD/Schema have defaults? It is not the XSL, it is the XML parser. Yes I'm using DTD's. Sorry to be sl

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
There's nothing in my XSL that's inserting these attributes. Any idea what's going on? Thanks. Does your XML use a DTD/Schema? Does that DTD/Schema have defaults? It is not the XSL, it is the XML parser. -Rob - To unsubscr

RE: Unresolved dependency error message makes no sense.

2009-02-10 Thread Buck, Robert
743096 btw, did you already find the problem? Maarten - Original Message From: "Buck, Robert" To: ivy-u...@ant.apache.org Sent: Tuesday, February 10, 2009 10:23:25 PM Subject: RE: Unresolved dependency error message makes no sense. Nope, didn't work -- what threw me

Unresolved dependency error message makes no sense.

2009-02-10 Thread Buck, Robert
Is this what is desired? The error message here is not a proper sentence and makes no sense; it does not help me diagnose the issue. Could someone update the resource bundle text so that it has a proper english sentence? >>> "'default' doesn't exist in module module" <<< Thanks [ivy:resolve]

Re: Simple solutions to sshexec nohup Ant?

2009-02-09 Thread Robert Koberg
I had this problem as well. It had to do with the environment being different in Ant's case than from running the command outside of Ant. Check out: http://markmail.org/message/xqfe4sqiqsujq7vz thanks to Stefan Bodewig best, -Rob On Feb 9, 2009, at 1:07 PM, Lucas Albers wrote: I use pli

How to limit scope of token filters? also, q about svn rev number

2009-01-21 Thread Robert Dodier
(as stated by svn info) into, say, a properties file? Perhaps someone has a recipe I can follow. Thanks for any light you can shed on these questions. Robert Dodier - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For

Re: Can't find tools.jar when invoking ant programatically

2009-01-16 Thread robert lazarski
On Fri, Jan 16, 2009 at 12:11 PM, Scot P. Floess wrote: > > I don't think setting the property as you have done is exactly correct... At > least once the JVM is up and running... I'd definitely set JAVA_HOME in > your environment first...before running... > Invoking ant programatically starts an

Re: Can't find tools.jar when invoking ant programatically

2009-01-16 Thread robert lazarski
On Fri, Jan 9, 2009 at 5:42 PM, Scot P. Floess wrote: > > Uh yeah... > > Your JAVA_HOME should point to /usr/local/jdk1.6.0_11 > Well, I tried this: System.setProperty("java.home", "/usr/local/jdk1.6.0_11"); Project project = new Project(); ... project.executeTarget(project.getDefaultTarget());

Re: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread robert lazarski
On Fri, Jan 9, 2009 at 5:12 PM, Scot P. Floess wrote: > > If you type javac at the command line, what do you see? > /root> javac Usage: javac where possible options include: Something screwy is going on, the error: ERROR: /programs/atadapter/oa/openAdapter/ati.build.xml:47: Unable to find a

Re: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread robert lazarski
On Fri, Jan 9, 2009 at 3:40 PM, Scot P. Floess wrote: > What does your javac line look like in your build.xml? > Thanks for the reply: With definitions: - R - To unsubscribe, e-mail: user-uns

Can't find tools.jar when invoking ant programatically

2009-01-09 Thread robert lazarski
ow I have a jdk since I choose to downloaded that and not the jre, but anyways, I can do this: /root> which javac /usr/local/jdk1.6.0_11/bin/javac I tried adding /usr/local/jdk1.6.0_11/lib/tools.jar to the build.xml files path as: But that d

Re: SCP and SSHExec tasks

2008-11-26 Thread Robert Anderson
The scp task will not create remote directories. Also, there is no recursive option. Yes, you can specify a fileset, but the directory structure will not be preserved (as far as I know). If you are moving a bunch of files and want to preserve the directory structure, the best thing to do is... 1.

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
On Nov 6, 2008, at 10:02 AM, Ron Van den Branden wrote: Hi, Robert Koberg schreef: I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR from XSLT transformations? If you can use XSL 2.0 then there i

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
On Nov 6, 2008, at 9:53 AM, Ron Van den Branden wrote: Hi, I gather from the documentation at that the element only applies to , , or tasks. I'm wondering if is it possible to specify I/O redirection for the task? If not, are

problem with exec

2008-11-05 Thread Robert Anderson
I am having a problem with the exec task. The command being executed works fine on the command line, but there is an error when trying to run it via ant. I have also looked at the permissions and everything should be good. Any help would be appreciated. Here is the debug output... Execute:Java13Co

Re: Cached results?

2008-10-16 Thread Robert Koberg
On Oct 16, 2008, at 5:47 PM, Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:48 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Actually, there is more. You will want to check all document functions to see what other is being used and if it has changed. I actually have somethin

Re: Cached results?

2008-10-16 Thread Robert Koberg
On Oct 16, 2008, at 2:26 PM, Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:19 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Ant's XSL only checks the primary XSL file for changes (and the source XML - not xi:includes or file entities). It does not parse that XSL to find

Re: Cached results?

2008-10-16 Thread Robert Koberg
Ant's XSL only checks the primary XSL file for changes (and the source XML - not xi:includes or file entities). It does not parse that XSL to find xsl:import/includes to check if they have changed. You could put the import/includes in the primary XSL or use force=true on the xslt task. be

  1   2   3   >