Hi,
I am very new to ANT now,
Hi, I am getting the following errors when i compile Java using ANT
illegal escape character, these files are using Japanese codepages,
I also get some other errors like this
unclosed string literal
so can any one help me in this, i am pretty new to ant.
I will be out of the office starting 02/04/2005 and will not return until
02/22/2005.
I will respond to your message when I return.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
please apologize my bad english :)
Regards, Gilbert
Maybe a FAQ entry about this?
And please call it "leading \\" rather than trailing.
-Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Jacob Kjome wrote:
At 08:50 PM 2/3/2005 -0500, you wrote:
>Hi;
>On an imported file, I would like to run a target upon getting imported.
>Although the imported's target can be run for the file importing it, I
>would like to have a target in the imported file run automatically upon
>being imported.
Jacob Kjome wrote:
At 08:50 PM 2/3/2005 -0500, you wrote:
>Hi;
>On an imported file, I would like to run a target upon getting imported.
>Although the imported's target can be run for the file importing it, I
>would like to have a target in the imported file run automatically upon
>being imported.
At 08:50 PM 2/3/2005 -0500, you wrote:
>Hi;
>On an imported file, I would like to run a target upon getting imported.
>Although the imported's target can be run for the file importing it, I
>would like to have a target in the imported file run automatically upon
>being imported. Is this possible?
I
Hi;
On an imported file, I would like to run a target upon getting imported.
Although the imported's target can be run for the file importing it, I
would like to have a target in the imported file run automatically upon
being imported. Is this possible?
Thanks,
-nat
Thank you! That works, and speeds things up a lot.
-Doug
Conor MacNeill wrote:
Remove the line where you delete it. Ant should then not bother
rebuilding it if none of the files has changed.
Douglas Kramer wrote:
Novice question.
My ant script works great, skipping compile if source files have n
Remove the line where you delete it. Ant should then not bother
rebuilding it if none of the files has changed.
Douglas Kramer wrote:
Novice question.
My ant script works great, skipping compile if source files have not
changes,
and skipping copying of resources if they have not changed.
How wo
I guess one way to do it is you could use along with the
selector and scan over all the files that would go in the jar. Set the date in
the selector to the creation of the existing jar.
Now if any files are selected you can then execute the jar task.
Of course, there is question of how to
Novice question.
My ant script works great, skipping compile if source files have not changes,
and skipping copying of resources if they have not changed.
How would I prevent building the jar file if nothing has changed?
-Doug
-
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
Matt Benson wrote:
[SNIP]
/>
$${pleaseHelp}=${pleaseHelp}
-Matt
Aye, thanks much. It works 99%. It returns the
correct path but it also
includes a dir separator at the end. How do I drop
that?
-nat
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
> Matt Benson wrote:
[SNIP]
> >
> >
> > />
> >
> >
> >
> >$${pleaseHelp}=${pleaseHelp}
> >
> >-Matt
> >
> >
> Aye, thanks much. It works 99%. It returns the
> correct path but it also
> includes a dir separator at the end. How do I drop
> that?
Well,
The safe answer is yes and no...
Out of the box, the ANT distribution (along with the ant-contrib project) comes
with a number of concepts (tasks and structures) that would be helpful (,
, , etc...) to accomplish MOST of what you want.
The one area that is not currently pre-built is t
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
[SNIP]
This is what I want:
--
If the from path = /a/b/c/d/e/f/e/ejb,
${pleaseHelp} should=/a/b/c/d/e
If the from path = /a/ejb, ${pleaseHelp} should=/a
Alas, in the aforementioned snippet, in my c
--- Chris Shabsin <[EMAIL PROTECTED]> wrote:
> >It may be that what you are looking for is an
> option
> >to turn off recursive token expansion in
> filtersets.
> >Does this sound correct?
> >
> >
> Yes, that's precisely what I need.
>
This will be in Ant 1.6.3 .
-Matt
> -Chris
>
>
>
-
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
[SNIP]
> This is what I want:
> --
>
> from="(${projectPath}/src/**)/ejb"
> to="\1"
> />
>
>
>
> If the from path = /a/b/c/d/e/f/e/ejb,
> ${pleaseHelp} should=/a/b/c/d/e
> If the from
Dominique Devienne wrote:
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Well, IMO that's a real gotcha for WinUsers, as
they are used to write '\' instead of '/'
and normally (my\normal/path\foo/bar)
it doesn't matter whether you
write \ or / or mixed
I've seen those be
why don?t use Ant-contrib [1] task?
You can download Ant-contrib from [2]
HTH
Luis
[1] http://ant-contrib.sourceforge.net/cc.html
[2] http://sourceforge.net/project/showfiles.php?group_id=36177
-Original Message-
From: Yerram, Madhusudhan R. [mailto:[EMAIL PROTECTED]
Sent: Thursday, Feb
Hello Anters;
I need help using ANT to compile some C++ code along with the JAVA code.
I have pretty much accomplished to manage the JAVA code but having some
trouble to make it work for C++ code
Using < exec> tag If anybody made this work for C++ I appreciate it if you
can forward the sa
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
[SNIP]
Can the location attribute take a wildcard for an
unknown number of dir
elements leading to one known last element?
-nat
Nat, it sounds like you wan
Hello all.
I am new to Ant, I have no experience with it. I need to
evaluate if Ant can be used for a project I work on. Since I
have some difficulties getting the information I need from
the web, I would like to give you a rough overview of my
demands and ask you to tell me, if this is possible. I
Boy, that's a silly error on my part. Monsters is a whole diff package, I
must've mixed them up. Thanks for spotting this. I've cc'ed the list, for the
sake of the archives, yes?
-Thufir
- Original Message -
From: "Saket Joshi" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE:
If you are planning write JUnit tests for ANT tasks that you wrote, you may
want to look
at the helper JUnit TestCase sub-class that comes with the ANT source
distribution.
The class is called org.apache.tools.ant.BuildFileTest and if your testcase
classes extend from this class you have help
Yep, that looks cool as well.
Peter
Darin Swanson wrote:
Honking my own horn...Eclipse has it as well as of 3.1 M4
See the new and noteworthy (this is from one of the mirrors):
http://eclipse-mirror.jab.fi/site/eclipse/downloads/drops/S-3.1M4-200412162000/eclipse-news-part1-M4.html
The Ant debugger
Honking my own horn...Eclipse has it as well as of 3.1 M4
See the new and noteworthy (this is from one of the mirrors):
http://eclipse-mirror.jab.fi/site/eclipse/downloads/drops/S-3.1M4-200412162000/eclipse-news-part1-M4.html
The Ant debugger we provide does not allow for the stepping into the
ac
Wow!
That looks really powerfull.
Peter
Alexey N. Solofnenko wrote:
JBuilder has it:
http://info.borland.com/techpubs/jbuilder/jbuilder2005/bajb/debug_ant.html#ant_debug_ui
.
- Alexey.
Rajiv Jaitly wrote:
Please read the disclaimer at the
JBuilder has it:
http://info.borland.com/techpubs/jbuilder/jbuilder2005/bajb/debug_ant.html#ant_debug_ui
.
- Alexey.
Rajiv Jaitly wrote:
Please read the disclaimer at the bottom of this e-mail.
+
Likely better to ask these questions in an Eclipse based forum (such as
the eclipse.platform newsgroup)
On the JRE tab for your Ant launch configuration specify the following VM
arguments in the VM arguments text pane:
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=
> -Original Message-
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]
> > and where to send to ?
>
> Maybe a FAQ entry about this?
>
> There's also the Ant Wiki, but IMHO a FAQ entry is more visible. --DD
>
> See http://jakarta.apache.org/site/contributing.html
> and http://jakarta.a
> -Original Message-
> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>
> Well, IMO that's a real gotcha for WinUsers, as
> they are used to write '\' instead of '/'
>
> and normally (my\normal/path\foo/bar)
> it doesn't matter whether you
> write \ or / or mixed
>
> I've seen those beh
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
> Matt Benson wrote:
>
> >--- Nat Gross <[EMAIL PROTECTED]>
> >wrote:
[SNIP]
> Can the location attribute take a wildcard for an
> unknown number of dir
> elements leading to one known last element?
> -nat
Nat, it sounds like you want to use a dirset, po
Well, IMO that's a real gotcha for WinUsers, as
they are used to write '\' instead of '/'
and normally (my\normal/path\foo/bar)
it doesn't matter whether you
write \ or / or mixed
I've seen those behavior only when it comes to
\\fooserver\bla\bla\bla
What about a 'central' html file with commo
Can you provide a small example of the problem ?
Peter
Geoff Krapf wrote:
I just started playing around with a script task, and ran into a weird
problem. I'm using the script in a build file that's imported into other
build files using the task, i.e., build.xml imports import.xml at
the beginning
Hi,
anyone using CruiseControl 2.2.1 here ?
i want use CC 2.2.1 because of the new
and feature.
scenario :
one instance of CC should serve two projects
A buildorder.txt drops in, containing the project to build and
other projectspecific propertys.
i've tried like that :
cc_workdir
Please read the disclaimer at the bottom of this e-mail.
Hi,
I intend to debug ant targets (junits test / java application) from eclipse. is
there anyway to start Ant in debug mode
> -Original Message-
> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>
> Should be mentioned in the manual if not already.
Perhaps, but the manual does reference to the Javadocs for Properties
which describes the format of Properties files. What you've 'discovered'
is fully spelled out
Hi all,
I have to replace a name in the files in a directory and its
subdirectories. I wrote a task for it. But it is replacing tokens in
the directory which is specified in the dir attribute.
Antony
Paul
I enabled debugging on and it prin
I just started playing around with a script task, and ran into a weird
problem. I'm using the script in a build file that's imported into other
build files using the task, i.e., build.xml imports import.xml at
the beginning of the build.xml file (right after the node
opening).
Inside import.xml
Ant's globmapper does not support more that one "*".
You need to use a regexpmapper, for example:
Robert Soesemann wrote:
While copy HTML files (*.htm or *.html) to another folder, I want to
rename the extension
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
While copy HTML files (*.htm or *.html) to another folder, I want to
rename the extension of all those files to *.xhtml.
I tried this, but it didn't work. Can you help?
include name="**/*.html"/>
Best regards,
Robert
-
No. The JAR-spec [1] sais:
Main-Class :
The value of this attribute defines the relative path of the main
application class which the launcher
will load at startup time. The value must not have the .class extension
appended to the class name.
Class-Path :
The value of this attribute s
Thank you, Jan,
here's my manifest, extracted from the jar:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.5.0_01-b08 (Sun Microsystems Inc.)
Main-Class: atreides.monsters.TidyTest
shouldn't the Main-Class value do the trick, so that I don't need to include
the classpath swit
Your buildfile is correct, but your call for start is not.
While compiling you have included Tidy.jar (${includeJar}), but you havent
when starting TidyTest.jar.
1) add the classpath when starting via "java -jar" or
2) support a classpath entry for the manifest file of TidyTest.jar
Jan
> -U
I will be out of the office starting 02/03/2005 and will not return until
02/07/2005.
I will respond to your message when I return.
Meanwhile, please send all requests to SBL_Duluth.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Is the source of this error due to build.xml?
build.xml
Hi,
yesterday when writing a property file i discovered
some strange behaviour, i didn't saw before.
(Ant 1.6.2 / Win2k / j2sdk 1.4.2_05)
normally i write my properties like that :
jarpath.test= /libs/test/deploy
statics.test=./Global_Files/statics.txt
But now i had to put a serverpath in and
48 matches
Mail list logo