What exactly are you trying to achieve here? In your example, you
reference the name of the property you set the environment to
${myprop.${env}.abc}
Why do you have the ".abc" there? I would think your goal would be
to define each "env" value as a property,eg.. abc=123, def=456, then
Probably along the same lines as this bug...
properties get double expanded in
http://issues.apache.org/bugzilla/show_bug.cgi?id=41400
Jake
At 06:48 PM 4/3/2007, you wrote:
>Hi Ant Users,
>
>It looks like '$$' escape syntax does not work with macrodefs.
>
>I wrote the following test:
>
>
>
Why? Don't you control how you name your test cases? When the
system fails, rename the test to fit the system.
Jake
At 01:52 AM 3/12/2007, you wrote:
>Thank you Jacob, that is what we do today but this solution (?) is not
>reliable.
>
>Zsolt
>
>> -Original M
Use consistent naming. If you have a class named "MyClass", then
name its testcase MyClassTest. Now included all classes with the
pattern *Test.
Jake
At 08:08 AM 3/11/2007, you wrote:
>Hi,
>
>I have this list of all classes. How can I filter them to get only a list of
>classes that extend
to
>the JDK than before.
>
>I should have a look at your bug report on my computer in the office
>which has XP. I just need to download JDK 1.3.
>
>Regards,
>
>Antoine
>
>On Feb 10, 2007, at 12:45 PM, Jacob Kjome wrote:
>
>> At 02:00 PM 2/9/2007, you wrote:
>> Basically, java.net.URL.getFile() had a bug that would return an
>> incorrect String if the file is not on the same windows drive letter as
>> the working directory.
>>
>> Ben
>>
>> -Original Message-
>> From: Jacob Kjome [mailto:[EMAIL PROTECTED
va.net.URL.getFile() had a bug that would return an
> incorrect String if the file is not on the same windows drive letter as
> the working directory.
>
> Ben
>
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 09, 2007
uild.something' is
> > > >[-check.junit.exists, -check.junit, build.something]
> > > >Complete build sequence is [-check.junit.exists, -check.junit,
> > > >build.something, ]
> > > >
> > > >-check.junit.exists:
> > > >[antli
set.
> >
> >build.something:
> >
> >BUILD SUCCESSFUL
> >Total time: 0 seconds
> >~/learning/a/junit> rm ~/.ant/lib/junit-3.8.2.jar
> >~/learning/a/junit> ant
> >Buildfile: build.xml
> >
> >-check.junit.exists:
> >
> >-check
sts:
>
>-check.junit:
> [echo] JUnit is not currently available to the build environment.
> [echo] Because of this, all targets that require JUnit will
>be skipped. To
> [echo] enable these targets, place a copy of JUnit (get
>latest version at
> [echo
Maybe this is a known issue, but it appears that Junit.jar must be in
${ant.home}/lib in order to be discovered, at least by the
task using Ant-1.7.0. In Ant-1.6.5, Junit is found just
fine in ${user.home}/.ant/lib, but not in Ant-1.7.0. For instance...
unless="junit.exists"
Yep, use Ant-1.7.0
Jake
At 06:28 PM 2/1/2007, you wrote:
>When I run my ant scripts I get these highly annoying and screen
>real-estate consuming messages like:
>
>Trying to override old definition of task shellscript
>...
>Trying to override old definition of datatype isgreaterthan
>...
>
>I a
Quoting "Murray, Mike" <[EMAIL PROTECTED]>:
> These will get you one level of nesting...
>
>
>
>
>
>
>
>
>
>
Or use a property file, with the minor addition of an extra "$" prefix. So,
using your example above...
$${${x}}
Jake
>
>
At 04:54 AM 1/24/2007, you wrote:
>Jacob Kjome wrote:
>>
>> I see your point. Even if the functionality was something you would
>> support, I'm not sure there's anyone willing to put in the time to
>> figure it out. But you never know. Like I said befo
I think Ant-1.7 supports copying paths. Otherwise, you can use Ant-Contrib's
Jake
Quoting Eric Wood <[EMAIL PROTECTED]>:
> Folks:
>
> I use
>
> ...
>
> which is composed of various filelists and filesets referencing jars
> used to build my application. I use this refid (projectSpecificLibs)
sting, the functionality could be disabled by default and
only enabled explicitly, just like some of the other options of XMLProperty.
Anyway, it was a good discussion and helped fetter out bugs in
AntUnit. BTW, any progress on that?
Jake
At 05:42 AM 1/23/2007, you wrote:
>Jacob Kjome wrote
At 05:22 PM 1/22/2007, you wrote:
>> -Original Message-
>> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>> Sent: Monday, January 22, 2007 3:13 PM
>> To: Ant Users List
>> Subject: Re: intra-element attribute property
>> resolution issue
>>
>&
I think Brian is correct. XML attributes have no defined order other than the
obvious alphabetical order, which might be an implementation detail. Even so,
I wonder if logic could be written to maximize resolution. If a property is
found to not be resolved, it could be deferred until other attr
At 09:49 PM 1/20/2007, you wrote:
>Jacob Kjome:
>> I added my own twist on it and made dependency
>> following configurable (follows dependencies by
>> default if not specified) along with optional
>> "if" and "unless" attributes. Actually, all the
You can do it via scripting. See this thread...
http://marc.theaimsgroup.com/?t=10758568804&r=1&w=2
...and specifically, this message...
http://marc.theaimsgroup.com/?l=ant-user&m=107589782422983&w=2
I added my own twist on it and made dependency
following configurable (follows dependenc
At 06:19 AM 1/18/2007, you wrote:
>Jacob Kjome wrote:
>>
>. Did I find yet another bug in Ant-related software or
>> am I missing something???
>
>http://issues.apache.org/bugzilla/show_bug.cgi?id=41398
>and
>http://issues.apache.org/bugzilla/show_bug.cgi?id=4140
{app.n}"/>
</root-tag>
Jake
At 09:48 AM 1/17/2007, you wrote:
>Quoting Steve Loughran <[EMAIL PROTECTED]>:
>
>> Jacob Kjome wrote:
>> > Quoting
Quoting Steve Loughran <[EMAIL PROTECTED]>:
> Jacob Kjome wrote:
> > Quoting Steve Loughran <[EMAIL PROTECTED]>:
>
> >
> > No, I get the same behavior in Ant-1.6.5. I think this is a longstanding
> issue.
>
> uh oh. those are bad. Theres more of a
Quoting Steve Loughran <[EMAIL PROTECTED]>:
> Jacob Kjome wrote:
> >
> > seems to have a problem with resolution of attributes within
> the
> > current element. It appears to resolve the attributes in alphabetical
> order.
> > If an attribute refers to the
seems to have a problem with resolution of attributes within the
current element. It appears to resolve the attributes in alphabetical order.
If an attribute refers to the value of another attribute in the same element,
the one doing the referring must come later in the alphabet, otherwise the
At 11:05 PM 1/11/2007, you wrote:
>On Fri, 12 Jan 2007, Bruce Bushby <[EMAIL PROTECTED]> wrote:
>
>> The build fails saying "We cannot build the test jar unless JUnit is
>> present" I've gone through the docs, specifically the "Installing
>> Ant/Building Ant" but can't find an explanation for wher
Quoting Steve Loughran <[EMAIL PROTECTED]>:
> carmel cohen wrote:
> > Hi,
> >
> > I am trying to write an ant task that uses xml-apis.jar.
> > My problem is that i want to be able to define what version of
> > xml-apis.jaris used.
> > The jar is located both under %ANT_HOME%/lib (and the eclipse's
At 04:14 AM 12/21/2006, you wrote:
>Jacob Kjome wrote:
>> Quoting Steve Loughran <[EMAIL PROTECTED]>:
>
>We've just upgraded in SVN_HEAD, BTW.
Excellent! Thanks :-)
>
>
>>
>>> Incidentally, does xerces now depend on this serializer.jar? That is
According to the Xerces features doc [1], set validation [2] and
nonvalidating.load-external-dtd [3] features to "false" to turn off
DTD/Schema validation/loading. I haven't tried this myself. so YMMV.
[1] http://xerces.apache.org/xerces2-j/features.html
[2] http://xerces.apache.org/xerces2-
Quoting Steve Loughran <[EMAIL PROTECTED]>:
> Jacob Kjome wrote:
> >
> > Since this missed the 1.7.0 release, here's a friendly reminder to put
> > it on the agenda for the 1.7.1 release. I'm a little curious why this
> > didn't make it? It f
Since this missed the 1.7.0 release, here's a friendly reminder to
put it on the agenda for the 1.7.1 release. I'm a little curious why
this didn't make it? It fixed a lot of bugs and finally included a
proper official release of xml-commons-external (xml-apis-1.3.04.jar)
and included much
Quoting "Jack J. Woehr" <[EMAIL PROTECTED]>:
>
> On Dec 6, 2006, at 5:33 PM, Peter Reilly wrote:
>
> > You can use bsf 2.4.0 and rhino 1.5r4 but
>
> I definitely have Rhino 1.6.5. I *theenk* I have the 2.4.0 of
> BSF but I'll download again to be sure ... that is, I shall when
> the BSF download p
Try . 's about Java source only.
Jake
At 10:16 PM 12/6/2006, you wrote:
>
>Hi all,
>
>I am trying to use javac to compile java. I am using resource bundle
>files (.properties), which are present in the src directory.
>How do I make the javac activity copy these files to the classes
>directory w
Here's the official Xerces statement on JDK1.2 compatibility...
They're supposed to be compatible with JDK 1.2 however no one has tested
that so I can't say whether they actually are. The same is true for all of
the previous releases starting from Xerces 2.6.0. These were only built
and tested w
Quoting Steve Loughran <[EMAIL PROTECTED]>:
> Jacob Kjome wrote:
>
> > Just wanted to note that I posted a message to the Xerces list. Here's a
> > pointer to that email thread...
> >
> > http://marc.theaimsgroup.com/?l=xerces-j-dev&m=1164998895205
Quoting Jacob Kjome <[EMAIL PROTECTED]>:
> Quoting Steve Loughran <[EMAIL PROTECTED]>:
>
> > Jacob Kjome wrote:
> > >
> > > I saw that one of the release notes for Ant-1.7.0RC1 was...
> > >
> > > "Upgraded XML API and parser to Xe
Quoting Steve Loughran <[EMAIL PROTECTED]>:
> Jacob Kjome wrote:
> >
> > I saw that one of the release notes for Ant-1.7.0RC1 was...
> >
> > "Upgraded XML API and parser to Xerces 2.8.1"
> >
> > You may be interested to know that Xerces has n
I saw that one of the release notes for Ant-1.7.0RC1 was...
"Upgraded XML API and parser to Xerces 2.8.1"
You may be interested to know that Xerces has now released version
2.9.0 [1] and, along with it, a proper official release of
xml-commons-external-1.3.04 (otherwise known as xml-apis-1.3.
The solution to this is usually to use a . The only problem is
that one usually uses that with the task. I'm not sure how you would
use it directly with the task.
You could copy all the files to one directory and then use a fileset of the
files in the new directory. This is actually what I d
r my desired
functionality is even possible. Can you provide any insight
there? Any implementation details?
Thanks!
[1] http://marc.theaimsgroup.com/?l=ant-user&m=116292805430859&w=2
Jake
>br,
>Matt
>
>--- Jacob Kjome <[EMAIL PROTECTED]> wrote:
>
>> Quoting John Norvell <
nerror is "ignore" or "report", see my previous post from a few days ago that
never got answered...
http://marc.theaimsgroup.com/?l=ant-user&m=116292805430859&w=2
Jake
> -J
>
> Jacob Kjome wrote:
> >
> > In a macrodef, if I check a condition and that condition is tru
In a macrodef, if I check a condition and that condition is true, I'd like to
return early from the macrodef and not run any of the rest of its contents. Is
it possible using a to write a script that can force an early return
from the part of the macrodef if the condition is met? This is
kind
Or, if you want to deal with XML in a more robust way, look into XMLTask...
http://www.oopsconsultancy.com/software/xmltask/
Jake
Quoting James Abley <[EMAIL PROTECTED]>:
> ${some.property}
>
> http://ant.apache.org/manual/CoreTasks/echo.html
>
> me_zeta wrote:
> >
> > The val
I'm using Ant-1.6.5 and using a typedef to load up the Ant-Contrib tasks like
so...
I run this in the case that one hasn't put ant-contrib.jar in
${user.home}/.ant/lib. If the path reference "ant-contrib" is provided, it
will be typedef'd using a locally provided jar. The problem is when the
Can you add your libraries to ${user.home}/.ant/lib? That's
equivalent to adding jars to ${ant.home}/lib. There is another
option. You can avoid all the classloading issues and simply use a
native SCP executable. Do something like this...
rted isn't resolved unless it is passed in from another
> build. Just use subant to pass the desired property to all the build files it
> is executing on.
>
> Mat
>
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 24, 2006
At 06:31 AM 10/24/2006, you wrote:
>Scot P. Floess wrote:
>> You can define a
>>
>> ...
>>
>>
>> Your path can contain file sets, etc...
>>
>> Then you can simply refer to id...
>>
>>
>>
>>
>> teknokrat wrote:
>>> I would like to define a group of jar files and then reference this
>>> group in
>>
>>why don't you just import a common build file and define the
>>common target there. Only when the target is not defined in
>>the build file, the common target gets executed.
>>
>>R,
>>
>>Markus M. May
>> Original-Nachricht
&g
Along the lines of
http://marc.theaimsgroup.com/?l=ant-user&m=107429941032345&w=2
Is it possible to create targets dynamically, deferring creation
until such time as it is found that the project doesn't have the
target already defined? My use-case is using to iterate
over sub-builds cal
Do these files at least have a common base directory, such as the
structure of a Maven repository? If so, then just you can put all
these files into a and then use Ant Contrib's
pathrefid="war.path"/>
Jake
At 04:53 AM 10/23/2006, you wrote:
>I would like to define a group of jar fi
Quoting Peter Reilly <[EMAIL PROTECTED]>:
> On 10/17/06, Jacob Kjome <[EMAIL PROTECTED]> wrote:
> >
> > Very interesting stuff. I will definitely use your tasks for my own
> > build files. It would be very nice if your tasks were added to
> > Ant-1.7
006, you wrote:
>maybe [1] can help you with diagnostics.
>
>rainer
>
>[1] http://enitsys.sourceforge.net/ant-classloadertask/
>
>
>
>> -----Original Message-
>> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>> Sent: Monday, October 16, 2006 10:24 PM
>>
Quoting Peter Reilly <[EMAIL PROTECTED]>:
> On 10/16/06, Jacob Kjome <[EMAIL PROTECTED]> wrote:
> >
> > I'm not sure this is 100% an Ant question, but it is within the context of
> Ant.
> >
> > In my Ant task, I'm loading up a class using Class.
I'm not sure this is 100% an Ant question, but it is within the context of Ant.
In my Ant task, I'm loading up a class using Class.forName() and pass
in a classloader that I would have expected to be assigned as the
classloader for the class. That doesn't seem to be the case. Here's
what I'
ame out, there didn't
exist the possibility to chain mappers. I forget now who pointed chained
mappers out (sorry, using my webmail), but thanks for that. You give a little,
you get a little :-) Always something new to learn!
Jake
>
>
> -Original Message-
> From: Jacob
I did the copy (and I
delted everything first to make sure that libs I removed from the fileset don't
get left there for deployment). Here's exactly what I did...
Jake
Quoting Jacob Kjome <[EMAIL PROTECTED]>:
>
> I'm not going to guarant
I'm not going to guarantee that this works. I worked on this a while back and
commented it out because I went another route, but wanted to keep this around
for reference. The Regexp might be able to be written better as well. Try it
and see if it works for you. Let me know if it does.
Use a native SCP client and do something like this
I have a global .build.properties that I import in all build files that is
stored in my user.home directory which has "scp=pscp". The "pscp" program is
an SCP client is from the Putty project (yes, I'm using Windows). In any ca
Where do you have JUnit.jar? If it isn't in ANT_HOME/lib or
user.home/.ant/lib, then that's your problem right there. Otherwise, make
sure the nested element contains references to the root
directory of both your application and test classes. If none of this
works, post one of your ClassNot
At 09:59 PM 2/6/2005 +, you wrote:
>Thank you for your reply. I tried the suggestion.
>
>Jacob Kjome wrote:
>
>>
>> This doesn't really seem like an Ant question at all.
>
>I thought, at face value at least, it seemed like the kind of thing Ant
>could d
This doesn't really seem like an Ant question at all. I think you can
achieve what you want by displaying the last modified date via
javascript. Let the browser figure out the date.
var lastmod = document.lastModified;// get string of last modified date
var lastmoddate = Date.parse(lastmod
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
At 06:01 PM 1/31/2005 -0800, you wrote:
>I get an error when I have the following line in my
>build.xml:
>
>
>
>The error is a popup dialog with the message:
>
>C:\WINDOWS\system32\ntvdm.exe
>Error while setting up environment for the
>application. Choose 'Close' to terminate the
>application.
Are
It's possible that the Ant-contrib CompileWithWalls task might work. I've
never tried it because it is both complicated (at least from its
description, I've never actually tried it) and it seems to me to cover up
larger problems with source layout and package/class separation. Again,
I'm not
At 10:20 AM 12/30/2004 +0100, you wrote:
>I also tried to combine our build scripts with XSLT as
>explained in
>http://www-128.ibm.com/developerworks/xml/library/x-antxsl/index.html
>but the example stylesheet doesn't work with our scripts (Ant 1.6.2, IE 6)
>error :
>
>Entity 'nbsp'not defined. Er
At 08:26 AM 12/29/2004 -0500, you wrote:
>Hi Antoine and Ivan,
>
>Just tried the following:
>
> destdir="classes" >
>
>
>
Since when do you pass an argument to a VM with the value in
quotes? Remove the "'s and see if that fixes the issue.
Jake
>and this:
When your task performs XSLT, does it programmatically use Ant's XSLT task
to perform the transformation or is it completely separate from any Ant
specifics? If the former, then you are out of luck because your task would
have to be at the same level as, or a parent of, Ant's main
classloader.
At 04:30 PM 12/16/2004 -0500, you wrote:
>Does Ant come with any user interface from where we can pass parameters
>and see results on web explorer?
Use an XSLT. Add something the following to your build file
After that, just create (or find it on the net) the stylesheet and open the
build.xm
Ant-contrib has a task. Check it out. BTW, your libraries have
to have a common root directory for this to work.
Jake
Quoting Thomas Hackel <[EMAIL PROTECTED]>:
> Hi !
>
> Is is possible to convert a classpath(=) to a fileset,
> so that i can copy all the files (=libs) defined the path to a
Quoting [EMAIL PROTECTED]:
> sure, but there are problems if you call it multiple times.
> - properties are immutable and is logged
> - overriding paths results in a log message
>
Hi Jan,
I recall conversations about turning off logging for overridden paths, since it
is a pretty useful design pa
Quoting Matt Benson <[EMAIL PROTECTED]>:
> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
>
This is not mentioned in the FAQ, but this can also be done in a properties file
as follows...
my.auto-deploy=$${${my.server}.auto-deploy}
Maybe one of the committers can add it to th
Quoting Robert Soesemann <[EMAIL PROTECTED]>:
> Thanks,
>
> Could anybody give me an example how to use this user_home/.ant/lib
> solution.
> Would I really need to remove the xslt task front ant/lib or could I
> just include the external saxon jar to the classpath?
>
Just create the directory, d
Quoting Robert Soesemann <[EMAIL PROTECTED]>:
> I have my Ant pipeline running inside Eclipse. For some xslt tasks I
> need to use the optional Saxon 8 XSLT 2.0 processor.
> I add the path inside the xslt tasks via classpath and processor
> parameter:
>
> E.g.:
>
>destdir="
At 11:32 AM 12/5/2004 -0800, you wrote:
>On Sat, 04 Dec 2004 23:50:02 -0600, Jacob Kjome <[EMAIL PROTECTED]> wrote:
>>
>> I disagree with your statement that is almost no better than
>> entity includes if you can't get the exact functionality you are looking
>
http://marc.theaimsgroup.com/?t=10758568804&r=1&w=2
This one shows a quick and simple example of what you want...
http://marc.theaimsgroup.com/?l=ant-user&m=107589782422983&w=2
However, you should read the whole thread. Lots of good stuff there.
Jake
At 08:05 PM 12/4/2004 -0800, you wrote:
>
>
You should have expected this because you are using . It creates
a new Ant project which is discarded after the call returns. I think what
you meant to do is...
That should work as expected.
Jake
At 11:39 AM 12/4/2004 -0800, you wrote:
>This is weird. I'm using Ant 1.6.2, and trying to
See the Ant task manual for info on what attributes you need
to set to do this. is actually the way to go here. It if doesn't
work with (properly configured), it almost certainly won't work with
.
Jake
>
>Thanks,
>--Bill
>
>
>On Mon, 29 Nov 2004 23:36:35 -0600, Jacob
Does it work if you use and (re)initialize the taskdef within the
?
Jake
At 09:14 AM 11/29/2004 -0800, you wrote:
>All,
>
>I discovered recently that it's pretty much impossible to run the JSPC
>task more than once. Others have had this issue before (I researched
>the list a bit) and it seems li
Try...
Jake
Quoting [EMAIL PROTECTED]:
>
> Hi,
> I want copy all files and directories in my folder, but i dont want copy
> the following directory: WEB-INF.
> I try this, but copy all diretory in ${eprev.dir}.
>
>
>
>
>
>
Are you just trying to do this?...
In that case above, the ${targetdir} and all its contents will be removed if the
items in the "excludes" attribute don't exist. If they do exist, then the
${targetdir} will stay along with those excludes.
Jake
Quoting Vadim Kazakov <[EMAIL PROTECTED]>:
The JUnit task is located in ANT_HOME/lib. If you want to use the JUnit task
without putting junit.jar in ANT_HOME/lib or $user.home/.ant/lib, then you'll
have to remove the junit task from ANT_HOME/lib and added manually to your
classpath just as you are manually adding junit.jar to your classpa
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
hanks!
BTW, Peter, your last comment in said bug is:
"Fixed in HEAD. (Need to sync to 1.6 branch?)"
Does that mean it isn't fixed in the 1.6 branch? I'm hoping this will be fixed
for the next release.
Jake
>
> Jacob Kjome wrote:
>
> >I noticed an issue with , ,
I noticed an issue with , , and where a property
specified in an imported file will not exist in an overridden target of the
importing file depending on the position of said target in the imported file
relative to the position of said property in the imported file. Maybe an
example would be more
Quoting Dominique Devienne <[EMAIL PROTECTED]>:
> Sorry for missing the point again ;-)
No problem. I appreciate that you took the time to answer :-)
>
> XML or .properties syntax for properties *is* irrelevant.
> But defining Ant paths in XML properties files is not.
Debateable
> This
> was a
Quoting Dominique Devienne <[EMAIL PROTECTED]>:
> > From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> >
> > I'm not 100% sure this is a bug, or just a known limitation of
> > , but I'll give it a go and see what others think (I'm
> using
> > Ant-
I'm not 100% sure this is a bug, or just a known limitation of
, but I'll give it a go and see what others think (I'm using
Ant-1.6.2, btw)...
When I use to define a path and include a reference to a path
that I override later, if that overridden path includes a pathelement using
a property t
Or use a rather than . There are very few reasons to still
be using anymore now that exists.
Jake
Quoting "Conelly, Luis (GE Energy, Non GE, GENE)" <[EMAIL PROTECTED]>:
> there's an Ant-Contrib feature... I think it's [1] which has
> something related...
> [1] http://ant-contrib.sourceforge
Or use something like XMLTask...
http://www.oopsconsultancy.com/software/xmltask/index.html
Jake
Quoting [EMAIL PROTECTED]:
> This is what I have been doing to arrange my data in XML files. Its a bit
> crooked way of organizing data but
> it is read very easily and readily available in properti
I've been specifying paths in an file which is loaded by the
common build file and used by other build files by importing the common build
file. All build files use the same build structure so the paths are always
applicable to all builds. I also tend to define a path that is empty, but
referenc
adoc.
> The javadoc task would get run, then the target "javadoc" would be looked
> for, and not being found, ant emits the error statement.
>
> Peter
> Jacob Kjome wrote:
>
> >I was whipping up a temporary build file to run javadoc against some source
> that
>
I was whipping up a temporary build file to run javadoc against some source that
I had no API documentation for. When I wrote it up, I didn't realize that I
added the stuff, but didn't actually wrap it in a target. I ran it
and it actually worked, but then Ant reported
[javadoc] 132 warn
I have tried using the task for verifying apache file
distributions. It seems to work well in most cases, but fails consistently
in others. I spoke with Henk Penning to report the non-validating
distributions. However, when he tried verifying my findings, they all
succeeded for him. Howeve
Quoting sebastian ssmoller <[EMAIL PROTECTED]>:
> hi,
> this would be great !
>
> recently, i had exactly that problem (setting a "temp" property in a
> ) ... i had to use as work-around :(
>
Well, is just totally unnecessary. Just use the value of the macrodef
attributes as a property. Obv
xmlproperty seems to be pretty much what I need with its support of paths
such as and . However, said paths seem to support nested
's, but not nested 's. Am I right about this or is
there some slightly different syntax to use such as, for instance, rather than the normal .
Here's an example
Quoting Dominique Devienne <[EMAIL PROTECTED]>:
> > From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> >
> > I have noticed that the and tasks update the file
> timestamp
> > even
> > if overwrite="false", making it somewhat hard to determine whether it
> i
At 10:49 PM 7/30/2004 +, you wrote:
Quoting Dominique Devienne <[EMAIL PROTECTED]>:
> > From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> >
> > I have noticed that the and tasks update the file
> timestamp
> > even
> > if overwrite="false", mak
At 10:49 PM 7/5/2004 -0400, you wrote:
it works if I use (my own custom Condition) instead
of the isset but it doesn't like the built-in conditions.
Is there a namespace for the default tasks? current: or ant: or something?
You need to check out the new beta of Ant-1.6.2. In 1.6.0 and 1.6.1, if
At 04:18 PM 1/11/2004 +, you wrote:
> You are going to have to quote all paths that contain spaces such as...
>
> ANT_HOME = "C:\Program Files\Apache Group\apache-ant-1.6.0"
> JAVA_HOME = "C:\Program Files\Java\jdk1.3.1_09"
That's puts me straight back to square one. Removing the quotes from a
This is offtopic from the macrodef change, but the xml-apis.jar seems to
have mysteriously reverted to a much older one. Even recently it had been
the one from Xerces-2.6.0. xercesImpl.jar *is* from 2.6.0, but
xml-apis.jar is from back in 2002. It should be 122k and is only 106k
right now.
1 - 100 of 117 matches
Mail list logo