AW: Commit changes in CVS

2005-02-28 Thread Jan . Materne
without deeper knowledge about I suppose that your cvs command checkout -r ${cvs.tag.prefix}-${cvs.tag.complete} ${cvs.module} must be splitted into "command" and several s ... Jan > -Ursprüngliche Nachricht- > Von: Kasparek, Bernadette [mailto:[EMAIL PROTECTED] > Gesendet am: Monta

RE: "import re" with jython

2005-02-28 Thread David Resnick
For the record, here is the very simple solution to the problem: I was trying to use jython.jar without any of the other files that come with Jython. Jython automatically sets as its import path a sub-directory below jython.jar named Lib. This directory needs to hold the Lib dir from the Jython

woes!

2005-02-28 Thread Cyril Sagan
I'm loosing my mind trying to get Ant to delete a directory! I thought this was easy, until I was sent a path property that included multiple directory components. The obvious was working: ...until I was given a path in the form "dirX/dirY". The result was to remove "dirY" and all its con

RE: Using pcli under ANT 1.6.2

2005-02-28 Thread Anderson, Rob (Global Trade)
> The actual task is PVCS, but we can use pcli commands under > that task. We > used an Optional.jar in 1.5 which has the Pvcs.class, > Pcli.class in it. I > copied over the jar file under ANT 1.6.2's lib folder but it > did not seem to > make any difference. Not really a great idea to copy th

AW: Commit changes in CVS

2005-02-28 Thread Kasparek, Bernadette
Hi, This doesn't work. I get the following Error message: [cvs] cvs [commit aborted]: there is no version here; do 'cvs checkout' first I have the following calls: ... Change some files from Checkout ant checkout -> works ant checkin -> [cvs] cvs [com

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
Thanks Matt, I certainly see the problem. I decided to take the path of least resistance, but I left myself an note to revisit it later... I had a need to copy in certain files when doing a production build, and certain others for a development build. So all I wound up doing was have a set_develo

Re: Conditionals

2005-02-28 Thread Matt Benson
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: [SNIP] > So, is there a way to get this task... > > >operation="+" value="1" > pattern="" /> > > > To NOT wipe out my comments? Thanks again, I'm > learning alot :) According to its doc, this task makes no effort to preserve comments.

RE: Using pcli under ANT 1.6.2

2005-02-28 Thread ed . wittmann
I have used the pvcs stuff in the past, but not currently. If you really get stuck: you'll see that alternate versions of the pvcs ant task exist - but you need to build them into ant. Easy to do. http://marc.theaimsgroup.com/?l=ant-dev&m=99667939904467&w=2 http://sourceforge.net/projects/ant-pv

Re: Conditionals

2005-02-28 Thread Mark Lundquist
Hi Frank, On Feb 28, 2005, at 9:56 AM, Frank W. Zammetti wrote: This might be the last Ant question I ever have to ask (now, where is the deed to that bridge in Brooklyn?!?)... Is it possible, and if so how, to do conditionals? I'd like to have a way basically on each task to say "if property A

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
Regarding the Ant way... I could do what I want just by not defining a given property in my properties file, that would be acceptable. However, I encountered a problem doing that... The first task in my build bumps up a build number in the properties file. In doing so, it seems that any comment

Re: Conditionals

2005-02-28 Thread Matt Benson
--- Ninju Bohra <[EMAIL PROTECTED]> wrote: > I tried to make a suggest the ANT developers group > that they could accomplish that exact capablility > with about 4 lines of code. > > See: > http://issues.apache.org/bugzilla/show_bug.cgi?id=33105 > > They rejected it :-( If it makes you feel an

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
Can you point me at some doc for "conditional targets"? I'm not familiar with that (I'm still relatively new to Ant). Thanks Jeffrey! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, February 28, 2005 1:04 pm, Jeffrey E Care said: >

Re: Conditionals

2005-02-28 Thread Matt Benson
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > Is it possible, and if so how, to do conditionals? > I'd like to have a way > basically on each task to say "if property A=value1, > then run this task, > otherwise don't". I'm looking through the manual > now but haven't come > across what se

Re: Conditionals

2005-02-28 Thread Jeffrey E Care
You can conditionally run targets, so one way would be to use conditional targets & antcall. Another way would be to use ant-contrib: it has support for conditional task execution. JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project M

Re: Conditionals

2005-02-28 Thread Ninju Bohra
I tried to make a suggest the ANT developers group that they could accomplish that exact capablility with about 4 lines of code. See: http://issues.apache.org/bugzilla/show_bug.cgi?id=33105 They rejected it :-( Just use (and overuse) the task from the ant-contrib project "Frank W. Zammetti

Conditionals

