Re: Ant v. 1.4alpha usable?

2001-07-19 Thread jani . kaarela
Awgh, I hate the way Notes quotes messages. Guess I'll just have to live with it. You've got me convinced enough, I'll give 1.4alpha a shot. If it doesn't work, fine, I'll send a bug report or fix it. BTW, I found the filter task a bit lacking, you can't use token =${property.name} in the filte

Re: Q: Nasty environment variable behavior?

2001-07-19 Thread Stefan Bodewig
On Thu, 19 Jul 2001, Steve Nesbitt <[EMAIL PROTECTED]> wrote: > > > The nasty behavior I'm experiencing is that if an environment > variable is not defined, then the value of the property is not left > undefined but set to the string in the value field. This is expected behavior (count tha

Re: Urgent ! installation problem

2001-07-19 Thread Stefan Bodewig
On Thu, 19 Jul 2001, Phani Srinivas <[EMAIL PROTECTED]> wrote: > 1..I downloaded ANT binary as well source release.( c:\ANT) You will just need the binary. > 6..have added ant.jar to c:\ANT\ANT_HOME\lib\ant.jar on the > classpath Not necessary. > 7..Since I am using jdk1.2.2 I have added c:\j

Re: java task with security manager?

2001-07-19 Thread Stefan Bodewig
On Thu, 19 Jul 2001, Tim Bond <[EMAIL PROTECTED]> wrote: > java -Djava.security.manager -Djava.security.policy==/someURL/ > SomeApp use instead of sysproperty. Stefan

Re: Exit Code

