I am currently using InstallAnywhere Now! with Ant. Works okay, other than
the free version does not allow you to invoke it in batch mode.
There are some articles/knowledge base articles on the zerog.com site.
Let me know if there's anything specified you'd like to know.
Theo
-Original Me
- Original Message -
From: "tig hanx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 7:54 PM
Subject: why ant rebuild all java files every time?
> Every time I run ant, it will rebuild all the java
> files. What is the problem?
>
You have probably included part
Thuong Nguyen <[EMAIL PROTECTED]> wrote:
> I'm trying to build a sample Enhydra project using Ant, but got the
> following error:
>
> BUILD FAILED
>
> Feature: http://xml.org/sax/features/raw-names
This is nothing Ant would normally create - I've never seen an error
message like this. I guess
Dimitry Gupalo <[EMAIL PROTECTED]> wrote:
> "
should be "
> "
should be "
Stefan
Stefán F. Stefánsson <[EMAIL PROTECTED]> wrote:
> I've reported this as a bug in Ant 1.3, it didn't seem that this was
> a bug in 1.2.
fixed in CVS and nightly builds.
Stefan
Wilhelm Fitzpatrick <[EMAIL PROTECTED]> wrote:
> So I'd like to be able to invoke the command as:
>
> warp arg arg rel/file/one.class rel/file/two.class ...
>
> But execon always does
>
> warp arg arg /abs/foo/rel/file/one.class /abs/foo/rel/file/two.class
> ...
Unfortunately implicitely add
David J. Iannucci <[EMAIL PROTECTED]> wrote:
> So. if I want to write my buildfile so that it finds anything
> in a subdirectory under it and builds those, recursively, without
> hard-wiring the names, would you recommend something like the
> following?
>
>
> .
>
>
Scott Carter <[EMAIL PROTECTED]> wrote:
> I am trying to use ant to build with a IDE compiler.
I've no idea, what an IDE compiler is, I'll assume you're talking
about a different implementation of javac.
> How can I do this?
Write your own implementation of
org.apache.tools.ant.taskdefs.comp
Title: tool to output dependency in a tree hierarchy in html
Does anyone have java code that parses the build.xml and output the dependencies in some sort of tree hiearchy to an html file? this would be helpful for developers so that they can see all the dependencies in one shot, instead of ha
Hi,
I'm trying to compile with a classpath that I define at runtime, but the
compile uses
the environment CLASSPATH. The "Compilation args" show that the PATH I
define is not used.
What am I doing wrong?
Here is the build.xml:
Th
At 10:19 12/3/01 -0700, David J Iannucci wrote:
>So. if I want to write my buildfile so that it finds anything
>in a subdirectory under it and builds those, recursively, without
>hard-wiring the names, would you recommend something like the
>following?
I would recommend you not use a recursi
If you typed "cvs -d :pserver:sgrossma@ecdev03:/home/ecadmin/cvsroot
checkout cpdev" on the command line, does it work fine?
-Jim Moore
"I think so, Brain; but if we gave peas a chance, won't the lima beans get
jealous?" - Pinky
-Original Message-
From: Sadek, Fahim [mailto:[EMAIL PROTE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyone have any pointers or observations they would care to share
w/regards to integrating Zerog's InstallAnywhere into an Ant build
file?
thanks,
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP Personal Privacy 6.5.8
iQA/AwUBOq1NqwXY
Error 267 means "Directory name is invalid" - is your ant_run.bat batch file
properly set?
/d
- Original Message -
From: "Sadek, Fahim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 10:16 PM
Subject: cvs checkout from ant
> Hi,
>
> I'm trying to run a cvs chec
Title: Ant 1.3: Weblogic 5.1 JSP Compilation: Reg:
Hi Avik/Michael,
Thanks alot for posting some information on Weblogic JSP Compilation. I tried it and it works for files in only 1 sub-directory. That is, the target takes the very first subdirectory and checks to see if there are .jsp files
I have not been able to get the ant junit task to produce an output file. I have a
trivial junit test:
public class Test1 extends TestCase {
public Test1(String name) {
super(name);
}
public void testEmpty() {
fail("failed");
}
}
called by the trivial ant task:
with
I'm trying to build a sample Enhydra project using Ant, but got the
following error:
Enhydra$ ant
Buildfile: build.xml
BUILD FAILED
Feature: http://xml.org/sax/features/raw-names
Total time: 0 seconds
Enhydra$
Not sure what's the reference to the xml.org URL means (it's an invalid
URL, btw)
Hi There:
Is there anyone has came across this error ? "
"could not invoke suite()", when i used the JUnit + Ant tools !.
Eventhough i tried to run the samples program provided by ANT, this
error still occured ? any ideas what is the coused ? ;-)
thanks,
begin:vcard
n:selena;su
tel;work
Hi,
I need to execute a command on Windows NT and the executable resides
in a directory that has spaces in it.
So, to run it from the command line I use quotes around the directory:
"c:\win32app\marimba\Castanet Tuner"\runchannel
I am using An
Every time I run ant, it will rebuild all the java
files. What is the problem?
thanks
Hello,
Could you tell me if there is a way to execute a target, such that
${os.name}!="Windows NT"? The current if statement in a target can only be used if a
property has been set, however, it does not allow the evaluation of a statment.
Thanks,
Alan
Whether you like spaces in classpaths or not they *must* be supported.
A prime example of this is the JAXP parser from the guys at Sun
themselves. The default installation path for JAXP is 'c:\Program
Files\JavaSoft\JAXP1.0.1', the installation program automatically puts a
reference to that path
I've got an external file packer tool that I'm trying to launch from ant,
that needs relative file paths to build its archive (much like zip can do
with the basedir attribute?) and I'm trying to figure out if there is
anyway to do this with ant. The tool in question happens to be the
"warp" utili
> I run Ant using jdk1.3, but I compile, using jikes, against jdk1.1.8
Diane:
Your environment is identical to the one in which I need to run. My Ant 1.2
build files are set up to run using a classic compiler so as to assure
compilation against JDK 1.1.8 classes.zip alone. However, I have used
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
you could try something like:
cat p4clientworkspace.txt | p4 client -i
[EMAIL PROTECTED]
- -Original Message-
From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 7:30 AM
To: Ant-User (E-mail)
Subject: Creating a p
Or why not use the perforce 'framework' and create a P4Client task? I might
even knock a task together on the train tonight - if I get a seat :-(
But there again, clients are pretty static things - why do you need to
create one inside a build?
Les
> -Original Message-
> From: Kevin O
Erm, actually it is. It all relates back to the way the mapping from depot
view to client view works. But I see what you're getting at, I guess as long
as you have a mapping, you can do as p4 takes either
client filepath or depot map and translates as appropriate.
Les
> -Original Message-
I need help with setting specific timestamp on compiled class files.
Touch just works fine for one file,
how can I do this for set of files?
Thanks,
Paul
Hi,
I'm trying to run a cvs checkout from ant. The task is as below:
The error I'm getting follows. Any suggestions would be welcome.
Thanks,
Fahim
C:\work\build.xml:8: java.io.IOException: CreateProcess: cvs -d
:pserver:sgrossm
a@ecdev03:/home/ecadmin/cvsroot checkout cpdev error=267
---
I am trying to use ant to build with a IDE compiler. How can I do this?
--- Greg Kedge <[EMAIL PROTECTED]> wrote:
> Your environment is identical to the one in which I need to run. My Ant
> 1.2 build files are set up to run using a classic compiler so as to
> assure compilation against JDK 1.1.8 classes.zip alone. However, I have
> used jikes on my own, overriding -D
Using Ant3beta3 build.
After making exec call to "cvs tag -F ."
tag:
[echo] [-- tag sources --]
BUILD FAILED
/usr/home/bldadm/bldrel/bldhome/config/db_mephit.xml:412: Execute
failed: java.i
o.IOException: Bad file number
--- Nested Exception ---
java.io.IOException: Bad file number
We hide all pathnames behind environment variables, for example:
/mainline/univ = $GENDIR on UNIX boxen
E:\mainline\univ = %GENDIR% on Windows.
Then we can fairly successfully hide all platform differences in the ant.sh and
ant.bat files which invoke ant. The environment variable $
Hey all,
Does anyone have any tips regarding using Ant on both Windows and Unix,
particulary regarding the use of pathnames (specfically dealing with drive
letters). The goal is to make ant as self-contained as practical, and
minimally reliant on the environment or external scripting.
Just look
Ok,
Can I execute a os command and get the result into a property? cause
hostname would be an ideal solution as on NT is returns a lower case
hostname.
Thanks
Mick
-Original Message-
From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2001 17:50
To: '[EMAIL PROTECTED]'
Subject:
and the plot thickens..
I've taken the assumption that the hostname will be in an environment
variable. Now for the good bit, on NT this gives the hostname in uppercase
and when used in a p4 clientworkspace, p4 complains that I'm not running
from that host.
I may come to like p4 but at the momen
The 'ant' and 'ant.bat' scripts allows or an "rc" file to be read in, if
one exists in the user's home dir, so you could have the host name
determined and set in the rc file (eg., "export HOST=`hostname`"), then
pass that value on the "$JAVACMD ..." line, or use the new "env"
functionality of and
Stefan Bodewig wrote:
>
> > The task allows you to choose a set of files
> > based on file names, but how about on file _types_?
>
> This is not possible for a fileset, at least not now. The
> task and its relatives and support a type attribute
> to filter based on file type.
So. if I w
another platform specific hack?
java -Dhost.name=%COMPUTERNAME% ... org.apache.tools.ant.Main etc
regards
Kevin
> -Original Message-
> From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]
> Sent: 12 March 2001 16:35
> To: '[EMAIL PROTECTED]'
> Subject: RE: Creating a p4 client workspace
>
>
>
Mick,
I ran into it, and a most painfull 2 hours it was too ;-)
a crossplatform way would be to call 'mkClient' instead of 'mkClient.bat',
and you could have a shellscript called 'mkClient' on unix.
I think this has been encountered before, see the antRun and antRun.bat in
the bin folder of the
Kevin
PS:
how are you setting the variable ${host.name}?
Thanks
-Original Message-
From: Kevin O'Regan [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2001 15:42
To: [EMAIL PROTECTED]
Subject: RE: Creating a p4 client workspace
> I'm trying to create a client workspace without invoking t
Hi
Kevin, does that mean you came across the same problem and this was the only
solution? Is the problem with the p4 command being run via ant rather than
something wrong with ant?
The only problem with you're solution is that it becomes platform specific
(i.e .bat Vs .sh) where as the command
> I'm trying to create a client workspace without invoking the
> editor. So
> first I define the settings for the workspace in a file and
> then I invoke p4
> to create the workspace, but it is failing for the reason shown below:
>
> [exec] Myos = Windows 2000
> [exec] p4 client -i <
Hi all,
I'm trying to create a client workspace without invoking the editor. So
first I define the settings for the workspace in a file and then I invoke p4
to create the workspace, but it is failing for the reason shown below:
[exec] Myos = Windows 2000
[exec] p4 client -i <
C:\DOCUME
The documentation of junitreport should be a good start:
http://jakarta.apache.org/ant/manual/OptionalTasks/junitreport.html
If you have any problem, feel free to ask your question here.
--
Stéphane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Discl
Can someone tell me how to use the HTML generation functions of the
XMLResultAggregator (by way of the AggregateTransformer)? I cannot
find documentation on this, and could really use this functionality, at
least judging by what I see in the source code...I just don't know how
to access the c
I answer to me !!
In fact, my pbme came from the basedir usage. I give a basedir value when
I launch my build file... In fact, the basedir usage is particular !
At the beginning (in fact, when I use no file yet), it's value is kept.
Then, as soon as a file is used, the basedir value is converte
Hi,
I"ve got a big problem with drive letters defined in may environment
variables !
I work on Linux and Windows. And I defined a HOME variable with values:
linux : /home/olivier
windows : c:/home/olivier
When I compute file names from the HOME environment value, everything
works well on l
Title: RE: setMethod does not exist
Stefan, thank you very much. You were right. I was still using an older version. I installed the newest version of Ant but I installed it in the shared drive we have and somebody else of my workmates installed something else and there was a kind of confus
Panagiotis Konstantinidis <[EMAIL PROTECTED]> wrote:
> BUILD CONFIG ERROR: Configuration property "dir" does not have a
> setMethod in class org.apache.tools.ant.taskdefs.Delete
> At first it seemed that I was using an older version of the Ant
> classes. But I have downloaded the newest version
Title: setMethod does not exist
Hello there. I am a new user to Ant so forgive me if this is the wrong mailing list. I have just installed Ant and I am trying to build a already existing project. I have set the classpath etc to point to the corrrect
directories but everyting I try to ru
Hello John,
I also call "unit" build.xml files from a module build.xml using ant 1.3 on NT and
redhat7.0
and the basedir attribute as specified in the project element is as expected i.e
usally "." (the directory of the build.xml in question) in fact I just checked it by
echoing the base dirs o
- Original Message -
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 10:07 AM
Subject: Re: Is the 'environment' attribute on property task supported on
Windows 2000 environment ?
> AFAIK - yes.
You are right:
D:\temp>set ANT
ANT_HOME=C:\J
Howard Lin <[EMAIL PROTECTED]> wrote:
> I'm trying to script antcall in my build.xml file. In the file,
> sub1 and sub2 are doing the same thing. But sub2 gives a
> NullPointerException in the script. After examing the source code, I
> figured out that I need to add these two lines
> "antcall.set
AFAIK - yes.
--
Olivier Prouvost Anyware Technologies
Tel : 05 61 00 52 90 Fax : 05 61 00 51 46
Web : http://www.anyware-tech.com
Thanks Bill,
After much digging through the code I discovered these facts for myself. I
was still having problems with ant and jikes on Win2K though so I changed my
version of the code to run the Runtime.exec() method with "cmd /c" inserted
into the beginning of the command string. Everything wor
57 matches
Mail list logo