Yep - you can do it...
It's all right there in the online docs :)
Here is one example:
So, just in defining your example:
Of course, this is just me whipping out an answer "right quick" (as the
say in NC) - your mileage may very :)
HTH,
Scot
Da
I have a project that looks like this:
/folder1/src
/folder2/src
/folder3/src
/folder4/src
/folder5/src
/build/src
/build/classes
Currently, I copy all of them to /build/src before compiling them all
into /build/classes I'm wondering if it's possible to do this without
the copy step.
I am automating a process of turning MS Excel 2000 Workbooks into XSLT files
for producing reports from a database in Excel format.
I am at the point where I'm moving upstream in automating the process. I want
to prep the output from an Excel "Save As HTML" operation as a step in
converting the
Sorry to hear that your issue is still unresolved. I suggest entering a
bug report in the bug database. Of course, you might want to search the
bug database first, to see if the issue is already documented in there.
-Rob Anderson
> -Original Message-
> From: Thomas Voigt [mailto:[EMAIL PR
Original-Nachricht
Datum: Fri, 25 May 2007 12:44:50 -0400
Von: "David Weintraub" <[EMAIL PROTECTED]>
An: "Ant Users List"
Betreff: Re: Parallel tasks and Windows
> Wonder if this has to do with the fact that Windows cannot spawn a new
> process. Windows can only spawn new threa
Scot,
I only have the single package containg 20 java source files, but these
source files needs compile time classpath to be set which is not getting
computed, I am not sure how can this be resolved ?
Using javac multiple source dirs but I am not sure how this can be achieved
for the classpath,
Ankush:
Good question there.. Quite honestly I have always javadoc'd my methods
and class headers... I hate to admit it...but not sure and sorta busy
today so I can't experiment / research :(
Chadha, Ankush wrote:
Scot,
Here are the details:
Sample Code:
===
public synchronized L
Is this all an issue with doing delta compiles? If so, just let javac
sort all that out...
Ravi Roy wrote:
Thanks Scot for quick answer,
I am trying to compute the classpath for sources to compile, and that folder
has many sub-folders containing .class and JAR files too, but I have tried
to u
Sorry, incomplete answer, I had not success using then I tried to
use , there is no specific reason.
Regards,
Ravi
-Original Message-
From: Ravi Roy [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 10:22 PM
To: 'Ant Users List'; '[EMAIL PROTECTED]'
Subject: RE: Resloving directory b
Thanks Scot for quick answer,
I am trying to compute the classpath for sources to compile, and that folder
has many sub-folders containing .class and JAR files too, but I have tried
to use the same you have mentioned below, but JAR is not resolved.
But if I use mailto:[EMAIL PROTECTED]
Sent: Fr
Scot,
Here are the details:
Sample Code:
===
public synchronized List getFoo (String name)
{
}
Javadoc:
===
java.util.List getFoo(java.lang.String name)
I am using JDK 1.5.0_06
Best
Ankush
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Friday,
Ankush:
What does your call to look like?
I know that I am not doing anything special to ensure the generics
output correctly... For instance:
"${jplate-build.JAVA_CLASSES_HOME}" destdir =
"${jplate-build.JAVA_DOC_GENERATED_HOME}" packagenames =
"${jplate-build.JAVA_DOC_PACKAGE_NAMES}"
Wonder if this has to do with the fact that Windows cannot spawn a new
process. Windows can only spawn new threads, and I wonder if there is
something either in your Java startup or your Ant startup script that
limits the number of threads to two.
On 5/25/07, Thomas Voigt <[EMAIL PROTECTED]> wrot
I assume you are attempting to compute a classpath based on the name of
the attribute???
Any reason you aren't using a fileset?
I think below you are wanting to include all directories? Don't you
want to include all jars? Like:
Ravi Roy wrote:
Hi All,
Is it pos
Hi All,
Is it possible to refer to all the jars in a directory structure of any
length ?
I use the following, but a jar located under
myproject\dir1\dir2\dir3\abc.jar is not resolved.
I can refer individual jar using , but is it possible
somehow to use the abo
Hi All
I am using javadoc (ant task) to generate javadoc of my source files.
I have set the source and the ant's magic property for java and javac to
1.5 but still the generics are not included in the final javadoc.
However if I generate the javadoc through my IDE, the generics are
included.
An
Irfan:
The online docs are pretty good... It really doesn't take long to read
- that's how I taught myself...
Scot
Sayed, Irfan (Irfan) wrote:
Hi All,
Does anybody has Power point presentation, PDF doc to learn Ant
scripting. It should contain all basics and then go for advanced
scriptin
Hi All,
Does anybody has Power point presentation, PDF doc to learn Ant
scripting. It should contain all basics and then go for advanced
scripting. I need to write a build script for one of the small component
in project.
Please help
Regards
Irfan.
O.K. I found what I was looking for, but it wasn't easy. If anyone else should
have this problem in the future, the description of the available properties is
at:
http://tidy.sourceforge.net/docs/quickref.html
The controlling property for this issue is not obvious from the name. It is:
"drop-f
I am working with the ant jtidy task for the first time. It produces output
that I didn't expect based on my experience using HTML Tidy embedded in my
programmer's editor (UltraEdit). Specifically, jtidy is adding its own
section and inserting class attributes from that section in elements
in
Alexey N. Solofnenko wrote:
There is to check for ports, but no "while". I would suggest
using and write it in a code.
There is , that blocks until a condition is met
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Thanks, I must have missed these tasks.
Have a nice day,
Lars
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Original Message-
From: Lars Monsees [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 1:50 PM
To: user@ant.apache.org
Subject: Replacing text in files
/*
How can I replace a line from this file with some other text? I thought about
"loadfile" or "patch", but don´t know exactly if
Have a look at the Replace task in ant.
I am using that task for a similar operation in my build.
http://ant.apache.org/manual/CoreTasks/replace.html
HTH
Sean
-Original Message-
From: Lars Monsees [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 7:50 AM
To: user@ant.apache.org
Sub
Hello,
I am compiling a Visual Basic project and want to set the version number inside
the project file (project.vbp). This looks like:
HelpContextID="0"
CompatibleMode="0"
MajorVer=3
MinorVer=8
RevisionVer=38
[...]
How can I replace a line from this file with some other text? I thought a
Hi,
I posed this question some time ago, but did not get any answers. I thought
after half a year (and unfortunately no new insights) I'd try again, because
this behaviour seriously prolongs our build time :-\
I stumbled upon a curious problem with the ant parallel handling in conjunction
with
If you have multiple projects and you want to build them the right order, you
can also use ivy (http://incubator.apache.org/ivy/). It's a dependency
managment tool having ant tasks to order a list of subproject according to
their respective dependencies
(http://incubator.apache.org/ivy/doc/use/bu
- Is the file really there? ${basedir}/../config/jibx-5min-binding.xml
- Are the file and the directory readable?
- Try -verbose option. Hopefully gives the output which
binding file (absolute) it tries to load. Maybe with more information.
Jan
>-Ursprüngliche Nachricht-
>Von: vivek p
28 matches
Mail list logo