2001-07-19 Thread Stefan Bodewig
On Thu, 19 Jul 2001, Carter A. Thompson <[EMAIL PROTECTED]> wrote: > Does anyone know if the future builds of ant will include a valid > exit code? The Java portion of Ant does and the wrapper scripts for Unix as well as the Perl version (don't know enough Python to comment on that script) pass

Re: Problem while Exporting CLASS Files

2001-07-19 Thread Pandian . Anbunathan
ThankX Boss, It is working fine now. (Embedded image moved to file: pic05075.gif) Glenn McAll

Q: Nasty environment variable behavior?

2001-07-19 Thread Nesbitt, Steve
Title: Q: Nasty environment variable behavior? All: For compatibility purposes I am allowing, as a last resort, a series of properties to be defined based on environment variables. Here's the code:         The nasty behavior I'm experiencing is that if an environment variable is not def

redefine params for release

2001-07-19 Thread Churchill, Ralph
Title: redefine params for release I have an buildfile with a target for compiling, building EJBs and building jar files. Multiple developers work on my project, so we set a property, project.dir, to be "base" directory. All other directories are in relation to that (as properties), e.g.

RE: CRON JOBS ????

2001-07-19 Thread Viraj Purang
HI, Thanks for the information ...but my problem was somethin different ...which i figired out when I ran it in debug mode ... it required my JAVA_HOME to be set to /opt/java1.2/jre rather than /opt/java1.2 which works fromm the normal shell ... I made this change and it started working fin

RE: CRON JOBS ????

2001-07-19 Thread Bill . J . Fellows
Let's see, You quoted http://marc.theaimsgroup.com/?l=ant-user&m=98864920124953&w=4 But if you'd read the next two messages in the thread you'd see We ask for more info detailing her setup http://marc.theaimsgroup.com/?l=ant-user&m=98864967126299&w=4 and she figured out what her problem was http

CRON JOBS ????

2001-07-19 Thread Viraj Purang
Hi Dana, Were you able to resolve this JAVA_HOME error. I shifted my build subsystem from linux to HP-UX and have started getting the same error and I need to resolve this fast.CAn you send me a copy of your wokring cron script file, it would be a great help I guess... Regards, Viraj Purang.

Urgent ! installation problem

2001-07-19 Thread Srinivas, Phani
Hi My name is Phani.I am trying to install ANT source and binary distribution's am able to reach the final step I am able to make the build ,but I am unable to install it. It say "Build failed due to unknown reason ".here are a few steps which I have followed till now 1..I downloaded ANT bina

[antlist] weblogic and ejbc - how to

2001-07-19 Thread T Master
Does anyone know how to rewrite the following for use in Ant: @REM Run EJBC on jar file java -classpath %WL_HOME%/lib/weblogic_sp.jar;%WL_HOME%/lib/weblogic.jar weblogic.ejbc -compiler javac build\std_ejb20_message.jar %APPLICATIONS%\ejb20_message.jar Also, any hints/tips of using Ant with weblo

java task with security manager?

2001-07-19 Thread Tim Bond
Attempting to use Ant to run a Java program with a security manager and policy file under JDK 1.3.1. The docs say to use something like this to run the program and it works from the command line. java -Djava.security.manager -Djava.security.policy==/someURL/ SomeApp When I try to convert this

Re: [antlist] How to install/configure JUnit task

2001-07-19 Thread T Master
All: I got everything working. At last! Thanks to everyone for their input. To get JUnit working:, I had junit in my classpath, and ant, with optional.jar too. No need for a 's as the optional.jar was being used. The classloader won't be confused if s are used. An interesting interaction betw

Re: preventing ant exit

2001-07-19 Thread TMotte
(sorry about my reverse-quoting of your reply, i have to use this crap emailer that screws it all up) i implemented it without hitting any classloader problems, but maybe what i'm working on is too simplistic to encounter such. anyhow, if anybody wants the code, email me. thanks tm

Re: [antlist] How to install/configure JUnit task

2001-07-19 Thread T Master
Stefan, I've posted the complete output below. Here's a summary again of the problem and my setup. Setup: o/s = win2000; java sdk = v1.2.2; ant = v1.3; optional.jar in ANT_HOME/lib; junit.jar in classpath at the end. I am trying to get the task to work. Interestingly enough, the junit

RE: [antlist] error in ant.bat file ?

2001-07-19 Thread Jason Pettiss
Put an echo before %_JAVACMD%. That way you'll see what is actually getting called at the command line. There's nothing magic about the quotes or the % signs, your shell is just gonig to do substitions-- or not-- based on how brain-dead it is. I'm betting one of those variables is mucked up in

[antlist] error in ant.bat file ?

2001-07-19 Thread T Master
On Win2000, my ant.bat file (v1.3) has the section: :runAnt echo %ANT_CMD_LINE_ARGS% %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% goto end Apparently, the quotes around %ANT_HOME% cause a problem. When "ant.bat

Exit Code

2001-07-19 Thread Carter A. Thompson
Does anyone know if the future builds of ant will include a valid exit code? Successful builds and failed builds both exit 0. C:/>ant Buildfile: build.xml does not exist! Build failed C:/>echo $? 0 Bummer. Carter. -- Carter A. Thompson Lead Release Engineer Voxeo Corporation http://www.vox

RE: WebLogic 5.1 deployment fails if the j2ee.jar isn't set inth e en vironment classpath.

2001-07-19 Thread Richard Wilkinson
First of all, thank you to all the people who responded to this distress call. I thought I would give the results of today's hard head scratching. The problem didn't lay in the build.xml files but the ant.bat file. Like I said in the first email we are trying to set and build everything in the b

Re: Ant v. 1.4alpha usable?

2001-07-19 Thread Conor MacNeill
From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 12:33 AM Subject: Re: Ant v. 1.4alpha usable? > On Thu, 19 Jul 2001, jani kaarela <[EMAIL PROTECTED]> wrote: > > > So, the question is, has anyone been using Ant 1.4alpha? > > Sure - most Ant developer

Re: Ant v. 1.4alpha usable?

2001-07-19 Thread Stefan Bodewig
On Thu, 19 Jul 2001, jani kaarela <[EMAIL PROTECTED]> wrote: > So, the question is, has anyone been using Ant 1.4alpha? Sure - most Ant developers do, I guess. If you had asked a week or two I would have said it is rather stable and approaching a new release. After that we've fixed some bugs 8

Looking for a "Build Event" code sample

2001-07-19 Thread Norman Klein
I want Ant to tell me which file it is compiling whenever it compiles a file, without having to either run "ant -verbose" or setting up a listener "ant -listener org.apache.tools.ant.XmlLogger". So it appears that I need to check when the "task" or "target" is finished and post a message then.

Ant v. 1.4alpha usable?

2001-07-19 Thread jani . kaarela
Hi folks, I've run into a bug in 1.3. After banging my head to the wall for several hours I checked the development version and found out that it was indeed a bug, and even better, it's been fixed in 1.4alpha. Also, I modified the ejbjar task's naming convention just to find out that what I wante

Re: Problem while Exporting CLASS Files

2001-07-19 Thread Glenn McAllister
[EMAIL PROTECTED] wrote: > Hi, > Iam facing problem while exporting class files in a project. > My XML for export task is > > ="export_projects"> > > > > By default, vajexport exports source and resources. You want class files

Re: classloader problems with dll

2001-07-19 Thread Stefan Bodewig
On Thu, 19 Jul 2001, Detlef Brendle <[EMAIL PROTECTED]> wrote: > instead of that, add to your . The current nightly build will try to include junit.jar, ant.jar and optional.jar when you fork . Stefan

RE: classloader problems with dll

2001-07-19 Thread Detlef Brendle
hi Pete , thanks for your suggestion with fork. for some reason I cant get it running. my junit task looks like : I looked into the element. It says that I can add arguments the same way than within itself. But it cant fin

Re: WebLogic 5.1 deployment fails if the j2ee.jar isn't set in the en vironment classpath.

2001-07-19 Thread Conor MacNeill
Richard, I have never used j2ee.jar in my weblogic work. All the classes you need should be in the weblogic directory. From: "Richard Wilkinson" <[EMAIL PROTECTED]> > > I get a load of 'Could not fully load class ??? for super class check' > > [ejbjar] Could not fully load class com.protek.sp.ra

Re: Javac compiles Weblogic EJBs but Jikes doesn't.

2001-07-19 Thread Conor MacNeill
Richard, > It appears that the classpath gets confused. FramePS is in > ejbcgen.com.protek.sp.frames _NOT_ com.protek.sp.frames (as the error > message implies). Has anyone experienced this before? > I think it may be Jikes that gets confused :-) Whilst the class FramePS is in the directory

