SV: ant and jdk1.3

2000-12-21 Thread Oystein . Lunde
hi! i'm using ant with jdk1.3 on winnt4. when i try to compile java-files, i get the following errormessage: compile: [javac] Compiling 25 source files to D:\classes [javac] Modern compiler is not available - using classic compiler BUILD FAILED D:\Development\build\ant\build.xml:84:

Re: Thinking about Source Control

2000-12-21 Thread David Corbin
How do people want to use source control from within ANT. I can think of several ways, and some are very "bad" and others perhaps not. While it might not be possible to unify all SCMs, perhaps if we discover what it is people are trying to achieve, a common subset can be found. -- David Corbin

RE: Thinking about Source Control

2000-12-21 Thread Douglas Melzer
I'd prefer to have an implementation that fully addresses a particular SCM tool's capabilities. My project has just switched from Visual Source Safe to a proprietary SCM tool and it wasn't that big of deal to update my ant build configuration. My experience is that most companies adopt a

Re: Tomcat Launched by an Ant script launched by another Ant script

2000-12-21 Thread Stefan Schmitt
From: jeremie hebre Subject: PB: Tomcat Launched by an Ant script launched by another Ant script I use an Ant Script that launches another Ant script that launches a Tomcat server with the "java" task. The problem is that Tomcat seems to consider the local directory of the first Ant script as it

Re: Thinking about Source Control

2000-12-21 Thread David Corbin
Fair enough. But I'm still curious what people want to do with SCM, in the build system. Every time I've tried to integrate the two, I've regretted it. Douglas Melzer wrote: I'd prefer to have an implementation that fully addresses a particular SCM tool's capabilities. My project has

Project name

2000-12-21 Thread Dennis Brake
I would like to use the project name in some of my tasks (e.g. as the name of a jar file) For example, project name="Neo" default="compile" basedir="." property name="project.name"value="Neo"/ property name="project.output" value="package" / property name="project.lib"

RE: Thinking about Source Control

2000-12-21 Thread Curtis White
I agree that it would be nice to have some SCM tools fully implemented. But some, such as ClearCase, are so extensive, it would require a completely separate project in order to get it all implemented. Many of the commands are used primarily for admin purposes only and are very rarely ever used.

unix redirection - how do you specify input files?

2000-12-21 Thread Steve Dews
Hello, Here's what I'm trying to do: $ sed -e 's/bad/good/' oldfile newfile Here's what I've got in Ant: exec executable="sed" output="./newfile" arg-e/arg arg's/bad/good/'/arg /exec Where does the input file belong in

RE: ant and jdk1.3

2000-12-21 Thread Jeff Davies
I'm using JDK 1.3 on a Win 2K machine with no problem at all. One thing I noticed while researching your problem was that I have 29 different instances of java.exe on my machine! It seems like everything contains its own VM these days. Can you post the target snippet of you build.xml file? -

Re: unix redirection - how do you specify input files?

2000-12-21 Thread Stefan Schmitt
From: "Steve Dews" [EMAIL PROTECTED] Subject: unix redirection - how do you specify input files? Here's what I'm trying to do: $ sed -e 's/bad/good/' oldfile newfile Here's what I've got in Ant: exec executable="sed" output="./newfile"

RE: ejbjar does not include non-bean files

2000-12-21 Thread Jeff Davies
Thanks for the thoughtful reply! I think that you and I are taking different approaches to the EJB issue. Wher I am consulting now, we have a large project that is split into 6 major components. Each component is a collection of 5+ EJBs and their supporting files. Each component gets compiled

Re: Thinking about Source Control

2000-12-21 Thread David Corbin
Scott Ganyo wrote: I use StarTeam and here's how I would like to integrate SCM with the build process (I just haven't gotten around to it yet): 1) Create an SCM label for the build. 2) Check out project source at the label made in #1. What if your checkout changes your build.xml? 3)

Re: Thinking about Source Control

2000-12-21 Thread Curtis White
--- David Corbin [EMAIL PROTECTED] wrote: 3) Build project. 4) Check in a .war file. 5) Attach .war file to previously created label. Ick! While I won't say I NEVER violate this rule, the S in SCM stands for "source". I don't like to put anything that is generatable into source

RE: EJBJAR task not working, all information provided.

2000-12-21 Thread J. Matthew Pryor
I think you should try renaming your XML DD file to comply with the expected naming scheme for ejbjar I use it all the time without trouble, the error you are getting has something to do with the weblogic specific XML file (that is where the JNDI name is set) jmp -Original Message-

Re: uptodate check that srcfile exists

2000-12-21 Thread Diane Holt
--- Tom Elrod [EMAIL PROTECTED] wrote: I would like to recompile an IDL file if the IDL file is newer than the source it generates, which the sample code below does. I would also like to recompile the IDL file if the source it generates does not exist. Anyone have an idea how I would do