Hi,
an SGML/XML comment ends with the following "--" :-)
yours
alex
-Original Message-
From: Bernd Gruendling [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 4. Juli 2001 08:48
To: [EMAIL PROTECTED]
Subject: parser bug?
Hi,
having this in build.xml:
results in an somewhat cryp
Bernd Gruendling <[EMAIL PROTECTED]> wrote:
> having this in build.xml:
>
>
>
> results in an somewhat cryptic error message:
>
> com.sun.xm.parser/P-008 > com.sun.xml.parser/F-022
Setting your locale to en_US will probably fix that - Sun's parser
wants to produce localized messa
Peter Donald <[EMAIL PROTECTED]> wrote:
> On Wed, 4 Jul 2001 01:06, Chris Greenlee wrote:
>> Peter (Donald),
>>
>> Apologies, but your tone is quite often abusive. People
>> who post thoughtful comments ought not to be insulted just because
>> you disagree with them.
>
> I am not sure how l
Hi,
having this in build.xml:
results in an somewhat cryptic error message:
com.sun.xm.parser/P-008 > com.sun.xml.parser/F-022
This works:
Regards,
Bernd Gründling.
___
Bernd Gruendling
Hi,
I feel uncomfortable with the cvs task). Apparently it never returns
an error, so I see:
[d:\anttest]ant cvs_update
Buildfile: build.xml
init:
dirs:
cvsupdate:
[cvs] cvs [update aborted]: CVSROOT nonsense must be an absolute pathname
BUILD SUCCESSFUL
Total time: 0 seconds
(CVSRO
--- dave young <[EMAIL PROTECTED]> wrote:
> I'm also having a little bit of difficulty getting ftp going. What is
> the optional.jar?? I couldn't locate it in the distribution zip file.
> Should any optional jars in the ant/lib directory be jarred up into an
> optional.jar file??
The optional.jar
I'm also having a little bit of difficulty getting ftp going. What is
the optional.jar?? I couldn't locate it in the distribution zip file.
Should any optional jars in the ant/lib directory be jarred up into an
optional.jar file??
regards,
Dave young.
>
> Did you put the NetComponents jar in yo
--- Pavel <[EMAIL PROTECTED]> wrote:
> In your example "test" means a current project name.
Good grief! -- that *was* rather useless wasn't it? Sorry about that (too
much beer at lunch :)
I'll try to look into it some more and see what I can come up with.
Diane
=
([EMAIL PROTECTED])
In your example "test" means a current project name. My goal
is to have common target which I can include in main build.xml
like this:
]>
where common.xml has target like this:
I called mine TaskContainer :-)
- Original Message -
From: "Peter Donald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 1:04 PM
Subject: Re: Approach to Conditionals: SOMETHING USEFUL ON THIS TOPIC
> This will be provided by Ant2. I think we have even voted
On Wed, 4 Jul 2001 05:25, Larry V. Streepy, Jr. wrote:
> Peter Donald wrote:
> > On Wed, 4 Jul 2001 01:55, Larry V. Streepy, Jr. wrote:
> > > Pete, once again you've amazed me by dropping into sarcastic tones and
> > > some false sense of superiority when responding to a reasonable email.
> >
>
This will be provided by Ant2. I think we have even voted on it. Except we
called it ContainerTask.
On Wed, 4 Jul 2001 05:37, [EMAIL PROTECTED] wrote:
> ok, well i've been peeking at the "for-each" thread for a while, and can
> see where it's going. The bottom line is that many users see the
--- Paul Perevalov <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'd like to know how to get a reference to the current project without
> knowing its name within a script (javascript).
This works for me:
projname = test.getUserProperty("ant.project.name")
Diane
=
([EMAIL PROTECTED])
_
Hi,
I'd like to know how to get a reference to the current project without
knowing its name within a script (javascript). The reason I want to be able
to do this
is so that I can generalize some scripts which I plan to use in multiple
project files.
I've tried to use this.getProject().getProper
Hi,
Does anyone know how to debug the "error in opening zip file" error message?
I turned on debug mode in ant and it does not tell me which jar file is
causing the problem or missing.
Thanks,
Mike
Class com.blazesoft.util.NdLocalizedFileLocator loaded from ant loader
Class java.util.Locale loa
I think you are facing the problem I did. The ant installation on your
environment seems to have been corrupted. Couldn't find a proper solution ,
but the problem goes if you create a new user (i.e if you are using nt or
win2k) and use ant through the new user's login.
- Original Message
--- Jon Eaves <[EMAIL PROTECTED]> wrote:
> So, my advice is :
>
> a) show some patience on both sides
> b) let the ant-dev team take ant where _they_ want it to go and if you
>don't like the direction, choose another boat.
I couldn't agree more with "a", but that second part of "b" ("and if
Hi all,
[ big snip of stuff ]
>
> No, just a significant amount of frustration.
>
> [I'm drawing text from another response of yours to this same thread]
>
> You claim that Peter Vogel is "just droning the same stuff". How many
> people need to drone the same request before ant-dev considers
Which is precisely why "Ant for Mortals" is in hibernation right now :-)
--- Peter Donald <[EMAIL PROTECTED]> wrote:
> is. One thing I would be careful of is that many of the current build file
> designs and idioms are due to limitations of Ants file format. Some of these
> limitations will go
Quite elegant! I like it, which probably means Peter D will -1 it :-)
-Peter
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 03, 2001 12:38 PM
> To: [EMAIL PROTECTED]
> Subject: Approach to Conditionals: SOMETHING USEFUL ON THIS TOPIC
>
>
Bernd Gruendling wrote:
> But I found a workaround. Usually I am not using the standard shell.
> When I switched to Windows' command prompt, everything worked fine!
> So I wrote my own, very simple ant.bat along the lines of the
> documentation ("Running Ant by Hand"), and everything is fine
I recently added junitreports functionality into our build.xml file and am now
getting the following error. It's also causing our junit tests to hang. Has
anyone experienced this problem before?
sb
[junit] Exception in thread "main" java.lang.NullPointerException
[junit] at
org.apache.
[EMAIL PROTECTED] wrote:
> And this is all to avoid learning a templating language. Even
> though that language is potentially a standard language whos
> basics could be understood in what about 40 minutes?
[EMAIL PROTECTED] wrote:
> I still can't understand how you can claim that if/them
Title: RE: for-each (another proposal)
Coming from a non-open source background, this discussion is interesting. I think this points out the whole open source dilema. There are plenty of new technology or new approaches to existing problems, but are either narrow in scope, or ambiguous in imp
OK fellas, if you want to continue the personal insults, please use
direct, private email. No need to involve everyone else on this list. I
doubt many people care to hear it. I know I don't.
Mark Scheffler
>> > once again you've amazed me by dropping into sarcastic tones and
>> > some false se
ok, well i've been peeking at the "for-each" thread for a while, and can see
where it's going. The bottom line is that many users see the need
for some form of simple control flow structures. Shouldn't tools
be driven by the basic user requirements? That's my $.02 on that
topic. And i won't g
Peter Donald wrote:
>
> On Wed, 4 Jul 2001 01:55, Larry V. Streepy, Jr. wrote:
> > Pete, once again you've amazed me by dropping into sarcastic tones and
> > some false sense of superiority when responding to a reasonable email.
>
> And I am constantly amazed by the people who gather to insult
>
>
>I don't think you are doing anything wrong. When I use your sample
>project file, it works as expected when named build.xml or simple.xml.
>What version of ant are you using? I'm getting the feeling you are using
>a *really* old version that shipped with Tomcat. Check the version with
>
>a
Another solution would be to simply invoke Ant as
ant -Dbuild=foo -Ddist=bar
and leave out the settings in the ant file itself.
If you define a property from the command line, then you
can simply begin using it in the ant file itself. You don't have
to redefine it using the setting.
Kyle
>>
I would like to add my voice to this discussion. I would like to see some
kind of flow control tags in the core tasks. I think this is a hole in the
current ant tasks. Using the depends/unless target attributes is mostly
equivalent to if/then, but they are not as obvious. For new ant users, it
On Wed, 4 Jul 2001 01:06, Chris Greenlee wrote:
> Peter (Donald),
>
>
> Apologies, but your tone is quite often abusive. People who post
> thoughtful comments ought not to be insulted just because you disagree
> with them.
>
If I post the same thing 15 times does it become thoughtful the 15th
On Wed, 4 Jul 2001 01:55, Larry V. Streepy, Jr. wrote:
> Pete, once again you've amazed me by dropping into sarcastic tones and
> some false sense of superiority when responding to a reasonable email.
And I am constantly amazed by the people who gather to insult me after it. It
seems to give th
Diane,
Thanks. I updated to the current CVS version of Ant.java, rebuilt the jars,
and the problem is resolved. Is there any chance of an interim 1.3.1
version (with just bug fixes) being released? I am a little uncomfortable
having a custom, modified version of the ant jar. I'd rather have a
Title: VAJ EJBs
Hello All,
I'm an ant newbie and am trying to figure out how to build EJBs using ant and VAJ. I want this process to run outside of VAJ and am currently using the Remote Access Tool API\Servlet to export all the source code from the repository.
Questions:
1. Is there a w
>What did I wrong?
[imo]
if you are using win98 there is an error in the ant.bat
try to change
LOCALCLASSPATH=%CLASSPATH%
in
LOCALCLASSPATH="%CLASSPATH%"
(like it was said in de.comp.lang.java)
bye jens
Wow, I sent that out? My bad!
It sure seemed coherent and logical in my head when I wrote it but
looking at it now (read: I'm now awake) I was obviously way off base.
Thanks for the catch Glenn although I'd still be interested in seeing
what ant -projecthelp would produce.
Humbly,
/bill
[EMAIL PROTECTED] wrote:
> Now, when you do that, the new error message says it can't find the
> _target_ build.xml so in your [build | simple].xml It's now finding
> the file fine, but the target is missing. Your header looks something
> like this, no?
>
>
Actually, it doesn't. He
Thanks Chris!
You've said, very succinctly, a large part of what I've been
trying to say for months.
-Peter
> -Original Message-
> From: Chris Greenlee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 03, 2001 8:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: for-each (another proposal)
>
Pete, once again you've amazed me by dropping into sarcastic tones and
some false sense of superiority when responding to a reasonable email.
It is the first time I've seen "boo hoo" used as an argument against
something :-(
I'm still trying to fathom why you consider flow control "too complex"
Hi,
I am curious about which installer software people use in conjunction with ant.
Please mail me and let me know, I'd appreciate it.
Thanks,
sb
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
use -debug or -verbose option then running ant
-Original Message-
From: Lauren Commons [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: display java command line
I apologize if this is a basic question; I've looked
for the answer, but can't
Title: RE: doclet extension
If you want to create EJB's look at EJBdoclet. It's open source and is integrated with ANT.
-Original Message-
From: Glenn McAllister [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 10:03 AM
To: [EMAIL PROTECTED]
Subject: Re: doclet extension
ms
Peter (Donald),
Apologies, but your tone is quite often abusive. People who post
thoughtful comments ought not to be insulted just because you disagree
with them.
Now, to continue this thread with some responses to your objections, as
I have seen them:
Objection #1: Adding flow-of-control ta
If you simply execute ant, it looks for a file called build.xml
ant -buildfile simple.xml will call that file (which you correctly
deduced)
Now, when you do that, the new error message says it can't find the
_target_ build.xml so in your [build | simple].xml It's now finding
the file fine, bu
Title: Executing PVCS task from VAJ
Hello,
I have installed Ant in VAJ, it works correctly but not for the PVCS task;
in fact it start to execute the task but I allways have this message:
getlatest:
BUILD FAILED
D:\IsaCore\build-isautils.xml:115: Failed executing: w:\vm\win32\bin\pcli
lvf -
Hello again,
Alright, I have found a solution to my previous problem using the
available target...
But, I need know to make a copy of files but to keep a backup
(fic.bak) of each file updated.
How can I do this ?
Cyriaque Dupoirieux wrote:
> Hello,
>
> I want to copy a file, but
>From the manual ...
You can also set properties that override properties
specified in the buildfile (see the property task).
This can be done with the -Dproperty=value option,
where property is the name of the property, and
value is the value for that property. This can also be
used to pass in t
"Trogdon, David" wrote:
> Well ... I have sucessfully used ANT and the ANT Visual Age fo Java Plugin.
> I have:
>
> moved projects to the workspace
> created directories
> exported projects in to the directories
> "jared" specific directories
> filtered the exported directories/jar files
Rupam Das <[EMAIL PROTECTED]> wrote:
> Scenario:-
> =
> I want to pass the value for these two property from the command
> line.
>
>
>
make that
and invoke Ant as
ant -Dbuild.from.batch=foo -Ddist.from.batch=bar
Stefan
msew wrote:
> Does anyone out there have a link to a good tutorial or even just example
> files of how to easily extend the standard doclet?
To the best of my knowledge, extending the standard doclet isn't that easy.
Admittedly, I looked at it about two years ago, so they may have refactor
On Tue, 3 Jul 2001 11:19, Dave Dribin wrote:
> > Second, a book is already in the works.
>
> Really? When is it planning on being released? What are the main
> topics? Who's the author and publisher? Feel free to reply
> privately. Let's just say I have some extra free time at the moment
> a
Hi,
I'm trying to set up my first ANT project. I started with this
four-liner in a file called "simple.xml":
The currenct directory contained nothing but this. My first attempt was
[d:\temp\anttest]ant
Buildfile: build.xml does not exist!
Build failed.
Well. I
Having some problems with Ant not passing environment to a command line
in Apply etc. I am running on Win2k and have latex working fine on my
command prompt so that I get expected operation when I run...
latex D:\Project\doc\design\SomeDoc.tex
Now I try to use apply like this...
If this logic doesn't fit or seem appealing, you could
also try a simple task I wrote...works like you'd
probably expect.
Check it out here, if you're interested.
http://www.mail-archive.com/ant-user@jakarta.apache.org/msg03062.html
John
--- Don Taylor <[EMAIL PROTECTED]> wrote:
> No, you can't
Cyriaque Dupoirieux wrote:
>
> Hello,
>
>I want to copy a file, but this file may not exist.
>
>And if the file doesn't exist, I have the following message :
>[copy] Could not find file my.properties to copy.
>
>I have the same problem with a directory :
>
>
that would be 'tar xvpf '
Thanks again...
-Fred
-Original Message-
From: Stefan Bodewig
To: [EMAIL PROTECTED]
Sent: 7/3/01 8:50 AM
Subject: Re: tarfile set perms issueHELP
Fred Welland <[EMAIL PROTECTED]> wrote:
> Untarring the generated tar file generates the following ls -l list
hmmm,
here are the files in question from tar tvf...
-rw-rw-rw- 0/0 91 Jun 28 08:02 2001 olr/etc/jdbcDriverPlayback
-rw-rw-rw- 0/0 3392 Jul 3 08:12 2001 olr/etc/OLRUsing.properties
-rw-rw-rw- 0/0 325 Jun 15 13:39 2001 olr/etc/dbconnection.xml
-rw-rw-rw- 0/0 2479 Jul
Hi All,
I am a new bie to the 'Ant'. I am trying to build my set of java files
with the 'Ant'. I want to pass some arguments to the 'build.xml'
dynamically.I will call the 'Ant' from the batch file.Here is the scenario
Scenario:-
=
I want to pass the value for these two property from t
write yourself an if or switch task...
or use this one. You can use it like an if
statement by doing the following.
if (var=a) { targeta }
else if (var=b) { targetb }
else { targetc }:
would end up as:
I would of course be nice to be able to set parameters before
make sure that the "basedir" attribute on your project is set.
I do lots of the same type of thing in my build file. Mostly for
copying files from an installation source (which is usually ..)
to the destination directory.
Viraj Purang wrote:
> Hi,
>I am using value="../classes/shared"/> to
Hello,
I want to copy a file, but this file may not exist.
And if the file doesn't exist, I have the following message :
[copy] Could not find file my.properties to copy.
I have the same problem with a directory :
The error message is :
D
Fred Welland <[EMAIL PROTECTED]> wrote:
> Untarring the generated tar file generates the following ls -l listing of
> the olr/etc directory:
Does "tar tvf" give the same result? I'd guess it is your umask that is
stripping off the permissions.
Stefan
HI Ant people,
Using Ant 1.3:
ant -version
Ant version 1.3 compiled on July 2 2001
(NOTE: I have patched Tar.java to the 1.17 revision from CVS but left all
the other source files as they came from source distro for 1.3).
I am running on Solaris (SunOS is007041 5.8 Generic_108528-03 sun4u spa
How do I read command line arguments in Ant?
More details: I want to get a specific version of code in the VSS (using
labelling) and the Ant needs to compile all the code. I will have to pass
the version information as a command line argument when I invoke Ant. I
have other similar requirements.
No, you can't use if-statements like that. To accomplish what you want,
try this instead:
Sorry, but that's how conditional logic is handled in Ant.
- Don
--- Martin Gerlach <[EMAIL PROTECTED]> wrote:
> Hi there
>
> is it possible to use if-statements in ant's build.xml-Files
Hi Ansters
filesets are currently specified as having files excluded or included. It
would be nice however
to just define a fileset as a group of files and specify whether they are
excluded/included at a
later date.
For example if I have compiled all my classes files, then I wish to add a
subse
Hi there
is it possible to use if-statements in ant's build.xml-Files?
Like:
Espacially, i wan't to copy a file only when it not
exists. I want to copy a config_template.xml-File to
a directory every time i make a deploy, but i want to
cop
On Tue, 3 Jul 2001 18:39, Peter Vogel wrote:
> It's interesting that you say this. Because the same is true for
> me, and has been for the 12 or so years I've been implementing
> builds for one thing or another -- developers (whether C, C++,
> Java or otherwise) generally consider build automati
Peter Donald writes:
> Other people are in favor of adding all sorts of
> logic/flow-control operators
> straight into core (or as tasks). This of course would mean
> ant is now
> expressible and extensible but not simple. Considering that a
> lot of build
> scenarios I setup are for less te
69 matches
Mail list logo