Re: Telnet Task - how to work with variables in write commands

2001-09-11 Thread Anton_Grimm
everything is in the CLASSPATH, but it works using the write/read command like in your example: and not like I did ${username} thanks a lot for your help A. Grimm MAN Nutzfahrzeuge AG Anton Grimm Abt. IDP (SoftwareProduktionsumgebungen)

RE: Weird XML Error

2001-09-11 Thread Poulter, Toby
Conor, Sorry, I did spot that error shortly after my post, but after checking it didn't affect the problem decided against reposting. Having said that I have now discovered the problem! The XML editor I was using (VS.NET Beta 2, in fact) was using a file format that clearly upset the built in p

Re: Filter task w/ properties file

2001-09-11 Thread Erik Hatcher
You could use the entity reference trick to define your common XML in another file as a workaround, but you'll have to spell it out in Ant format. It could then easily be shared among projects at least. Erik - Original Message - From: "Timothy Shadel" <[EMAIL PROTECTED]> To: <[EM

Re: Filter task w/ properties file

2001-09-11 Thread Timothy Shadel
It's more to make build files that are generic enough to be used for several of our projects, and allow each project to use property files to maintain project-specific info like version and build numbers. - Tim >>> "Erik Hatcher" <[EMAIL PROTECTED]> 09/11/01 03:53PM >>> Agreed. I don't reall

Re: Filter task w/ properties file

2001-09-11 Thread Erik Hatcher
Agreed. I don't really see a reason for your need to move the dynamic property-based filters to a properties file though. Seems like a 6-of-one, half-dozen of the other kind of argument. Erik - Original Message - From: "Timothy Shadel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: Filter task w/ properties file

2001-09-11 Thread Timothy Shadel
Yeah, but then I'm right back to listing the properties directly in the build.xml. The only difference is that I'd use tags under the instead of tags anywhere. - Tim >>> "Erik Hatcher" <[EMAIL PROTECTED]> 09/11/01 02:12PM >>> You could use to write your properties to a file, then read the

Re: Using ant to build imjay

2001-09-11 Thread Nico Seessle
Title: RE: Using ant to build imjay   - Original Message - From: Adam Getchell To: '[EMAIL PROTECTED]' Sent: Tuesday, September 11, 2001 9:43 PM Subject: RE: Using ant to build imjay Thanks Nico, When I downloaded imjay it did not come with a build fi

Re: Filter task w/ properties file

2001-09-11 Thread Erik Hatcher
You could use to write your properties to a file, then read them in using as a workaround. Erik - Original Message - From: "Timothy Shadel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 12:50 PM Subject: Filter task w/ properties file I want to re

Filter task w/ properties file

2001-09-11 Thread Timothy Shadel
I want to replace these lines in my build.xml : with a file (filter.properties) like this: VERSION_MAJOR=${version.major} VERSION_MINOR=${version.minor} BUILD_NUMBER=${version.buildnum} and place this in my build.xml: But th

RE: Using ant to build imjay

2001-09-11 Thread Adam Getchell
Title: RE: Using ant to build imjay Thanks Nico, When I downloaded imjay it did not come with a build file. I grabbed the one from the URL link you included, and ran it, with the following results: Buildfile: build.xml BUILD FAILED C:\temp\imjay-0.3.1\build.xml:40: srcdir "C:\temp\imja

Re: Using ant to build imjay

2001-09-11 Thread Nico Seessle
Title: RE: Using ant to build imjay   - Original Message - From: Adam Getchell To: '[EMAIL PROTECTED]' Sent: Tuesday, September 11, 2001 8:06 PM Subject: RE: Using ant to build imjay Here's imjay.xml:     buddies.xml I added a tag at the beg

FW: Ant : Vss tasks troubles