Re: Getting Ant to tell me the "out of date" files

2001-07-19 Thread Don Taylor
I believe if you run ant with the -verbose option you'll see what files are being compiled. The only problem is you'll probably see a lot more other stuff than you really care to. -- Don --- Norman Klein <[EMAIL PROTECTED]> wrote: > > Sorry, I have just today started using "ant", so this is a r

Re: classloader problems with dll

2001-07-19 Thread Peter Donald
On Thu, 19 Jul 2001 20:29, Detlef Brendle wrote: > I compile a complete set of services ( one ant script calls several other > ant scripts) > If I run them separately it works allright - > However combined them together I get the following exception: > ### > libJNIExplorer.dll alre

Problem while Exporting CLASS Files

2001-07-19 Thread Pandian . Anbunathan
Hi, Iam facing problem while exporting class files in a project. My XML for export task is where Infobus is my project. Iam getting error msg as export: [vajexport] Exporting 1 package(s) to D:\TEMP\new BUILD FAILED E:\new.xml:3

Functionality like 'make -n/make -k'

2001-07-19 Thread Nimesh Shah
There is one more like that i.e. 'make -k' where it does not stop doing things when it encounters first problem, rather continues with next target, this one is also very useful many times, does ant support it or is there plan for its support? Reg, -Nimesh. -Original Message- From: Pe

Re: Getting Ant to tell me the "out of date" files

2001-07-19 Thread Peter Donald
On Thu, 19 Jul 2001 18:57, Nimesh Shah wrote: > Is this functionality like 'make -n' on Unix system where it shows what it > is going to do but doesn't really do it? Theres no such functionality in Ant1 but there will be in the future. Cheers, Pete *

RE: Getting Ant to tell me the "out of date" files

2001-07-19 Thread Nimesh Shah
Is this functionality like 'make -n' on Unix system where it shows what it is going to do but doesn't really do it? Reg, -Nimesh. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 11:02 AM To: [EMAIL PROTECTED] Subject:Re: