My customer requirement is to use ANT.
i.e
- Application must use ANT to build and deploy
I have written build.xml for build.
What does "deploy" means.
How can be done the same using ANT.
-
To unsubscribe, e-mail: [EMAIL P
Hi Leon,
Try with full path of bi.jar.
Thanks and Regards,
Kinjal Vohra
Telephone:+91 22 5556 7139
Cell :+91 9867 240708
-Original Message-
From: Leon Pu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 19:44
To: Ant Usenet
Subject: Failed to execute task move in
with and .
/ with
Jan
>-Ursprüngliche Nachricht-
>Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 11. Mai 2006 07:34
>An: user@ant.apache.org
>Betreff: Add html tags in a text file
>
>Hi,
>
>I have a plain text file. I need to insert at the very
>be
No.
Loggers are attached while checking the command line arguments and _before_ Ant
runs.
Ant doesnt know anything about registered loggers - it just sends log messages
to an interface.
What you could do is setting the environment variable ANT_OPTS to your "-logger
..." setting.
You could do t
Hi,
I have a plain text file. I need to insert at the very beginning
of the file and at the very end (). And then change the file
extension.
I shell script I could use something like:
cat $1 | sed "s/^//g" | \
sed "s/$/<\/html>/g" >$1.html
Is there a similar function in ant?
Or just write the the return values () to a file and read them
() in the calling file.
Jan
>-Ursprüngliche Nachricht-
>Von: glenn opdycke-hansen [mailto:[EMAIL PROTECTED]
>Gesendet: Samstag, 6. Mai 2006 15:13
>An: Ant Users List
>Betreff: Re: Propogating properties up
>
>Have you consi
I'd like to use org.apache.tools.ant.XmlLogger for all my builds, so I'd
like to have it in my build.properties file rather than having to call
it as a command-line option. I couldn't find a property for doing this,
though.
Is it possible to define the logger in a properties file/
You can do it now [after Apache servers are working again]:
svn co http://svn.apache.org/repos/asf/ant/core/trunk ant
But you will have to build it yourself. There is fetch.xml build file to
load external dependencies (set JAVA_HOME and launch "build -f
fetch.xml") or load necessary dependenci
How soon are we likely to be able to download 1.7?
I'm not asking because of the renaming bug in the move task; I'm just
curious about when we'll see 1.7.
--
Rhino
- Original Message -
From: "Matt Benson" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Wednesday, May 10, 2006 3:50 P
Yes, I noticed that too...
- Alexey.
Matt Benson wrote:
duh... make that "I'm about to commit it as soon as
minotaur comes back up."
-Matt
--- Matt Benson <[EMAIL PROTECTED]> wrote:
I'm about to commit it. File.equals() should be
fine
in this case.
-Matt
--- "Alexey N. Solofnenko" <[E
duh... make that "I'm about to commit it as soon as
minotaur comes back up."
-Matt
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> I'm about to commit it. File.equals() should be
> fine
> in this case.
>
> -Matt
>
> --- "Alexey N. Solofnenko" <[EMAIL PROTECTED]>
> wrote:
>
> > No, it is not.
>
I'm about to commit it. File.equals() should be fine
in this case.
-Matt
--- "Alexey N. Solofnenko" <[EMAIL PROTECTED]>
wrote:
> No, it is not.
>
> - Alexey.
>
> Rhino wrote:
> > Do we know _for sure_ that this bug is fixed in
> 1.7?
> >
> > --
> > Rhino
> >
> > - Original Message -
No, it is not.
- Alexey.
Rhino wrote:
Do we know _for sure_ that this bug is fixed in 1.7?
--
Rhino
- Original Message - From: "Scot P. Floess"
<[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Wednesday, May 10, 2006 3:16 PM
Subject: Re: Failed to execute task move in Windows
When
Do we know _for sure_ that this bug is fixed in 1.7?
--
Rhino
- Original Message -
From: "Scot P. Floess" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Wednesday, May 10, 2006 3:16 PM
Subject: Re: Failed to execute task move in Windows
When is 1.7 coming out?
Anthony Goubard wrot
Thank you for shedding light on this, Anthony!
Now I understand why the file disappeared.
At the very least, there should be a big note in the article for the move
task warning that the file will be deleted in these circumstances but I'd be
a LOT happier if this behaviour were FIXED, not just
When is 1.7 coming out?
Anthony Goubard wrote:
Hi,
Yes, I filled a bug about it 6 months ago. And then a few weeks later
I fixed the bug. I've submitted the patch with the bug but the patch
is not applied yet to the source code.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37701
Hope t
Ah...yeah...right :|
Well the world would be a better place if everyone just ran Linux ;)
Anthony Goubard wrote:
The problem is that the move task delete the destination before moving
the file, so I let you guess what happens in this case.
http://issues.apache.org/bugzilla/show_bug.cgi?id=3770
The problem is that the move task delete the destination before moving
the file, so I let you guess what happens in this case.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37701
Anthony
Scot P. Floess wrote:
I've not look at the code behind the move target...but I would guess
it's java.io
Hi,
Yes, I filled a bug about it 6 months ago. And then a few weeks later I
fixed the bug. I've submitted the patch with the bug but the patch is
not applied yet to the source code.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37701
Hope this help for the patch to be in 1.7.
Anthony
Al
I think there was a bug with that just changes character case on
a case-insensitive file systems. thought that the destination
file already exists, so it deleted it, but instead the original file was
deleted. I think it was fixed in 1.7.
- Alexey.
Leon Pu wrote:
Hi all,
my build file with
I've not look at the code behind the move target...but I would guess
it's java.io.File? If so...not sure why it would do that either
;)
Rhino wrote:
Jeffrey,
Thank you for the insight: you are absolutely right!
I'm still a bit mystified though. When my target and property were set
like
- Original Message -
From: "Leon Pu" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Wednesday, May 10, 2006 11:43 AM
Subject: Re: Failed to execute task move in Windows
Hi Rhino,
the reason of my problem was the file and path name in Windows is
case-insensitive, that's why Ant failed
Holger: the notation you are
using is not -really- recommended. IIRC is is noted
as experimental in the code; while it is not going
anywhere, in this case you can see it yields
less-than-optimal results. It calls toString() on the
referenced object. DirSet inherits its toString()
implementatio
Try this:
Not sure what's going on when you simply use dirset with an id... Your
example threw me for a second :)
Scot P. Floess wrote:
Holger:
Very odd indeed...I am looking at this and get back to you...but sure
enough...dirset yie
Jeffrey,
Thank you for the insight: you are
absolutely right!
I'm still a bit mystified though. When my
target and property were set like this:
the task failed and claimed that bi.jar
could not be found; when I checked the directory, the jar file had been
DELETED!! What's that all
Hi Rhino,
the reason of my problem was the file and path name in Windows is
case-insensitive, that's why Ant failed to move bi.jar to Bi.jar.
It works with following build file.
Thanks to Jeffrey's reminder and your warmly help.
Best regards,
Leon
--- Rhino <[EMAIL PROTECTE
Holger:
Very odd indeed...I am looking at this and get back to you...but sure
enough...dirset yields the file instead of the directories...
Holger Rauch wrote:
Hi!
I've created the following simple directory structure for testing purposes.
I would like to see only dirs below test ("blah" and
don't you need something like
xsl:output/@method="myprefix:sgml"
? I didn't know you could put the jar file there. If you can, then would
you need the path set correctly? Do you have it in the same directory as
the XSL?
Yeah, that's a funny syntaxt, isn't it? But note that @method read
"my.sgm
Sorry, Leon, I'm not sure what you're saying. Is the script working now,
either with or without the single quotes?
Did you check to make sure that the file name and path name were exactly
correct? Were they both correct?
I'm sorry to have mentioned the single quotes; they are probably only go
Thank you for the sanity check, Scot!
You're right, the single quotes within the double quotes is probably not
necessary after all. I found that I needed to add the single quotes for a
task that tried to execute a VBScript so that Windows handed it to the
VBScript engine correctly but this pro
Mary Milne wrote:
hi robert
sadly i need sgml not html. running the script with saxon on a command
line is fine
ie java -cp saxon.jar:.:SGMLEmitter.jar icl.org.saxon.StyleSheet xslt
input out
don't you need something like
xsl:output/@method="myprefix:sgml"
? I didn't know you could put
Hi Jeffrey,
you are right, I shiped the build script from Linux to Windows without
awaring the case-insensitive in Windows.
Thanks a lot.
Best regards,
Leon
--- Jeffrey E Care <[EMAIL PROTECTED]> wrote:
> Windows file systems are case-insensitive while being
> case-preserving; if
> all you w
Hi Scot,
the result of Rhino's build script without single quotes is same with
mine.
Anyway, the old.name file will disappear after execution.
Best regards,
Leon
--- "Scot P. Floess" <[EMAIL PROTECTED]> wrote:
> Question, why are you including single quotes withing the double
> quotes?
>
>
Windows file systems are case-insensitive
while being case-preserving; if all you want to do is to change the case
you'll need to use an intermediate file (i.e. move to temp_Bi.jar, then
move to Bi.jar).
___
sadly i need sgml not html. running the script with saxon on a command
line is fine
ie java -cp saxon.jar:.:SGMLEmitter.jar icl.org.saxon.StyleSheet xslt
input out
(sorry haven't got the line at hand but its close enough) but now i want
to invoke it from ant's xslt task and the doc seems to say
Question, why are you including single quotes withing the double quotes?
I'm not sure of the behavior doing that, but I am fairly confident this
should be sufficient:
Leon Pu wrote:
--- Rhino <[EMAIL PROTECTED]> wrote:
- Original Message -
From: "Leon Pu" <[EMAIL PROTECTE
hi robert
sadly i need sgml not html. running the script with saxon on a command
line is fine
ie java -cp saxon.jar:.:SGMLEmitter.jar icl.org.saxon.StyleSheet xslt
input out
(sorry haven't got the line at hand but its close enough) but now i want
to invoke it from ant's xslt task and the doc
--- Rhino <[EMAIL PROTECTED]> wrote:
>
> - Original Message -
> From: "Leon Pu" <[EMAIL PROTECTED]>
> To: "Ant Usenet"
> Sent: Wednesday, May 10, 2006 10:13 AM
> Subject: Failed to execute task move in Windows
>
>
> > Hi all,
> >
> > my build file with task move failed in Windows, but
Mary Milne wrote:
hi
i'm trying to run the task using saxon.jar - that bits fine ie
the problem is the xslt script has an extension to make the output SGML ie
This is not valid.
Why not just use method="html" with whatever? Also just set
doctype-public and doctype-system to your particu
- Original Message -
From: "Leon Pu" <[EMAIL PROTECTED]>
To: "Ant Usenet"
Sent: Wednesday, May 10, 2006 10:13 AM
Subject: Failed to execute task move in Windows
Hi all,
my build file with task move failed in Windows, but the same build file
works in Linux. Could anybody tell me why
hi
i'm trying to run the task using saxon.jar - that bits fine ie
element to
3. adding it to the ant/lib along with saxon.jar
but nothing worked. any ideas greatly appreciated.
cheers mary
Hi all,
my build file with task move failed in Windows, but the same build file
works in Linux. Could anybody tell me why?
[build-script]
[build-script]
[error-message]
Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: build.xml
Detected Java version: 1.4 in: C:\java\jdk\j
Hi!
I've created the following simple directory structure for testing purposes.
I would like to see only dirs below test ("blah" and "blubber") in my
dirset/fileset. The Ant version I'm using is 1.6.5 in conjunction with
JDK 1.5.0_06 on Linux:
test(dir)
|--> blah (dir)
|--> blubber (
Hi All
Is there any task that merges multiple vendor branches in CVS into
the main branch.
Please let me know.
Thanks
Vishal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Ritesh,
Have you profiled your application?
Cheers,
James
Scot P. Floess wrote:
Ritesh:
In just examining your code fragment, it wouldn't appear you are doing
anything out of the ordinary (to cause a memory leak). At a high level,
what does this app do specifically? Perhaps the failur
oops sorry..please change the second condition arg1 to 'ready'
Geethakrishnan
- Original Message -
From: "Devaraj, Geethakrishnan" <[EMAIL PROTECTED]>
To: "Ant Users List"
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 10, 2006 4:58 PM
Subject: Re: [SPAM-H] - Condition for two Par
Ritesh:
In just examining your code fragment, it wouldn't appear you are doing
anything out of the ordinary (to cause a memory leak). At a high level,
what does this app do specifically? Perhaps the failure is in another
part of of your app (causing the out-of-memory issue)? Is it possible,
Hi pritesh,
try this
i have not tried this ..but i believe it should work..
Regards,
Geethakrishnan
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 10, 2006 3:35 PM
Subject: [SPAM-H] - Condition for two Parallel task - Email has different
S
Hi All,
I am trying to use but not finding a good way to
resolve my problem, problem goes like this:
I had one build-properties.xml file which contains
//--
build-properties.xml
49 matches
Mail list logo