|
|
|
Well I was so desperate to get it working that I went back to the install docs that I haven 't read since I installed ant the first ever time. And right there it told me that I need to have a REALLY sI don?t know whether Ant support namespaces - I haven?t ever seen one.
But why you want to use namespaces?
Jan Mat?rne
-----Urspr?ngliche Nachricht-----
Von Sascha Gro? [mailto sascha.gross@(protected)Hi!
Does ant support namespace and if yes what is the namespace uri?
I will write the following is this possible?
<ant project xmlns ant "http //ant.apache.org/.... " ... >
<ant task ... >
XmlTask 1.4 has just been released. This version has the following changes
a) cut / copy / paste facility of nodes within or between documents
b) output indentation control
c) various bug fixes
d) lI am clearly misunderstanding the documentation. I am trying to move to ant from a configuration where I was using a .bat file to compile my program. My classes are all in the Census package so I haWhile I wait for a solution to the problem in ant.bat I have replaced the 'if exist ' statement with an unconditional goto.
Now I get
D \MyPrograms\JavaProgs\CensusServlet\ReadXls >ant
Exception in tI have downloaded and unzipped the ant 1.5.1 package. I have set ANT_HOME and JAVA_HOME as described in the installation instructions. However no matter what I set ANT_HOME to when I type ant I get I am successfully and happily running ant on Windows 2K Linux and Mac OS X but now that my wife is surrendering my Windows ME laptop back to me for portable tinkering I am having great frustrationsI would like to set a property on the existence of a particular type of
file.
e.g.
<condition property "compile.required " >
<or >
<available file "${src.root}/${site.name}/${patch.namHi all
I am using the Javac class in my code to compile a list of generated .java
files during program execution.
It works as long as I don 't set the includes (which results in all .java
files in Thanks for all of you who gave me ideas. The problem lies with the fact that
other jars in the path HAD JAVAX entries (swing http etc) EXCEPT servlet.
Apparently once it find one entry with JAVAX itThe only way I know is with AntContrib?s foreach
<foreach target "copy " param "targetbasedir " >
<fileset dir "targetbasedir " >
<include refid "subdirlist "/ >
</fileset >
</foreach >
<target name "coIs there a way of copying a fileset to many destination directories?
Something along the lines
<copy fromdir "mybasedir " >
<fileset dir "targetbasedir " >
<include refid "subdirlist "/ >
</fileset >
Greetings
I 'm trying to compile my jsp files but I 'm blocked in jspc task! When I
run my target (jsp-compile) I got the exception below my ant task
<jspc
verbose "9 "
package "PT.ptinovacao.ngincIf you can start a program (with <java > or <exec >) that will export these
information to a property file you can import this file.
Jan Mat?rne
-----Urspr?ngliche Nachricht-----
Von Will Hartung [1) Is there a way to get paths in Ant with forward slashes even on
Windows platform? For example
<property name "app_home " location ". "/ >
should somehow give c /... instead of c \...
2) How can Hey all
I recently add the <junit > task to our ant build file. After wrestling
with the classpath a bit i stumbled across the following.
http //ant.apache.org/faq.html#delegating-classloader
It iHi
My company 's product is made out of several processes
such as Apache Tomcat Java and more 3rd party tools.
Currently I use .sh and .bat scripts to run the processes
on different platforms.
Any way to call ant on another file? Both call.
The docs dont tell if its call by reference or call by value
1. how can ant script1 call ant script2 and the properites set/reset in
script2 are avaI need to copy a file within my custom task from one dir to another.
I haven 't found a good way to copy a file from a custom ant task other
than calling into the runtime environment. I want to avoid Is there a way to access ant properties within a custom task?
For example
<property name "test.property " value "testing... "/ >
<target name "test-mytask " >
<taskdef resource "mytask.properties " c
Hi
As a part of our build process we are exec 'ing a call to make ... which
in turn calls make which in turn calls make ... etc etc etc.
If the initial call to make from the build.xml failsAnybody know who is working on the spawn task and how I could contribute?
ie I 've needed this for MONTHS and if nobody is going to get this done I
might as well kick in and do it for myself. If thSimple question
I am running my build files with the -logfile option to send stdout to a
file. I am also using <input/ > tasks at times resulting in the prompt for
the <input/ > tasks not being sentHi all
We 're working on our system and have come to the need of being able to set a
property to a value that is determined programatically. In our case it 's a
version number which is obtained thro
Hi. I have a program that compiles standalone but when I use the build file
refuses to import javax.servlet. Any ideas will be GREATLY appriciated. The
problems seems to be that the build is IGNORING
Does anyone have experiences in building out to NT servers with ant. I was
looking at installing a ftp service and sending the files over but I don 't
know how to start and stop the processes runningI have a manifest file looks like
Manifest-Version 1.0
Implementation-Vendor-Id abc
Implementation-Vendor xyz
implementation-version def.4.0.1.0
Implementation-Title something
Requires configI want Ant to make my PC beep once it has finished building my project.
I don 't have a speaker appart from the internal one so I just need a
simple beep.
Any cross-plaftorm solution exist?
Cheers I experience that I must supply ant.jar to the classpath for the jspc
task else I get
NoClassDefFoundError org/apache/tools/ant/AntClassLoader
when executing the task.
This seems quite unescessa
| |