Hi all,
I have the following resource collection with different library paths
...
and the following war task
Ant 1.7 war task is resource-enabled and it work gracefully.
META-INF
WEB-INF
3rdparty.jar
activation.jar
However, how can I specify the library path wi
I am having problems building my ant script to build my SPI jar file and
to create the MANIFEST.MF file. I have use the metainf directive to move
the SPI properties file to the META-INF/ directory. The problem that I
am getting into is the the SPI properties file should be located in the
META-I
Well, the @REPLACE@ could be handled by a inside a copy.
The tricky part is finding the value for ${replacing}.
You might be able to do something with the AntContrib
task. This can take a property and munge it.
Let's say you do something like this:
This will give you ${
After a friend pointed me to , I managed to figure out a
pure Ant solution:
This assumes the file contains @CLASSPATH@ as the string to replace.
- Paul
YUI Compressor does a pretty good job at minifying the JS.
I like the idea of building multiple files and doing batch operations.
I want to combine
a.js
b.js
c.js
to
abc-min.js
>From windows cmd:
C:\Users\ape\ant>.\bin\ant -buildfile=..\build.xml js.minify
Buildfile: ..\build.xml
js.minify:
B
Hi, more info below ... comments? Thanks!
Peter Reilly wrote:
Can you try to get a tar/zip file containing a project
where this occurs.
Simple to reproduce, just set useexternalfile=true and spread the
doctitle or bottom tags across multiple lines:
Th
Hi all,
I have the following resource collection with different library paths
...
and the following war task
Ant 1.7 war task is resource-enabled and it work gracefully.
META-INF
WEB-INF
3rdparty.jar
activation.jar
However, how can I specify the library p
As I understand things, it is only possible to resolve circular
references in the same compile. In other words, they would have to not
only be in the same target but they would also have to be in the same
javac task within that target.
YMMV, void where prohibited, cash value US$0.0002
mojoRis
Understood... But, as Dimitris pointed out you usually put your
build/classes dir in your classpath. Additionally, you probably want
to include the source directory in the sourcepath section of the
javac task...
To be honest I'm not sure you are structuring your build.xml correctly
or pe
I solved my problem for the time being by refactoring my classes to adhere to
a strict convention whereby the compile order is A,B,C and the observed
convention is:
target A requires no other classes - (just simple display objects)
target B references classes in A only - (EJBs)
target C can refer
Scot P. Floess wrote:
Can we see your build.xml?
Also, is this Java compilation?
mojoRising wrote:
Hi. I am new to using ANT and hope someone can help me with this, I
am sure
most basic, question which has confounded me.
I have 2 targets. Each target contains a file that has references to
a
Can we see your build.xml?
Also, is this Java compilation?
mojoRising wrote:
Hi. I am new to using ANT and hope someone can help me with this, I am sure
most basic, question which has confounded me.
I have 2 targets. Each target contains a file that has references to a class
in the other targe
Hi. I am new to using ANT and hope someone can help me with this, I am sure
most basic, question which has confounded me.
I have 2 targets. Each target contains a file that has references to a class
in the other target. I can't build successfully because the first target can
never compile since t
I solved this problem like this, on advice of another colleague.
* the output of the tasks
* Look for occurrences of the string "Replaced 0 occurrences" in the
recorded output
* If above said pattern occurs fail the build.
Of course this approach still does not cover usecase when you are
exp
Dimitris Mouchritsas wrote:
Hi all,
I'm trying to write an uptodate target for an xdoclet target to depend
upon, so xdoclet doesn't get called every time.
The objects I'm trying to check for have hibernate mapping files. The
problem is, not all of them have corresponding
mapping files. So for
Z W wrote:
Hi
I have
But for unknown reason, sshexec hangs when executing Ant 1.7
sun_files:
[sshexec] Connecting to sun01:22
Why ?
Anything I could do to overcome the hanging ?
can you telnet to that port by hand?
telnet sun01 22
can you ssh to that machine by hand?
--
Steve Lou
Hi all,
I'm trying to write an uptodate target for an xdoclet target to depend
upon, so xdoclet doesn't get called every time.
The objects I'm trying to check for have hibernate mapping files. The
problem is, not all of them have corresponding
mapping files. So for example the following target:
Hi
I have
But for unknown reason, sshexec hangs when executing Ant 1.7
sun_files:
[sshexec] Connecting to sun01:22
Why ?
Anything I could do to overcome the hanging ?
Thanks
18 matches
Mail list logo