Passing build.xml thru XSLT?

2001-01-23 Thread Tim Vernum
Title: Passing build.xml thru XSLT? Is there anyway to have my build.xml file passed through a stylesheet transformation inside of ant? I'm happy to use XSLT for all the ugly template type stuff I want/need/think-I-need. I'm happy to use XML entities for includes. I have a "xsl-stylesheet"

RE: WebLogic 6 support

2001-01-23 Thread Conor MacNeill
Charles, I am working on WL6 support at the moment. The issues are to do with DTD locations and classpath management etc. I hope to have this in 1.3 You are right that the ejbc task is WL451 specific. The ejbjar task, however, can be used to run the ejbc tool for WL51. Any ideas, code, etc tha

WebLogic 6 support

2001-01-23 Thread Charles Hurst
I'm new to Ant but would like to use it on a new project. We are [probably] using WebLogic 6.0 and I haven't seen anything indicating current support of this version. Does anybody have any info on using WebLogic 6.0 ejbc with Ant? The documentation I've seen seems to indicate only WLS 4.5.1 is

RE: Sorted! :-)

2001-01-23 Thread Conor MacNeill
Danny, What prompted you to put ant.jar in the ext directory? In any case, that will cause problems due to levels of trust. Check out this bug report http://developer.java.sun.com/developer/bugParade/bugs/4266452.html So, the rule should be. Don't place ant.jar in the extensions directory. I'll

Re: removing directories

2001-01-23 Thread Glenn McAllister
Josh Sugnet wrote: > Nico, > thank you for the clarification, but I dont think I was clear enough in my > original post on what I am trying to do. Abetter examples is the following. > Suppose I have a directory named src in which I have a large source module > checked out from a CVS r

RE: Problem with Ant, Win2k, JDK 1.3, tools.jar

2001-01-23 Thread Jeff Davies
You have to have tools.jar added to your CLASSPATH. That should do the trick. - Jeff -Original Message- From: Danny Ayers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 5:15 AM To: [EMAIL PROTECTED] Subject: Problem with Ant, Win2k, JDK 1.3, tools.jar Hi, Apologies if this

RE: launch an application stored in a jar

2001-01-23 Thread Jeff Davies
Some things to check or consider if you want to run from a JAR file: 1) Does your manifest.mf file exist in the /meta-inf directory? 2) Does your manifest.mf file contain the entry "Main-Class: full.path.and.class.Name" ? 3) Try using 4) To my knowledge, passing in the classname attribute to th

Re: removing directories

2001-01-23 Thread Josh Sugnet
Nico, thank you for the clarification, but I dont think I was clear enough in my original post on what I am trying to do. Abetter examples is the following. Suppose I have a directory named src in which I have a large source module checked out from a CVS repository. At every directory level

launch an application stored in a jar

2001-01-23 Thread Alain RAVET
Hi, I cannot make Ant launch a class that is stored in a jar file. I tried many variants, but to no avail. Thanks in advance Alain RAVET Brussels, Belgium The original version where I lauch the class directly (not from a jar) works fine :

re. ejbc and command-line clarification

2001-01-23 Thread Ajay Bhate
Hi, I am using ant (1.2 as well as 1.3alpha Jan. 8 build) on Win2K. When trying to use ejbc with , the command routinely gives a CreateProcess Exception. However this happens only when I specify additional parameters on the ejbc command line. If I specify just ejbc, the command launches ejbc. If I

Re: Jar task does not get executed all the time

2001-01-23 Thread Ritendra Sinha
Stefan, As mentioned earlier I find that sometimes the ANT tar task works while sometimes it doesn't. I have included the result of both. The following is output from ANT when I run the ant command and the Jar task does NOT work: Please note that I have added EXEC & ECHO called before and aft

RE: question on Ant property

2001-01-23 Thread abonjour
> I was looking at the build.xml that come with Ant. What does > the following property do: > This modifies the output so that if you execute ant from emacs, you can jump to the error by clicking on it the same way you could using javac from emacs. emacs property on output:(this example uses t

Problem with Ant, Win2k, JDK 1.3, tools.jar

2001-01-23 Thread Danny Ayers
Hi, Apologies if this an familiar problem - I couldn't find the list archives. I'm trying to do a simple Ant build of a project, but when it gets to javac it gives me : java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java

Sorted! :-)

2001-01-23 Thread Danny Ayers
Hi, After my last message I moved my JRE stuff out of the way, and reinstalled the JDK. A bit of fiddling later and Ant was working, though no picking up the extension classes my code needed. So I copied the contents of my old \ext into the newly created one - and the classdef not found error was