2005-02-28 Thread Frank W. Zammetti
This might be the last Ant question I ever have to ask (now, where is the deed to that bridge in Brooklyn?!?)... Is it possible, and if so how, to do conditionals? I'd like to have a way basically on each task to say "if property A=value1, then run this task, otherwise don't". I'm looking throug

AW: if junit batchtest is skipped also skip junitreport?

2005-02-28 Thread Jan . Materne
Stefan has blogged something [1] about that :-) Jan [1] "Re-Run Tests that Failed" http://stefanbodewig.blogger.de/stories/228399/ > -Ursprüngliche Nachricht- > Von: Dominique Devienne [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 28. Februar 2005 18:28 > An: Ant Users List > Be

RE: if junit batchtest is skipped also skip junitreport?

2005-02-28 Thread Dominique Devienne
This is an elegant solution IMHO. It has one little flaw, which really isn't; a test that crashes the VM (can happen with native code and JNI) prevents the XML file from being generated. So using forkmode="perTest", you'd be missing one or more of these XML files, and if all tests were of this cat

RE: if junit batchtest is skipped also skip junitreport?

2005-02-28 Thread Keith Hatton
I recently did this but was unable to do it with a purely macrodef-based approach. The gist of my solution was to define the fileset generated by Junit. Then check if it was actually there: Then only do the junitreport if the property was set:

RE: Checkstyle task

2005-02-28 Thread Frank W. Zammetti
Ah! That's the piece of information I needed... I didn't realize the classpath had to be defined within the taskdef, I thought I could add the checkstyle JAR to my global classpath and it would work. Yes, that makes all the different, thank you! -- Frank W. Zammetti Founder and Chief Software A

RE: Checkstyle task

2005-02-28 Thread Dominique Devienne
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > > I'm having a heck of a time trying to get a CheckStyle task up and > running... I'm using Ant 1.6.2 and CheckStyle 3.4. Here's what I have in > my build.xml: > > > > No classpath here, where it matters. > >includ

Checkstyle task

2005-02-28 Thread Frank W. Zammetti
I'm having a heck of a time trying to get a CheckStyle task up and running... I'm using Ant 1.6.2 and CheckStyle 3.4. Here's what I have in my build.xml: I'm trying to run the analysis on all the classes generated by a previous compile step, wh

RE: Using pcli under ANT 1.6.2

2005-02-28 Thread Balasinorwala, Murtuza J.
The actual task is PVCS, but we can use pcli commands under that task. We used an Optional.jar in 1.5 which has the Pvcs.class, Pcli.class in it. I copied over the jar file under ANT 1.6.2's lib folder but it did not seem to make any difference. First it complained about not finding the task. After

Re: Using pcli under ANT 1.6.2

2005-02-28 Thread James Fuller
Balasinorwala, Murtuza J. wrote: Hello, I recently upgraded from ANT 1.5 to ANT 1.6.2 in order to use the SCP task in my build scripts and replace it with the ftp task. I got the jar files necessary to make the SCP task work with the existing build scripts. But now, the pcli tasks fail. Can som

if junit batchtest is skipped also skip junitreport?

2005-02-28 Thread Jon Jagger
I have a package based ant setup which uses the following... ... ... ... ... ... ... Many thanks Jon - To unsubs

AW: Using pcli under ANT 1.6.2

2005-02-28 Thread Jan . Materne
Never heard of a task ... Jan > -Ursprüngliche Nachricht- > Von: Balasinorwala, Murtuza J. [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 28. Februar 2005 15:45 > An: 'Ant Users List' > Betreff: Using pcli under ANT 1.6.2 > > Hello, > I recently upgraded from ANT 1.5 to ANT 1.6.2

Using pcli under ANT 1.6.2

2005-02-28 Thread Balasinorwala, Murtuza J.
Hello, I recently upgraded from ANT 1.5 to ANT 1.6.2 in order to use the SCP task in my build scripts and replace it with the ftp task. I got the jar files necessary to make the SCP task work with the existing build scripts. But now, the pcli tasks fail. Can someone point to me if I need to o

Process fork failed - Help

2005-02-28 Thread Mohan Radhakrishnan
Hi, This is the follow-up to the previous mail. I turned on the -verbose switch and got this error. java.io.IOException: CreateProcess: C:\jdk1.3.1_08\jre\bin\java.exe -classpath C :\UnitTest\jcoverage-1.0.5\jcoverage.jar;C:\UnitTest\coverage\instrumented-class es\com\blockbuster\facility\st

Process fork failed - Help

2005-02-28 Thread Mohan Radhakrishnan
Hi, I read the doc. and the explanation for this error. 1. I removed ant-junit.jar from ANT/lib. What should my taskdef be in I remove it ? I should point to it .Right ? 2. JUnit jar is in the classpath. 3. My classes are in the classpath. "Process fork failed" is the error I get when I