RE: Runing Ant from JSP (servlet)

2003-01-20 Thread SimonRichardson2
Have you looked at anthill? http://www.urbancode.com/projects/anthill/default.jsp -Original Message- From: Roman Rytov [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 07:23 To: Ant Users List Subject: Runing Ant from JSP (servlet) I need a way to run ant buildfiles from web

Re: ANT and AS/400

2003-01-20 Thread Mark Cooper
-- Forwarded by Mark Cooper/Ops/Ltd/Microlise on 20/01/2003 09:44 --- Mark Cooper 20/01/2003 09:41 To:Krishnamurthy, Prakash [EMAIL PROTECTED] cc: Subject:Re: ANT and AS/400 (Document link: Mark Cooper) The first thing I would do in a

RE: Style: java.lang.UnsupportedClassVersionError

2003-01-20 Thread EXT / FOCAL MALAPRADE Roland
Sorry, I've never used the style task, so I can't help you there. Roland -Message d'origine- De : Ninad Shah [mailto:[EMAIL PROTECTED]] Envoye : vendredi 17 janvier 2003 20:50 A : [EMAIL PROTECTED] Objet : RE: Style: java.lang.UnsupportedClassVersionError Thanks for great

Reference to the Current Project

2003-01-20 Thread SimonRichardson2
Is there a way of getting a reference to the current project in JavaScript script without knowing the project name first? The question has been asked before - but that's where the thread ended. http://marc.theaimsgroup.com/?l=ant-userm=98289502701027w=2 Regards Simon Simon Richardson

RE: Reference to the Current Project

2003-01-20 Thread SimonRichardson2
After some more digging around I found the project and self objects as Project reference and Task reference . While this works. My problem (***) is that I would like to 'antcall' some other target (that contains my javascript) and in so doing set a property. However I find that on returning

Re: Reference to the Current Project

2003-01-20 Thread Erik Hatcher
On Monday, January 20, 2003, at 07:07 AM, [EMAIL PROTECTED] wrote: Is there a way of getting a reference to the current project in JavaScript script without knowing the project name first? Yes - there is the object 'project' that I added to the script task that is the Project object, and

Re: Reference to the Current Project

2003-01-20 Thread Erik Hatcher
On Monday, January 20, 2003, at 08:34 AM, [EMAIL PROTECTED] wrote: My problem (***) is that I would like to 'antcall' some other target (that contains my javascript) and in so doing set a property. However I find that on returning from my antcall the property remains unset. Reading the

RE: Reference to the Current Project

2003-01-20 Thread SimonRichardson2
I guessed as much - I've used echo to create the property file - is there an alternative way? Thanks for your help Eric -- I'm off to amazon to order your book ;-). Simon -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 13:50 To: Ant Users List

Re: Reference to the Current Project

2003-01-20 Thread Erik Hatcher
On Monday, January 20, 2003, at 09:16 AM, [EMAIL PROTECTED] wrote: I guessed as much - I've used echo to create the property file - is there an alternative way? Not as a general solution. But perhaps what you're trying to do is something that doesn't necessarily need properties being passed

RE: Fileset-based ant task

2003-01-20 Thread Dominique Devienne
There's submitted subant task in Ant's Bugzilla that does that and a bit more. See if it meets your need, and possibly supply enhancements/fixes. Thanks, --DD http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12368 http://marc.theaimsgroup.com/?l=ant-userm=104250005917677w=2 -Original

RE: Reference to the Current Project

2003-01-20 Thread SimonRichardson2
I've personally never had a build scenario that required script or for properties to be passed back up, so its hard for me to identify. Could you describe your situation in more detail? I'm trying to emulate the behaviour of anthill (certain anthill/PVCS limitations have forced this on us)

RE: JUNIT Junitreport - not showing System.out in HTML Report

2003-01-20 Thread Dominique Devienne
I modified junit-frames.xsl to add the links to stdout/stderr. JUnit tests shouldn't need to output anything (unfortunately ours are quite verbose for reasons I won't get into ;-), but if they do, the new stylesheet will generate the .txt files from the info in the XML, and the links to them in

Re: JUNIT Junitreport - not showing System.out in HTML Report

2003-01-20 Thread Erik Hatcher
On Monday, January 20, 2003, at 09:50 AM, Dominique Devienne wrote: This is in CVS only (HEAD and/or 1.5 branch, I'm not sure). --DD *whew* - I didn't do the requisite CVS diffs to find out when that change was made - so thanks for clarifying, I thought I was losing my mind :). Erik --

Re: ant as a workflow engine

2003-01-20 Thread Scott Walters
Thanks for all the info. I've been experimenting with writing ant tasks, and I'm starting to think that it's a great framework for what I'm trying to do. While I agree that maven would probably be better, I could never get even the simplest build script to work after hours of trying. I

RE: JUnit and bootclasspath

