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)
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
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
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
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]>
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
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
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
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
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
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
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
Title: RE: Using ant to build imjay
Here's imjay.xml:
buddies.xml
user.xml
log
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
DH
DES
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
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
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
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
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
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;
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
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
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
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
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
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
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
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
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
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
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
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
--- 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
32 matches
Mail list logo