he error your seeing). If this is the case you need
to move the annotation out of the comment block and into the code source.
Hope this helps.
Cheers, Steve.
>
> Michael
>
> On 3/3/07, Stephen McConnell <[EMAIL PROTECTED]> wrote:
>
> >
> > Michael:
> >
Michael:
A couple of questions:
What is the full name of the TransactionAttribute class?
Is the class available in the classpath supplied to the javadoc task?
/Steve.
> -Original Message-
> From: Michael Giroux [mailto:[EMAIL PROTECTED]
> Sent: Friday, 2 March 2007 3:52 AM
> To:
While your waiting ...
http://api.dpml.net/ant/
Cheers, Steve.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of David Blaikie
> Sent: Thursday, 1 February 2007 11:18 PM
> To: user@ant.apache.org
> Subject: can please fix API?
>
> Hi, the API do
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, 26 January 2007 7:44 PM
> To: user@ant.apache.org
> Subject: AW: Problem with classpath of taskdef
>
> What means "ant -d" ?
It short form for the following option:
ant -diagnostics
I
Your problem is related to your usage of antcall. If you changed the "init"
task to depend="init-debug,init-release" etc. you problem would dissapear.
Basically the antcall is establishing a new scope which is why you
properties are not visible.
/Steve.
_
From: George Storm [mailt
roject builds things get
very complicated very quickly. A better solution is to use tools dedicated
to multi-project build management.
Cheers, Steve.
----------
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
> -Original Message-
> From: David Jones [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 16 September 2006 6:56 AM
> To: Ant Users List
> Subject: Re: Ant does not read -D properties same way as Java
>
> Vladimir,
>
> As per the Ant manual:
>
> -D= use value for given property
>
> In
> -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
Derrick:
All of the Ant's content is available under SVN.
http://svn.apache.org/repos/asf/ant/core/trunk
/Steve.
> -Original Message-
> From: Derrick Simpson [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 2 September 2006 6:00 AM
> To: user@ant.apache.org
> Subject: CVS checkout with ANT
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> Sent: Friday, 1 September 2006 8:32 PM
> To: Ant Users List
> Subject: Re: Jar Locking
>
> Stephen McConnell wrote:
> >
> >
> >> -Original Message-
>
le - but it's not trivial.
Cheers, Steve.
>
> On 8/31/06, Stephen McConnell <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > -Original Message-
> > > From: Marc Farrow [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, 31 August 20
> -Original Message-
> From: Marc Farrow [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 31 August 2006 6:13 AM
> To: ant-user
> Subject: Jar Locking
>
> Everytime I run an ant task (either in NetBeans or from
> within Java Code), the executing jar gets locked and I cannot
> delete the j
> -Original Message-
> From: Marc Farrow [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 30 August 2006 11:10 PM
> To: Ant Users List
> Subject: Re: Change JAVA home for one Javac task and not the other
>
> Can't you just specify the source level when you call the
> javac task? The same
Mike:
The following link is a tutorial that deals with multi-project builds:
http://www.dpml.net/depot/tutorials/complex.html
Cheers, Steve.
> -Original Message-
> From: Nau, Michael [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 29 August 2006 4:44 AM
> To: user@ant.apache.org
> Subjec
e this by separating your build into two distinct
projects where B is build before project A and project A references the jar
file produced by B under an appropriate path statement. You then need to
define project X which does the sequencing of B then A.
Cheers, Steve.
-
> -Original Message-
> From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 9 August 2006 6:42 PM
> To: Ant Users List
> Subject: Code synchronisation problem
>
> Hey,
> I have some "hand-written" classes and some
> idl-generated source in two seperated direc
> -Original Message-
> From: wohlgemuth [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 9 August 2006 1:09 PM
> To: Stephen McConnell
> Cc: Ant Users List
> Subject: Re: weird problem with Class instanceOf
>
> I give it a try first tomorrow morning, but I'
> -Original Message-
> From: wohlgemuth [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 9 August 2006 11:20 AM
> To: user@ant.apache.org
> Subject: weird problem with Class instanceOf
>
> hi,
>
> at first I work since a long time with ant and wrote arround
> 50 ant tasks sofar, I though
> -Original Message-
> From: Hans Schwaebli [mailto:[EMAIL PROTECTED]
> Sent: Monday, 7 August 2006 11:25 PM
> To: user@ant.apache.org
> Subject: How to silence javac task?
>
> When I use the javac task, warnings are printed to the console:
> [javac] Note: Some input files use or ove
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> Sent: Friday, 16 June 2006 7:17 PM
> To: Ant Users List
> Subject: Re: Maven vs. Ant?
>
> Stephen McConnell (DPML) wrote:
> >
> >
> >> -Original Message-
>
- we are up to RC9, a RC10
will be coming in a few days and a 1.0 is not far away.
Cheers, Steve.
--
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> This results in AbstractFileSet.getDirectoryScanner(Project) [2]:
>...
>if (dir == null) {
>throw new BuildException("No directory specified for " +
> getDataTypeName() + ".");
>}
>if (!d
xactly one value, because it
> is the root for
Any reason we can't add a runtime test to check if the supplied value is not
a directory and if so that an appropriate exception?
/Steve.
--
Stephen McConnell
ma
> -Original Message-
> From: Narahari 'n' Savitha [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 7 May 2006 3:37 AM
> To: user@ant.apache.org
> Subject: manifest file wrapping with ant jar or manifest task
>
> Friends my MANIFEST.MF file created by hand is
> .
> .
> ..
> Class-P
> -Original Message-
> From: shree vinayakh [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 20 April 2006 2:43 PM
> To: user@ant.apache.org
> Subject: error while using project helper
>
> hi,
>
> im using a java standalone app to write another java source
> file and ant build file wh
> -Original Message-
> From: Brown, Carlton [mailto:[EMAIL PROTECTED]
> That's cheesy and I don't want to do it.
Write your own task.
public class KludgeTask()
{
public void execute()
{
// grap the files
// record permissions
// execu
> -Original Message-
> From: Joe Moore [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 4 April 2006 2:40 AM
> To: Ant Users List
> Subject: Re: Javac tasks (when calling from java)
>
> I've noticed that with Java 5, when you install it it
> installs the JDK in a separate folde than the SDK
> -Original Message-
> From: Oliver Schalch [mailto:[EMAIL PROTECTED]
> Sent: Monday, 3 April 2006 11:49 PM
> To: user@ant.apache.org
> Subject: Javac tasks (when calling from java)
>
> Hi List,
>
> Another Problem...
>
> Calling ant from Java (inside a bigger project)
>
> Unable t
> -Original Message-
> From: Jack Chan [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 2 April 2006 10:51 PM
> To: 'Ant Users List'
> Subject: RE: ANT_HOME is set incorrectly or ant could not be
> located. Please set ANT_HOME.
>
> Dear Stephen
>
> Thanks for your reply, I had change th nam
> I had create "ANT_Home" with value point to c:\ant,
> Now when I type "ant" from the console, it just keep saying
> "ANT_HOME is set incorrectly or ant could not be located.
> Please set ANT_HOME."
Try defining the environment variable "ANT_HOME", not "ANT_Home".
/Steve.
---
> -Original Message-
> From: Manas_Das [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 29 March 2006 7:08 PM
> To: Ant Users List
> Subject: RE: NO class files build\classes
>
> Hi,
> Actually while building the ant I am getting the message
> BUILD SUCCESSFUL Also I am getting the jar fi
> -Original Message-
> From: Manas_Das [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 29 March 2006 6:18 PM
> To: Ant Users List
> Subject: NO class files build\classes
>
>
> Dear all,
> I tried to use the ant but I am facing some probs. The
> problem is that I am not getting the class
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> This is not an ant problem. This is javac, which is probably
> just very memory hungry on account of the large number of
> pages to compile. Please dont blame us.
Is there a way he could reduce the number of fil
> -Original Message-
> From: TH Lim [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 12 March 2006 4:53 PM
> To: user@ant.apache.org
> Subject: Compile Sources Specific to Its Subproject But Not
> Sources They Depend On
>
> Hi,
>
> I have a directory structure that looks something like this
called
>
> getThird:
> [echo] getThird
>
> BUILD SUCCESSFUL
> Total time: 1 second
>
>
>
> After reading the documentation it seems that init should
> only be called once though. Why is it being called so many times?
The culprit is your s
> -Original Message-
> From: Taemin Cim [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 16 February 2006 1:22 PM
> To: user@ant.apache.org
> Subject: RE: AW: Broken Junit targets
>
> Hi All,
>
> Thanks so much for your help so far! But the saga continues...
> I tried Jans approach, as we
> Same error.
Have you invoked ant with the -v option?
This will give you sufficient information to establish where ant is loading
things from (and info about any references that are dropped because they
don't exist.
/Steve.
--
>
> How to write the equivalent of the "FTP_UPLOAD" Task by
> using ANT API
> ("org.apache.tools.ant.*")
Spend some time reading everthing here at
http://ant.apache.org/manual/index.html and in particular:
http://ant.apache.org/ant_in_anger.html.
> Mr McConell the site http://www.dpml.net/d
> 1)How to set the Target name for ="TgtName"
>
> ""
>
>in property Using ANT API ("org.apache.tools.ant.*")
http://api.dpml.net/ant/1.6.5/org/apache/tools/ant/Project.html#setProperty(
java.lang.String,%20java.lang.String)
> 2)How to execute the argumented target using ANT API's.
T
ons as part of the process of project
population.
/Steve.
--
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Taemin Cim [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 14 February 2006 1:46 PM
> To: user@ant.apache.org
> Subject: RE: Broken Junit targets
>
> Hi again,
>
> >The ant-junit.jar is dependent on the JUnit jar file.
> >You can add JUnit to ${ant.home}/lib, o
> -Original Message-
> From: Taemin Cim [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 14 February 2006 12:25 PM
> To: user@ant.apache.org
> Subject: Broken Junit targets
>
> Hi All!
>
> I've broken my junit task in Ant...I got an error in a side
> project where it couldnt import TestCas
> -Original Message-
> From: Thomas SMETS [mailto:[EMAIL PROTECTED]
> Sent: Friday, 10 February 2006 11:01 AM
> To: Ant Users
> Subject: Usage of JBlanket
>
>
> Dear,
>
> I would like to define a target to use JBlanket but the
> default install advises to copy the needed jars in t
> -Original Message-
> From: Brown, Carlton [mailto:[EMAIL PROTECTED]
> Sent: Friday, 10 February 2006 6:18 AM
> To: Ant Users List
> Subject: Question on error
>
> Trying to understand some things about this error here... I
> don't believe I should be getting it, yet I am.
>
>
>
> -Original Message-
> From: Harshal Chavda [mailto:[EMAIL PROTECTED]
> Sent: Monday, 6 February 2006 5:36 AM
> To: user@ant.apache.org
> Subject: classpath and simultaneous builds
>
>
> Hello ant fraternity,
> I am a beginner in ant(version -1.6.3) and
> have abs
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 2 February 2006 2:25 AM
> To: Ant Users List
> Subject: Re: Copy-Task
>
> Stephen McConnell wrote:
> >
> >
> >> -Original Message-
> >
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> -you can use the selector to do byte for byte
> comparisons of files. But that pulls all the remote data down
> and can clog a network
Would an MD5 comparison be sufficient?
/Steve.
> -Original Message-
> From: Rhino [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 31 January 2006 3:52 PM
> To: Ant Users List
> Subject: Re: Problems with exec task
>
> Excellent suggestion! I wasn't aware of the existence of the AntWiki.
>
> What's the best way to go then? Maybe add a t
> Any thoughts on how we could brainstorm this? It needn't take
> much time but I'd like to do something to keep other people
> from having big problems with exec if we possibly can.
Maybe http://wiki.apache.org/ant/ is a starting point.
Cheers, Steve.
> -Original Message-
> From: Clifton Craig [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 31 January 2006 1:02 AM
> To: Ant Users List
> Subject: Re: When is the next release?
>
> So what you all are saying is that without all of the 3rd
> party jars the best I can get out of the ant sour
> -Original Message-
> From: Kasparek, Bernadette [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 21 January 2006 12:01 AM
> To: 'user@ant.apache.org'
> Subject: How to exclude files with same pattern except one
>
> Hi everybody,
>
> I've the following problem:
> I've got a list of some h
> -Original Message-
> From: Rick Mann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 5 January 2006 8:53 PM
> To: Ant Users List
> Subject: Re: Loading resources from my task's JAR?
>
>
> On Jan 5, 2006, at 1:25 AM, Stephen McConnell wrote:
>
> >
> -Original Message-
> From: Rick Mann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 5 January 2006 8:26 PM
> To: Ant Users List
> Subject: Re: Loading resources from my task's JAR?
>
>
> On Jan 5, 2006, at 1:45 AM, Stephen McConnell wrote:
>
> &g
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 5 January 2006 7:34 PM
> To: Ant Users List
> Subject: Re: Loading resources from my task's JAR?
>
> Rick Mann wrote:
> > I wrote an Ant task that needs to load some files (it's a source
> > genera
> -Original Message-
> From: Rick Mann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 5 January 2006 8:03 PM
> To: Ant Users List
> Subject: Re: Loading resources from my task's JAR?
>
>
> On Jan 5, 2006, at 1:04 AM, Steve Loughran wrote:
>
> > this should work. make sure you have put t
t at this time - however there are projects around that deal
with these problems - e.g. the Ivy Project [1] or the DPML Depot Project [2]
amongst others.
[1] www.jayasoft.fr/org/modules/ivy/
[2] www.dpml.net/depot/
Cheers, Steve.
----------
Stephen McConnell
mailto:[EMAIL PROTEC
cepts/index.html
/Steve.
> Stephen McConnell wrote:
>
> >
> >
> >The approach your taking is kind of out of sync with the Ant object
> >model. A much easier approach is to construct your project, then
> >parameterize the project and finally trigger project execu
The approach your taking is kind of out of sync with the Ant object model. A
much easier approach is to construct your project, then parameterize the
project and finally trigger project execution. The parameterization of the
project could include:
a) assign a project basedir
b) assigning a
You could try something like the following:
Project createProject( File file )
{
Project project = new Project();
project.setSystemProperties();
project.setDefaultInputStream( System.in );
project.setCoreLoader( getClass().getClassLoader() );
proj
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> >>
> >>The ant commandline script under windows (NT/XP/etc.)
> >>returns either 0 or 1.
> >>A zero value indicates that the build was successful. A value of 1
> >>indicates an error. Under Windows you can use th
example:
CALL :execute-my-ant-build
IF ERRORLEVEL 1 GOTO :exit
:execute-my-ant-build
PUSHD my-dir\my-subdir
CALL ant %*
POPD
GOTO :EOF
:exit
IF ERRORLEVEL 1 ECHO WOOPS, SOMETHING FAILED
GOTO :EOF
Cheers, Steve.
--
Stephen McConnell
are examples and they are freely available but you'll need to do an
SVN checkout and build (no binary download at the moment) - and you'll need
to be running on windows because there are some simple but necessary nix
scripts outstanding.
http://www.dpml.net/about/resources/build.
le is 170 lines (including license
header) and the more frequent scenario is just 4 lines.
/Steve.
------
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Brown, Carlton [mailto:[EMAIL PROTECTED]
> I expected that Matt's situation would have worked for me,
> and I don't see why it didn't. Either I did it wrong, or
> somehow these techniques are different in some subtle way.
> Right now I'm happy with my
he common build requirements.
Adding new a new task is simply a case of adding the tasks plugin to a
repository and including a plugin namespace reference in you build file.
Cheers, Steve.
--
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
--
This is an anlib that adds support for transitive dependency management and
general build automation. It's been validated on sites running over 200
related projects.
http://www.dpml.net/magic/latest
/Steve.
> -Original Message-
> From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> Sent:
> -Original Message-
> From: Mark Wiehland [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 3 September 2005 9:31 PM
> To: user@ant.apache.org
> Subject: copy: "fileset dir" copies only file
>
> Hello all,
>
> I don't get what I do wrong. The manual says:
>
> Copy a directory to another d
on
> tutorial on the
> > apache web site. THis makes me a bit reluctant to change the script
> > since I assume that he has tested it and the fault must be
> in my setup
> > rather than the script.
> >
> > Ron
> >
> > Stephen McConnell wrote:
>
> What has to be done to make echo ignore the contents of what
> is being echoed.
/Steve.
http://www.dpml.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Daniel Kalcevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 23 February 2005 3:21 AM
> To: user@ant.apache.org
> Subject: Conditional Question for Build Script
>
> All,
>
> I have a situation where I need to perform a check as to
> whether or not a file
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 20 January 2005 10:05 PM
> To: user@ant.apache.org
> Subject: including libs in my project
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/xml/rpc/ServiceException
<
>
t/index.html
[4] Magic Overview
http://www.dpml.net/central/products/magic/index.html
>
> Chris Erskine
>
> EDS Consulting Services
> F5-EDS-001
> 2424 Garden of the Gods Rd
> Colorado Springs, CO 80919
>
> Phone: 719-265-5962
>
>
> > -Original
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 04 January 2005 23:26
> To: Ant Users List
> Subject: Re: Ant should have an ext directory
>
> "Robert r. Sanders" <[EMAIL PROTECTED]> writes:
>
> > Yeah, but I don't think this is what the question was a
> -Original Message-
> From: Radha Sangal [mailto:[EMAIL PROTECTED]
> Sent: 14 December 2004 18:20
> To: Ant Users List
> Subject: maven
>
> Hi,
>
>
>
> Has anybody used Maven to build large project infrastructure.
I was using Maven for an infrastructure involving about 120 projects.
74 matches
Mail list logo