2003-01-20 Thread Dominique Devienne
You need to append or prepend to it. The JDK doc shows the correct syntax on the java.exe command line syntax, in the Tools doc section. --DD -Original Message- From: William E. Kempf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 12:55 AM To: [EMAIL PROTECTED] Subject: Re:

RE: JUnit and bootclasspath

2003-01-20 Thread Keith Hatton
You also need JAVA_HOME/jre/lib/rt.jar JAVA_HOME/jre/lib/i18n.jar (if you have the international JRE) Alternatively, use the -Xbootclasspath/p:your-libraries switch instead to prepend your libraries to the boot classpath instead of replacing it completely. (But see Java docs for use of -X

Adding classes to ejb jars using support with ejbjar

2003-01-20 Thread Dennis Williams
Hi, I'm having trouble adding support classes to my ejb jar file using the nested support tag of ejbjar. I've follwowed the suggested directions, and no file is included. I can include the support class within the jar, but only if I include it's full path within the tag. This leaves me with

Re: Reference to the Current Project

2003-01-20 Thread Erik Hatcher
On Monday, January 20, 2003, at 09:42 AM, [EMAIL PROTECTED] wrote: I'm trying to emulate the behaviour of anthill (certain anthill/PVCS limitations have forced this on us) which maintains a version file. The script merely opens a file and creates properties for an oldVersion and newVersion.

Re: Runing Ant from JSP (servlet)

2003-01-20 Thread Scott Walters
I wanted to do the same thing. The anthill stuff looked too complex for what I wanted but I couldn't find anything else that does this. I looked at invoking the main() startup method inside ant but that makes System.exit() calls. I got a very basic servlet working, though, by cloning a very

RE: Style: java.lang.UnsupportedClassVersionError

2003-01-20 Thread Ninad Shah
I found the problem. My home directory was on network drive. I have moved it to my local drive and it worked fine. Does anybody know why it doesn't work on network drive ? Ninad EXT / FOCAL MALAPRADE Roland [EMAIL PROTECTED] wrote:Sorry, I've never used the task, so I can't help you there.

standard j2ee/ant test tool ?

2003-01-20 Thread Sebastien BLANC
Hello ! there are a lot of test tools out in the j2ee( integrated w/ ant) field and I was wondering if there was an open source standard for j2ee and ant integration ? or if anybody has had experiences with different non-regression/test chain tools and can give the pros/cons. thank you for any

ANT: KJS#00001 %SystemDrive%

2003-01-20 Thread Info
I am new to Ant. Just installed 1.5.1. I find the documentation for Ant 1.5.1 silent on the need to set SystemDrive=x: when using ant.bat on a win9x platform. I located the problem in the ant.bat script. %SystemDrive% must be defined to keep ant.bat from using \ant (the apparent default when I

RE: JUNIT Junitreport - not showing System.out in HTML Report

2003-01-20 Thread Frot
Hi Dominique, Thanx for the patch, it works (and its the Head version). Also my thanks to Erik for getting this thing going. I hope this changes makes it to the upcoming release ?? I know my tasks should by silent, but the class tested generates some random strings. I could not think of a better

RE: JUNIT Junitreport - not showing System.out in HTML Report

2003-01-20 Thread Dominique Devienne
I was just trying to express the canonical JUnit way, which is still misunderstood sometime. And our unit tests don't have nearly as good a reason for being so verbose ;-) Cheers, --DD -Original Message- From: Frot [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:51 PM To: Ant

mail

2003-01-20 Thread Nau, Michael
I don't see a classpath parameter for the mail task - is there a way for me to add activation.jar and mail.jar to a classpath so I can use the mail task without having to copy the files to my ant/lib dir? In our build environment we have everything we might need in a central repository that our

Re: mail

2003-01-20 Thread Frot
Does this do the trick ?? path id=classpath fileset dir=MY_VERY_SPECIAL_NON_CLASSPATH_PATH_HERE/lib include name=**/*.jar/ /fileset /path Fred *** REPLY SEPARATOR *** On 20/01/2003 at 14:26 Nau, Michael wrote: I don't see a classpath parameter for the mail

RE: mail

2003-01-20 Thread Dominique Devienne
No it won't. There is currently no way that I know of in Ant 1.5.1 to extend (within the build file) the ClassPath Ant uses to load its own tasks/classes, if these tasks are declared in the core or optional tasks.properties files Ant loads on startup. The usual work around I believe involves

RE: mail

2003-01-20 Thread Nau, Michael
That doesn't seem to do the trick. Here is the xml: path id=classpath pathelement location=${activation.jar.dest}/${activation.jar.name}/ pathelement location=${mail.jar.dest}/${mail.jar.name}/ /path mail from = [EMAIL PROTECTED] tolist

New Ant Task

2003-01-20 Thread Ryan Grier
Hello all, I believe I may have a nice little tool which may come in handy for some people; at least I hope it does. The goal of this task was for me to have Ant take care of both the build number and the version number in my software. I could have just used a build in task to take care of build