> From: webservices_developm...@csx.com
> To: user@ant.apache.org
> Subject: RE: Need help with ANT javac classpath
> Date: Tue, 16 Sep 2014 14:19:47 +
>
> �I think I may not have articulated my problem correctly
MG>for 6 weeks this summer I was answering all que
other jars used by the application.
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Monday, September 15, 2014 5:39 PM
To: Ant Users List
Subject: RE: Need help with ANT javac classpath
> From: webservices_developm...@csx.com
> To: user@ant.apache.org
>
> From: webservices_developm...@csx.com
> To: user@ant.apache.org
> Subject: RE: Need help with ANT javac classpath
> Date: Mon, 15 Sep 2014 16:06:55 +
>
> Thanks.
>
> This is a common build script that we have, so I didn't add fork for the
> javac task -
AM
To: Ant Users List
Subject: Re: Need help with ANT javac classpath
On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development <
webservices_developm...@csx.com> wrote:
> P.S - I tried adding includejavaruntime="false" and
> includeantruntime="false" a
On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development <
webservices_developm...@csx.com> wrote:
> P.S - I tried adding includejavaruntime="false" and
> includeantruntime="false" attributes - both together as well as
> individually - to the javac task - but I still get the error. The error
>
Impossible to help you unless you display your build.xml
The specific failure happens at
/home/user/springapp2/build.xml:106Reposting to us...@ant.apache.org
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Di
i don't need to set the variable, i did a small snippet to explain:
http://pastebin.com/fpjWbAxx
but i already got it...
i need to use instead of property="${build.os}" />
now it works as i want :-)
but thanks anyway
best regards
Am 21.09.2011 22:33, schrieb Alexandre Priou:
hi
you use th
hi
you use the command line for set your variable... humm
check, for your condition and to use that :
somewhere, you need to set a new variable before to use ...
check that
--
Alexandre Priou
Analyste Concepteur Web
On Wed, Sep 21, 201
Hi and thanks for your fast response.
I don't have a build.properties file.
It always sets ${lib.dir} to /opt/java_libs/gtk64 (which is in
${libs.dir.gtk} it never uses the win one even though i added a
-Dbuild.os=win flag on the ant command.
Am 21.09.2011 20:41, schrieb Alexandre Priou:
hi
hi
what you have in your build.properties ???
put in your build.properties, that :
lib.dir= /path/lib.dir
best regard
alex
On Wed, Sep 21, 2011 at 8:26 PM, Danny T. wrote:
> Hello everyone,
>
> i need some help to manage my condition.
> I already projected my intention in php, just for cla
Thank you reno & Greg for your help!
Have a good weekend.
Shilpa
On Fri, Apr 2, 2010 at 3:31 AM, reno wrote:
> Greg,
>
> it's better to set the bootclasspath for different jdks (cross-compilation)
> than changing $JAVA_HOME
>
> http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.ht
Greg,
it's better to set the bootclasspath for different jdks
(cross-compilation) than changing $JAVA_HOME
http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html#crosscomp-example
:-)
S.
JDK 1.6.0u11can be found here:
http://java.sun.com/products/archive/j2se/6u11/index.html
It
JDK 1.6.0u11can be found here:
http://java.sun.com/products/archive/j2se/6u11/index.html
It is possible to run Ant with a particular version of Java (using JAVA_HOME
or other) and then use "fork" in javac to specify an alternative version of
the Java compiler for the build.
The documentation of t
Shilpa,
http://java.sun.com/products/archive/
hope this help
Corrected subject for the post below.
On Thu, Apr 1, 2010 at 5:13 PM, Shilpa Kulkarni wrote:
Hi Everyone,
Just joined the ant mailing list. I am working on getting a build system
set up. It needs to produce jdk 1.6.11 binarie
In response to Greg Roodt :
> Ah, good suggestion Stefan. That makes sense.
>
> I personally have had no issues capturing STDOUT, but I use the xml
> formatter to generate JUnit reports on Hudson. Also, this looks like a
> particularly nasty little problem if the test times out or runs out of sta
Ah, good suggestion Stefan. That makes sense.
I personally have had no issues capturing STDOUT, but I use the xml
formatter to generate JUnit reports on Hudson. Also, this looks like a
particularly nasty little problem if the test times out or runs out of stack
in a different environment.
Cheers
On 2010-03-05, Bill Moran wrote:
>
> timeout="1" maxmemory="512m" haltonfailure="no"
> tempdir="/tmp" failureProperty="test.failure">
> Unfortunately, this doesn't give me any output anywhere.
withOutAndErr should give you the output in most cases.
Since yo
In response to Greg Roodt :
> Ant normally captures stdout. Have you tried the xml formatter?
Not yet. If you have reason to believe that it will more accurately
report the output, my answer is that the other formatter should be
reported as broken. But I'll give it a go and see if I have more
s
Ant normally captures stdout. Have you tried the xml formatter?
It looks like your test is failing because its timing out, does it pass if
you remove the timeout?
Also, is there a reason you are using sysout rather than a logging framework
like log4J?
Cheers
Greg
On Fri, Mar 5, 2010 at 2:35 P
For scripting I like beanshell myself :)
On Wed, 11 Nov 2009, cvsusr wrote:
Is there any Ant experts who can provide a solutions for this scenario... ??
Thanks in advance..
cvsusr wrote:
Hi
In my ant build,
I need to find duplicate files under set of dirs and if found, copy it t
Ok, if your preference is javascript you could try the optional
scriptdef task instead:
http://ant.apache.org/manual/OptionalTasks/scriptdef.html
The above page provides an example of how to iterate through filesets
which should give you a good start.
Thanks
Adam
On Wed, 2009-11-11 at 02:28 -0
I really need to learn scripting and do it.. Can I used java script?? I will
give a try..
Is it so that i need to write java script and call it using groovy task??
Adam Leggett (UPCO) wrote:
>
> If you are comfortable with scripting using syntax akin to Java, i'd
> suggest you use the groovy
Adam's suggestion of a script is probably going to be the simplest solution.
Another option may be to take a look at the Checksum task and generate MD5
hashes for the files, then compare the MD5 hash values for each file, if the
values are equal, then you know you have a duplicate. You could then
If you are comfortable with scripting using syntax akin to Java, i'd
suggest you use the groovy ant task to do something like this
http://groovy.codehaus.org/The+groovy+Ant+Task
Thanks
Adam
On Wed, 2009-11-11 at 02:13 -0800, cvsusr wrote:
> Is there any Ant experts who can provide a solutions
Hello,
I tried to see the log file but there is no hint in that. Still not able to
figure out what the issue is..
The log file is as follows
init:
build:
[javac] Compiling 63 source files to C:\Documents and
Settings\sag\Sagarika\A\classes
[javac] Note: Some input files use unchecked
Perhaps you can find the answer by running ant in verbose mode (-v) and
write the messages to a file with
--glenn
On Fri, Sep 25, 2009 at 16:47, shwitzu wrote:
>
> Hi I am having trouble with the Ant build file which I am using in my
> program. I am not able to copy the JAR files which are be
On Sat, Sep 26, 2009 at 00:45, shwitzu wrote:
>
> @ Frank
> Thanks for responding
>
> Even though i remove the properties from the target I am still getting the
> same error.
>
> My problem is with the following part of the code
>
>
> toDir="${jboss.deploy}" />
>
>
>
> fro
@ Frank
Thanks for responding
Even though i remove the properties from the target I am still getting the
same error.
My problem is with the following part of the code
from the out.dir - i.e. the work place I am asking the ant to copy the
sensorDemo.jar to JBoss depl
On Fri, Sep 25, 2009 at 23:47, shwitzu wrote:
>
> Hi I am having trouble with the Ant build file which I am using in my
> program. I am not able to copy the JAR files which are being generated in
> the workspace to the deploy folder of jboss. Please let me know what changes
> should I do. Here is
assuming you can implement jasperreports available at
http://jasperforge.org/plugins/project/project_home.php?projectname=jasperreports
build.xml would contain
http://jasperreports.sourceforge.net/api/net/sf/jasperreports/ant/JRAntCompileTask.html#setCompiler(java.lang.String)
Yeah, that is exactly what I want to do. Just somehow recognize the SSI
string in the HTML and then replace it with the actual file contents.
I thought ANT would be nice because there are other tasks as part of the
publishing -- copying all files to new directories, concatenating CSS files,
com
Le Thursday 30 April 2009 20:54:24 xak, vous avez écrit :
> First off, I am very new to using ANT and I'n not a Java developer but my
> needs are very simple ...
>
> I am creating a web site that is decently large but it must be static. So
> I'm thinking that I can develop the site locally using se
I'm trying to figure out exactly what you need. You want to *insert*
the file the ServerSide Include is referring to instead of using
Server Side Includes?
I would think Ant would be an overkill in this case. A simple Perl or
Python script would do exactly what you want and shouldn't take long
to
I believe if there is no
at the start of the file then ant will assume that UTF-8 is in use. I
would guess that you are actually using a different encoding, so you
need to add the xml prolog with the appropriate character set (It would
propably be ISO-8859-1 here as this denotes Latin-1 but w
8:02 PM
To: Rajesh Kumar (IN4774)
Cc: user@ant.apache.org
Subject: Re: Need Help
What does your build.xml file look like?
Could be an issue with your XML prolog...
On Thu, 30 Apr 2009, Rajesh Kumar (IN4774) wrote:
When u run following command, its say...
Ø Ant TARGET_NAME
Error Message
Could you plz let me knw what prolog and how to resolve?
Regards,
RJ
-Original Message-
From: Scot P. Floess [mailto:sflo...@nc.rr.com]
Sent: Thursday, April 30, 2009 8:02 PM
To: Rajesh Kumar (IN4774)
Cc: user@ant.apache.org
Subject: Re: Need Help
What does your build.xml file look
What does your build.xml file look like?
Could be an issue with your XML prolog...
On Thu, 30 Apr 2009, Rajesh Kumar (IN4774) wrote:
When u run following command, its say...
Ø Ant TARGET_NAME
Error Message: Error reading project file: Invalid byte 1 of 1-byte UTF-8
sequence.
Any Help?
First off. You shouldn't be doing antcalls. Especially in order. Ant
has the ability to figure out how to build your software. All you have
to do is give it the information it needs.
For example:
In the above (fairly empty) Ant script, running "ant" will
n" ateitti...@i-a-i.com
Subject: Re: Need help in build.xml file...
> I created an Ant script based on the code you provided. The following
> messages were returned:
>
> exists:
> Skipped because property 'present' not set.
>
> printError:
> Skipped b
I created an Ant script based on the code you provided. The following
messages were returned:
exists:
Skipped because property 'present' not set.
printError:
Skipped because property 'isaFile' not set.
I did a quick rewrite of your code:
depends="clean, prepare, ja
Anna:
I think that you aren't doing everything that you think you are doing in
this snippet. In particular, it appears as if nothing ever sets the
isaFile property. And, because your printError target depends on the
isaFile property being set, you will never get your error message.
If I do
I would use the task to create the directory. I would also consider
deleting the directory before the mkdir.
Is there a need for the multi-line ?
Ant is not intended to be a scripting language.
On Fri, Dec 26, 2008 at 6:21 PM, Anna Teittinen wrote:
> Hello,
>
> I am relatively new to using ant.
Currently my project uses nearly 15 build.xml/build.properties file for
separate subprojects.Each sub-project has build.xml with source codes
scattered in 4 folders.As per my knowledge for creating the reports,the
java files from test(not from src) folder should be compiled and then
junit should
I got this when I ran your debug script. Error executing ant tasks
_
Embedded error: The following error occurred while executing this line:
/home/apli/APPWeb/src/main/build/generate/generate-appcodes.xml:37:
Hi Carlos,
Thanks for responding. I was under the impression that the dir value in the
ant element would set the basedir property in the build file being
executed. Thus, in the Foo build file, I was hoping that ${basedir}/src
would point to Foo's src directory rather than Bar's...
--
Bryan
On
Well Bryan, I think that the problem here relies on the
target, you are invoking a target that belongs to other ant file, but
the basedir and further properties belongs to the Bar ant file.To avoid
this problem, follow the next example:
Substitute both your and tasks with something like thi
Interesting...
I've never seen pathelement used for selecting files to copy. I don't have
ant installed on my Mac at home, so I couldn't play around with it, but I
wonder if you should have used instead to specify the files for
your task.
On Dec 1, 2007 1:27 AM, Maf
Hello,
You could write the results of your sql query to a file using the
task's "output" attribute, then read that file in to set a property
value using the task.
Regs,
/t
>-Original Message-
>From: Basha [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 04, 2007 1:49 PM
>To: user@ant.
Thanks everybody for the quick and accurate responses! I got it
working.
Bob
Robert Pepersack
Senior Lead Developer
Maryland Insurance Administration
410-468-2054
>>> [EMAIL PROTECTED] 09/13/2006 1:24 PM >>>
You need to use the fileset nested element to do this:
You need to use the fileset nested element to do this:
Here's what you get (I used some dummy files so you can see that it
works on subdirs as well):
$ jar tvf mia_gui.jar
0 Wed Sep 13 10:22:10 PST 2006 META-INF/
106 Wed Sep 13 10:22:08 PST 200
> -Original Message-
> From: Robert Pepersack [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 14 September 2006 2:27 AM
> To: user@ant.apache.org
> Subject: Need Help With Task
>
> Hi all,
>
> I'm a to Ant. I have some Java classes in a single directory
> tree that has two child direct
--- Robert Pepersack
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm a to Ant. I have some Java classes in a single
> directory tree that
> has two child directories (i.e. mia/gui and
> mia/middleware). I need to
> create two .jar files, one that contains the classes
> in the mia.gui
> package and
Hi all,
I'm a to Ant. I have some Java classes in a single directory tree that
has two child directories (i.e. mia/gui and mia/middleware). I need to
create two .jar files, one that contains the classes in the mia.gui
package and the other that contains the classes in mia.middleware.
On Wednesday 19 October 2005 01:01, Steve Loughran wrote:
> question: where does this newCopy get its project to log to?
>
> Because I dont see you passing it down, and I would centainly expect
> project.log() to NPE when it is null -which is exactly what appears to
> be happening.
>
> newCopy.setP
Stephen Nesbitt wrote:
All:
I'm trying to extend the the copy task and am running into a brick wall.
What I am trying to do is to extend the task so that it can accept a property
which contains a comma separated list of FileSet references. For example:
. my:copy would do
nothing more than pa
On Sun, 2005-07-17 at 21:32 -0600, Paul Goepfert wrote:
> I have been writing a java program with apache ant. When I complie I
> get a warning that say to recompile with -Xlint:unchecked for details.
> How do I do that in ant?
>
See the section on the "compilerarg" tag in the javac task
docum
> From: Paul Goepfert [mailto:[EMAIL PROTECTED]
>
> I am creating a WAR task in my build.xml file. How do I move two
> configuration xml files that are not my web.xml file to my war file? I
> would like to have these files in a dir called conf within the WEB-INF
> file.
I'm no expert, but here
You may have to play around with it to make sure the whitespaces are in the
right places, especially the end of the line. I assumed that a name was on a
single line terminated by whitespace. You are also assuming that a person
can have only two parts to their name. If the last name can have Jr.,
Worked like a charm, thanx.
--- "Hardacker, Andrew"
<[EMAIL PROTECTED]> wrote:
> Untested, but probably something like this:
>
>input="${full.name}"
> regexp="(.).*\s(.*)"
> replace="\1\2"
> casesensitive="false"/>
>
> Andy Hardacker
>
Untested, but probably something like this:
Andy Hardacker
-Original Message-
From: Ninju Bohra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 22, 2005 4:55 PM
To: Ant Users Group
Subject: Need help writing regular expression??
Hello all,
Quick question... I need write a regular exp
I would try to replace all spaces '\s' with empty values.
- Alexey.
Ninju Bohra wrote:
Hello all,
Quick question... I need write a regular expression to
generate from a
full name (i.e. )
Given the string: Ninju Bohra
I want: NBohra
What is the regular expression (if any) I would use?
experience and I could've misuse
Original Message Follows
From: "Shatzer, Larry" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: 'Ant Users List'
Subject: RE: need help for ant scripting
Date: Wed, 25 May 2005 09:08:08 -0700
MIME-Ve
Check the FAQ: http://ant.apache.org/faq.html#xml-entity-include
Pay attention to the section, near the bottom.
-Original Message-
From: Asha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 3:40 PM
To: user@ant.apache.org
Subject: need help for ant scripting
Hello,
Can any
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
On Wed, 2004-12-15 at 13:02, Joel wrote:
> James Abley wrote
>
> > On Wed, 2004-12-15 at 11:42, Joel wrote:
> > > > For that last part, I think that you need to look at .
> > > > Have a
> > > >
> > > >
> > > >
> > > > is not aware of dependencies and inheritance hierarchies.
> > >
> > > Is
James Abley wrote
(B
(B> On Wed, 2004-12-15 at 11:42, Joel wrote:
(B> > > For that last part, I think that you need to look at .
(B> > > Have a
(B> > >
(B> > >
(B> > >
(B> > > is not aware of dependencies and inheritance hierarchies.
(B> >
(B> > Is supposed to be able to tell when
On Wed, 2004-12-15 at 11:42, Joel wrote:
> > For that last part, I think that you need to look at .
> > Have a
> >
> >
> >
> > is not aware of dependencies and inheritance hierarchies.
>
> Is supposed to be able to tell when a particular source file
> is newer than its class file?
>
> --
> For that last part, I think that you need to look at .
(B> Have a
(B>
(B>
(B>
(B> is not aware of dependencies and inheritance hierarchies.
(B
(BIs supposed to be able to tell when a particular source file
(Bis newer than its class file?
(B
(B--
(BJoel Rees <[EMAIL PROTECTED]
For that last part, I think that you need to look at .
Have a
is not aware of dependencies and inheritance hierarchies.
For the problem with destdir, I'm not sure. What output do you get from
-verbose / -debug?
On Tue, 2004-12-14 at 07:43, Joel wrote:
> The following piece of my build.xml
On Tue, 14 Dec 2004 19:07:21 +0900
(BJoel <[EMAIL PROTECTED]> wrote
(B
(B> On Tue, 14 Dec 2004 08:14:15 +
(B> James Abley <[EMAIL PROTECTED]> wrote
(B>
(B> > For that last part, I think that you need to look at .
(B>
(B> Where is that documented? (I see a dependset, but I think that'
depend is an optional task, so it's documented at
http://ant.apache.org/manual/OptionalTasks/depend.html
That will get you going while I have a chance to look at targets that
you sent.
So, -debug shows that the ${dest} property is being set. Presumably, the
directory exists?
On Tue, 2004-12-1
On Tue, 14 Dec 2004 10:21:57 +
(BJames Abley <[EMAIL PROTECTED]> wrote
(B
(B> [...]
(B> So, -debug shows that the ${dest} property is being set. Presumably, the
(B> directory exists?
(B
(BYeah, it's there. I have write permissions, too.
(B
(BI just ran out of time, so I'm going to get
On Tue, 14 Dec 2004 08:14:15 +
(BJames Abley <[EMAIL PROTECTED]> wrote
(B
(B> For that last part, I think that you need to look at .
(B
(BWhere is that documented? (I see a dependset, but I think that's
(Bdifferent?)
(B
(BI've been working with the depends attribute in targets, but tha
Thank you Stefan, I will give it a try.
Regards Ivan
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Oct 2004, Ivan Ivanov
> <[EMAIL PROTECTED]> wrote:
>
> > Is there a Xemacs plugin that offers code
> completion
> > and quick code browsing, I would like to try it.
>
> JDEE[1] does
Yes, eclipse has a well developed CVS interface. You would need a login
(pref anonymous one) to the CVS on the internet, then use the CVS plugin to
attach to that. Then use the popup menu on the HEAD item to create a
project from that.
Its how I do all my local (on my PowerBook no less - I still
On Mon, 25 Oct 2004, Ivan Ivanov <[EMAIL PROTECTED]> wrote:
> Is there a Xemacs plugin that offers code completion
> and quick code browsing, I would like to try it.
JDEE[1] does together with the semantic package (but I don't use code
completion much myself, you may find limitations I've never h
>
> I pretty much doubt that adding the jars to Eclipse
> is the correct
> approach since you may run into situations where you
> need CVS HEAD of
> Ant (and not a released version) to compile CVS HEAD
> of Ant.
>
> I don't know whether any of the Ant committers are
> using Eclipse. I'm
> an XEm
On Sat, 23 Oct 2004, Rhino <[EMAIL PROTECTED]> wrote:
> I downloaded the source zip file for Ant 1.6.2, set up a project
> called Ant1.6.2 in Eclipse (where I am developing), and then tried
> importing all of the src subdirectory into the new project.
Well, Ant developers expect you to use Ant wh
- Original Message -
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Saturday, October 23, 2004 2:51 PM
Subject: Re: Need help re development
> At 08:47 AM 10/23/2004 -0400, you wrote:
> >I'm trying t
At 08:47 AM 10/23/2004 -0400, you wrote:
I'm trying to work through the "Writing Tasks" tutorial in the Ant Manual
but I'm getting stuck fairly early on. I've got the first version of
HelloWorld working fine but when I go to do the second one, the one which
imports org.apache.tools.ant.Task, the
;t be seen
outside of AntCall's taget.
(2) The fix:
...
-Original Message-
From: Dale Anson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 6:23 PM
To: Ant Users List
Subject: Re: Need help for ["AntCall
I added the AntCallBack and AntFetch tasks from antelope to ant-contrib.
AntCallBack works like AntCall, but let's you get back some properties,
and AntFetch does the same thing for the Ant task. You'd need to get
them out of ant-contrib's cvs, as they are not in the current release.
Ant-Contri
Are you giving us the whole story? From what I see
here, your s are not pointing to actual
targets. So for this example, there is not even
anything to do...
...
However, if, instead, you mean you want to a
target based on the value of a property, that's a
little different, but sti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Matt,
Am Freitag, 4. April 2003 23:23 schrieb Matt Reason:
> The exec task seems to hate the fact that one of my arguments is a pipe.
Seems so.
> Does anyone have a workaround?
I think it should work if you use sh as a command and pass your des
On Friday, April 4, 2003, at 04:23 PM, Matt Reason wrote:
The exec task seems to hate the fact that one of my arguments is a
pipe.
Does anyone have a workaround?
Shot in the dark, but try 'vmlauncher=false', this will force exec to
use a shell, not Runtime.exec() to run the commands.
Jesse S
85 matches
Mail list logo