2001-09-11 Thread Twiggs, Glenn
I won't have a chance to take a close look at this today (and probably not this week), so I've forwarded it to the ANT user list. They should be able to help. Glenn. -Original Message- From: sebastien alegret [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 3:02 AM To: [EMAIL

RE: Using ant to build imjay

2001-09-11 Thread Adam Getchell
Title: RE: Using ant to build imjay Here's imjay.xml:     buddies.xml     user.xml     log                                         org.apache.xerces.jaxp.DocumentBuilderFactoryImpl                 DH     DES   

Re: javac and dependencies

2001-09-11 Thread Delafond Sebastien
You could also separate the compilations processes of these two files, and have the task related to "a" depend on the one related to "b". --SD On Tue, Sep 11, 2001 at 02:07:14PM +0200, Rouiller Claude wrote: > Hi > > I have 2 source files: a.java and b.java. > In a.java, I use a class that is

Re: Some targets inside another buildfile

2001-09-11 Thread Frank E. Weiss
I agree using entities to include document fragments is ugly. I have used a stylesheet to create a build.xml file and then use it as a subprocess. It seems like a good approach that exploits the fact that ant build files are XML! Jason Pettiss wrote: > Yep. You can statically i

RE: javac and JDK 1.4

2001-09-11 Thread yuri . gadow
Steve, I had the same problem a while ago and had to modify the taskdef. I don't have it with me or I'd attach it (can this evening if still needed, but it's a fairly easy change to make, just follow the example set in the src (re-use through cut & paste)) Yuri > That's not the problem. I ne

RE: javac and JDK 1.4

2001-09-11 Thread Steve Buroff
That's not the problem. I need to give the "-source 1.4" option to the compiler and I don't see how to do that. If javac had an "additionalparams" property like javadoc does, that would solve the problem. However, it doesn't. Steve Buroff -Original Message- From: T Master [mailto:[EMAIL

Re: javac and JDK 1.4

2001-09-11 Thread T Master
set your JAVA_HOME accordingly. - Original Message - From: "Steve Buroff" <[EMAIL PROTECTED]> To: "antUser" <[EMAIL PROTECTED]> Cc: "Buroff, Steven" <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 11:20 AM Subject: javac and JDK 1.4 > Anyone know how to use ant javac with JDK 1.4

RE: Some targets inside another buildfile

2001-09-11 Thread Jason Pettiss
Yep. You can statically include other xml snippets using the XML semantics for doing so. The only bad part of this is that the snippets themselves are not well-formed XML documents. The &loadProperties; below is where the snippet gets 'pasted'. ]> &loadProperties;

javac and JDK 1.4

2001-09-11 Thread Steve Buroff
Anyone know how to use ant javac with JDK 1.4. I need to supply the "-source 1.4" option to get it to handle my asserts. I see no way to do this and the compiler bombs. Anyone know a workaround? Thanks   Steve Buroff

RE: javac and dependencies

2001-09-11 Thread Mark Womack
Claude, Going forward, most of the "modern" versions of java compilers (at least the ones from Sun) will not support "complex" dependency checking. I don't know why this is the case. The dependency checking you are looking for will only be performed in "classic" mode, and classic mode will be r

Some targets inside another buildfile

2001-09-11 Thread Krzysztof Czarny
Hi! Every project's buildfile that I wrote has some common parts. E.g.: I'd like to move them into another common buildfile and then 'include' this new buildfile into the main project buildfile and use them in a normal way: Is it possible? Regards, Krzysztof

Re: Telnet Task - how to work with variables in write commands

2001-09-11 Thread James Bullington
I am able to do the following in a write command: login: I am using ant 1.3. Are you sure that optional.jar and NetComponents.jar are in your CLASSPATH? i.e. CLASSPATH=c:\ant\lib\optional.jar;c:\ant\lib\NetComponents.jar;%CLASSPATH% I have not tried to name the server as a variable, but the

creating manifest informations for distributable

2001-09-11 Thread thomas . kerle
Hi,   I just tried to make a target "jar" for generating a jar file. Because this jar file needs some specific manifest information to run properly I have to add a manifest file. How it's possible to create such a manifest file within the build file ? The first possibility I tried out is

RE: javac and dependencies

2001-09-11 Thread Brown, Sheldon
on the javac task, set depend=true (if your compiler supports it -- if not download jikes) Sheldon -Original Message- From: Rouiller Claude [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 8:07 AM To: '[EMAIL PROTECTED]' Subject: javac and dependencies Hi I have 2 source f

javac and dependencies

2001-09-11 Thread Rouiller Claude
Hi I have 2 source files: a.java and b.java. In a.java, I use a class that is defined in b.java. Imagine I've just compiled both files. If I modify only b.java and I call Ant again, Ant will call the compiler for b.java only. (This is not a surprise, because it is written in the Ant documentatio

RE: vssget from UNIX

2001-09-11 Thread Jesse Stockall
On Tue, 2001-09-11 at 05:37, Mark Gibson wrote: > This may be useful to you. It is a TCP/IP solution for remote access to a > central SourceSafe repository. SourceOffsite clients exist for both Unix > and Windows. > > http://www.sourcegear.com/sos/index.htm Yeah we use it for Linux & Solaris

Telnet Task - how to work with variables in write commands

2001-09-11 Thread Anton_Grimm
I tried to use properties in telnet write - tags, but the properties don't get replaced before execution. f.e. ogin: wasadm was#9436 ome/wasadm ... ome/wasadm cd projects/${ant.projekt.name} exit logout I also recognize

Telnet Task - who to get the output of any started process immediately

2001-09-11 Thread Anton_Grimm
I'm using the telnet task to login to a Linux Box and start another Ant process there. Right now I can see the output of the remote ant process not before it has finished executing. I would like to see all the output of the remote Ant Task immediately (while it is executing) in the window of my

RE: vssget from UNIX

2001-09-11 Thread Mark Gibson
This may be useful to you. It is a TCP/IP solution for remote access to a central SourceSafe repository. SourceOffsite clients exist for both Unix and Windows. http://www.sourcegear.com/sos/index.htm Mark Original Message Follows From: Eric Smith <[EMAIL PROTECTED]> I have implement

RE: vssget from UNIX

2001-09-11 Thread Eric Smith
Title: RE: vssget from UNIX I have implemented a 'cross platform' solution that requires a dedicated NT box. It uses a Perl script that gets called from Ant that figures out the platform and either calls ss.exe directly (Windows) or calls ss.exe through ssh under UNIX (you'll need an ssh ser

Re: problem with cvs checkout dest="."

2001-09-11 Thread Nicolas Girard
--- Nico Seessle <[EMAIL PROTECTED]> wrote : > From the docs I would guess what Nicolas should use is > package="my_module" command="co -d ${basedir}/> Oh, okay. Maybe it should be an idea to precise in the doc that dest attribute mimics the cvs -d option and not the cvs co -d optio