RE: Cannot use classic compiler, as it is not available

2000-12-21 Thread Matthew Sinclair
Title: RE: Cannot use classic compiler, as it is not available Stefan, > Ok one reason of this problem could be that > tools.jar is missing in the classpath ... Almost as soon as I sent that message I stumbled across both the mailing list and the solution. I was missing tools.jar from my

RE: Project name

2000-12-21 Thread Jeff Davies
Outstading! Thanks for the tip! - Jeff -Original Message- From: Nico Seessle [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 21, 2000 2:38 PM To: [EMAIL PROTECTED] Subject: Re: Project name - Original Message - From: "Jeff Davies" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: 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

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

2000-12-21 Thread Bill Burton
David Corbin wrote: > > Bill Burton wrote: > > > Where does the input file belong in the Ant syntax? > > > As an ? That doesn't seem to work. > > > > The real question is, where does the input file belong in the sed syntax? > > Sed will take input either from stdin or a file. So just sp

Re: Project name

2000-12-21 Thread Nico Seessle
- Original Message - From: "Jeff Davies" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 21, 2000 6:45 PM Subject: RE: Project name > I was thinking the same thing. I would love to be able to access the > project's name as a built in property also. > How about ${a

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: EJBJAR task not working, all information provided.

2000-12-21 Thread Jeff Davies
Which version of Ant are you using? I never got my Weblogic EJBs to deploy using Ant 1.2. I got a source download for 1.3alpha and suddenly thhey worked great. - Jeff -Original Message- From: Andr'e Cesta [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 21, 2000 2:03 PM To: '[EMAIL PR

EJBJAR task not working, all information provided.

2000-12-21 Thread Andr'e Cesta
Problem with EJBJAR task, tryied really hard, but did not work: -Read manual. -Verified all the postings related to EJBJAR on this list. -Downloaded nightly build of the 20th of Dec. -Installed it successfully. -Tryied the simplest deployment of a single stateless session bean. -Weblogic deploye

check that srcfile exists

2000-12-21 Thread Tom Elrod
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 this?

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

2000-12-21 Thread James Bucanek
At 2:57 PM -0500 12/21/00, David Corbin wrote: >Bill Burton wrote: >> > Where does the input file belong in the Ant syntax? >> > As an ? That doesn't seem to work. >> >> The real question is, where does the input file belong in the sed syntax? >> Sed will take input either from stdin

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

2000-12-21 Thread Steve Dews
>The real question is, where does the input file belong in the sed syntax? >Sed will take input either from stdin or a file. So just specify the file >after the pattern: > > > > > >However, you may find it easier to use Ant's task. For >instance: >

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

2000-12-21 Thread David Corbin
Bill Burton wrote: > > Where does the input file belong in the Ant syntax? > > As an ? That doesn't seem to work. > > The real question is, where does the input file belong in the sed syntax? > Sed will take input either from stdin or a file. So just specify the file > after the pattern

Re: Project name

2000-12-21 Thread Weiqi Gao
Dennis Brake wrote: > > I would like to use the project name in some of my > tasks (e.g. as the name of a jar file) > > For example, > > > > > /> > > > ... > > > > > jarfile="${project.lib}/${project.name}.jar" > basedir="${project.o

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

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

2000-12-21 Thread Bill Burton
Hello, [EMAIL PROTECTED] wrote: > > I haven't tried this, so YMMV, but how about > > > > > > > the resulting command line should look like > > sed -e 's/bad/good/' < oldfile > > with the output being redirected to newfile. That won't work as the redirection operators < and > are imp

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

2000-12-21 Thread Bill Burton
Hello, Steve Dews wrote: > > Hello, > > Here's what I'm trying to do: > >$ sed -e 's/bad/good/' < oldfile > newfile > > Here's what I've got in Ant: > > > -e > 's/bad/good/' > > > Where does the input file belong in t

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

2000-12-21 Thread glennm
I haven't tried this, so YMMV, but how about the resulting command line should look like sed -e 's/bad/good/' < oldfile with the output being redirected to newfile. Glenn McAllister Software Developer. IBM Toronto Lab, (416) 448-3805 "An approximate answer to the right question is b

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

2000-12-21 Thread Steve Dews
>Ok your syntax is wrong try this > > > >This should work. Take a deeper look at the manual avaible at >http://jakarta.apache.org/ant/jakarta-ant/docs/. > >Yours Stefan S > Thanks, I'll fix the syntax but it still doesn't answer the question of where the input file goes. sed needs an inpu

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? >

RE: Thinking about Source Control

2000-12-21 Thread Scott Ganyo
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. 3) Build project. 4) Check in a .war file. 5) Attach .war file to previously crea

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 int

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: > > > -e > 's/bad/good/' >

RE: Project name

2000-12-21 Thread Jeff Davies
I was thinking the same thing. I would love to be able to access the project's name as a built in property also. - Jeff -Original Message- From: Dennis Brake [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 21, 2000 8:46 AM To: '[EMAIL PROTECTED]' Subject: Project name I would like

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 snippet of you build.xml file? - Jeff ---

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: -e 's/bad/good/' Where does the input file belong in the Ant syntax? As an ? That doesn't seem to work.

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. I

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, ... It's redundant to have to enter the name in the property tag and then specify it in a separate property tag. I looked at the Ant

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 ha

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 i

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 parti

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

Missing .java files

2000-12-21 Thread David . Bailey
Thanks to everyone for comments regarding "multiple builds and failures." I understand that "fail fast" is a feature from a developer's point of view, but it's a bug from an integration point of view. A build manager wants to know what all of the bugs are, not just the first one ant finds. I

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\buil

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

2000-12-21 Thread jeremie hebre
Hi,   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 own local directory. Any idea about this issue?   Thanks.   Jérémie  

Re: Multiple builds and failures

2000-12-21 Thread James Duncan Davidson
On 12/20/00 1:46 PM, "Conor MacNeill" <[EMAIL PROTECTED]> wrote: > Ant's general philosohpy to date has been to fail quickly. If there is some > problem, Ant does not try to limp along. You fix it and build again. If you > want that changed, it would be best to get involved in the Ant-Dev > discu

Re: Thinking about Source Control

2000-12-21 Thread James Duncan Davidson
On 12/20/00 11:57 AM, "Curtis White" <[EMAIL PROTECTED]> wrote: > I agree with this idea. To the end user, it shouldn't > really matter which SCM product you are using. The > external interface should be the same. > > But that brings up the question on what to do about > functionality specific t