Re: Exception in thread "main" - pls help

2001-01-23 Thread Stefan Bodewig
Fredrick Backman <[EMAIL PROTECTED]> wrote: > This is what I have: OK (see below) > One thing I can't quite understand, according to the jsdk > documentation, CLASSPATH is not necessary, CLASSPATH does not need to caintain rt.jar, that's all. And JAVA_HOME is not necessary for java, but for An

Re: Exception in thread "main" - pls help

2001-01-23 Thread Fredrick Backman
This is what I have: # env|grep JAVA_HOME JAVA_HOME=/usr/local/jsdk # ls -l /usr/local/jsdk/ lrwxrwxrwx 1 root other 15 Jan 23 11:37 /usr/local/jsdk/ -> /opt/j2sdk1_3_0 # find /opt/j2sdk1_3_0/ -name 'tools.jar' /opt/j2sdk1_3_0/lib/tools.jar One thing I can't quite understand, acc

Re: Exception in thread "main" - pls help

2001-01-23 Thread Stefan Bodewig
Fredrick Backman <[EMAIL PROTECTED]> wrote: > Trying to install jakarta-ant src distribution on Solaris 2.6, but > keep getting exceptions when I run the build script. Could anyone > advice please? I use j2sdk 1.3.0. It seems as if the correct tools.jar has not been picked up. Please set JAVA_HO

Re: 'make -n' equivalent in Ant

2001-01-23 Thread Stefan Bodewig
Joshua Davis <[EMAIL PROTECTED]> wrote: >From: Conor MacNeill [mailto:[EMAIL PROTECTED]] >> It is not currently possible to emulate the build process with Ant. > Is this because make has explicity dependencies, whereas in ANT the > tasks decide at runtime? This is part of the reason. yes. Ano

Exception in thread "main" - pls help

2001-01-23 Thread Fredrick Backman
Trying to install jakarta-ant src distribution on Solaris 2.6, but keep getting exceptions when I run the build script. Could anyone advice please? I use j2sdk 1.3.0. # ./bootstrap.sh :/usr/local/jsdk/lib/classes.zip:/usr/local/jsdk/lib/tools.jar:lib/xml.jar:src/main:classes Buildfile: build.xml

RE: 'make -n' equivalent in Ant

2001-01-23 Thread Joshua Davis
Conor, Is this because make has explicity dependencies, whereas in ANT the tasks decide at runtime? > -Original Message- > From: Conor MacNeill [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 22, 2001 5:37 PM > To: [EMAIL PROTECTED] > Subject: RE: 'make -n' equivalent in Ant > > > Ste

Re: Jar task does not get executed all the time

2001-01-23 Thread Stefan Bodewig
Ritendra Sinha <[EMAIL PROTECTED]> wrote: > REBUILD THE JAR ...The jar task is not called by ANT for some > reason! Is not called or does nothing? What does "ant rebuildejbjar -verbose" say here - even if you don't see anything wrong, maybe we can 8-) Stefan

RE: javadoc

2001-01-23 Thread Joshua Davis
If you can't do what Jeff suggests, you can use with a before to move the code into a temporary directory. This is a workaround for a problem that I had noticed where processes files in CVS directories. > -Original Message- > From: Jeff Davies [mailto:[EMAIL PROTECTED]] > Sent: Monda

Jar task does not get executed all the time

2001-01-23 Thread Ritendra Sinha
Hi, I am wondering if anyone has seen problems when running the jar task. In my ant script I am doing the following: CLEAN TEMP DIR MAKE TEMP DIR COMPILE THE CODE

Fw: Got a jspc task working with WL 510....

2001-01-23 Thread Jason Rosenberg
I originally sent this to [EMAIL PROTECTED], but I realize it may be of use to those on [EMAIL PROTECTED] as well.   *** If anyone is interested, I have worked on a version of the wljspc task for WebLogic 510, and done some preliminary testing.  Essentially, the amount of testin

RE: ant as a test harness ?

2001-01-23 Thread Les Hughes
Conor, No problemo - it'd probably be better to fork the java process that runs WL than to run it 'in-process' in the Ant VM maybe? But anyway, it's not a real issue to have a build.xml and a test.xml ant script with a startWeblogic in between them. Les. > -Original Message- > From:

Re: removing directories

2001-01-23 Thread Nico Seessle
- Original Message - From: "Josh Sugnet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 3:47 AM Subject: removing directories > I am trying to recursively remove all of the classes directories from a directory > tree, but am not having much luck. I am trying