Hi Luis,
I've specified the properties within the build.xml file.
E.g.:
property name=MailLogger.from value=[EMAIL PROTECTED] /
property name=MailLogger.success.notify value=true /
property name=MailLogger.failure.notify value=true /
property name=MailLogger.success.to value=[EMAIL PROTECTED] /
Hi,
I want to build my project based on the argument passed from the commnad line
i.e Ant Project1 or Ant Project2..
how to determine this?. any help would be appreciated..
thanks,
Krish
Catch all the cricket action. Download Yahoo! Score tracker
But you're still not saying what you're doing ;-)
?!? Thought I told you in the last posting.
Ok, just a brief description of the things I'm doing:
I will invoke a load test.
So the testsuites and tests are called via the junit ant task.
These tests are generated and because they are
project name=master
target name=Project1
ant antfile=project1.xml /
/target
target name=Project2
ant antfile=project2.xml /
/target
target name=project2.build
!-- You can invoke targets of your subproject by this master build
file --
!-- But you
Hi,
perhaps you could use the Java Regexp Plugin API to avoid dependeny on ORO
and give the user a chance to choose his favorit regex package.
See http://www-106.ibm.com/developerworks/web/library/wa-regexp.html and
http://sourceforge.net/projects/regexpplugin for details.
Note! I didn't try
On Tue, 10 Dec 2002, Michael Koegel
[EMAIL PROTECTED] wrote:
perhaps you could use the Java Regexp Plugin API to avoid dependeny
on ORO and give the user a chance to choose his favorit regex
package.
Or even better, use Ant's own version of a regexp plugin API, that
is already in use for the
Hi,
I would like to implement the following process:
1. Read a list of entries from a file, preferably XML file,
each entry has the following data:
- name of a file in the CM
- name of a CM user
- name of the file's version in the CM
Example:
list source=2.5/dev
I've been using ant for a while with struts and tomcat. Now I'm starting
an EJB project and am learning more about ant so I can use it here too.
I'm used to having my java classes in the src subdirectory. Yet I was
reading an old post J2EE config/build best practices from Drew Davison
we use src here, and every other place I've worked. One note, that we do
manage multiple languages as well, and we differentiate between those under
our src tree.
ie:
project-root
|
+-- src
|
+-- c
|
+-- com
| |
+ +-- sandvine
|
+-- other language
Adam Hardy wrote:
I'm used to having my java classes in the src subdirectory. Yet I was
reading an old post J2EE config/build best practices from Drew Davison
recommending calling the source code dir java - which is more common?
Drew... one of my major mentors in the Java world!
As for naming
#1: I believe Drew was saying Java sources should be in src/java, while
other type of sources, like DTDs be in src/dtd, etc... It's a common pattern
used by many Jakarta projects, and that Maven assumes (not sure on the last
part, although I'm sure it's configurable in some kind of layout
The admittedly tiny problem with this approach is that you are still
scanning the src/c directory... Ideally, you would have a separate 'root'
dir for all languagues / type of sources (src/java, src/cpp, src/xdoc,
etc...). Just an optimization. --DD
-Original Message-
From: David McTavish
I am getting the mentioned error during javadoc execution.
The error stack is:
BUILD FAILED
file:C:/f1/f2/build.xml:213: Javadoc failed:
java.io.IOException: Cr
eateProcess: C:\j2sdk1.4.1_01\bin\javadoc.exe -d
outputfolder -classpath libhome\activation.jar;
When I have some properties to read from an XML document I usually use an
XSLT to pre-transform it simple java properties file. It works very nicely.
It is very easy to select the data you need in the XSLT and then it is very
easy to read it inside Ant.
You could very easily do a for-each in XSLT
One of the benefits of setting src.dir as a property is that you could call
your compile script from an external script and override the value. This is
generally useful if you are provide professional services (ie:
UI/HTML/customization for your end-customer).
We have a root development folder
Thanks for the replies. Just for the record, there was no src directory
at all mentioned in the original post:
http://www.mail-archive.com/ant-user@jakarta.apache.org/msg15374.html
but it seems obvious that 'src' is the way to go.
As for using a variable for 'src', I often go in and work on
Steve,
quote
It doesnt feed down to jasperc because nobody thought it should.
/quote
it seems that any task that uses external resources should be able to work
with the proxy. working behind a firewall is such a common occurance, and
the benifits of precompiling jsp pages is a huge bonus for me.
ant 1.5.1
win2k
directory structure:
WEB-INF/build/build.xml
WEB-INF/xs/sidebar.xsl
WEB-INF/XSLT/sidebar.xsl
build.xml
target name=build-war
delete file=ming.war/
zip destfile=ming.war update=no whenempty=create
fileset dir=../.. excludes=CVS casesensitive=yes
Jeff Barrett wrote:
ming.war contents are (note the lowercase):
WEB-INF/xs/sidebar.xsl
web-inf/xslt/sidebar.xsl
Jeff,
How did you determine this? Did you use winzip? If so, can you check the
contents by using
jar tvf ming.war
If it is still an issue, let us know.
Conor
--
To
Hi,
I have very liitle knowledge in Ant.Whats the
advantage of Depend task over javac and how to combine
them effectivwly for building projects?..(i am using
JDK1.3.1)
Thanks in Advance,
Ram
Missed your favourite TV
Ram Krish wrote:
Hi,
I have very liitle knowledge in Ant.Whats the
advantage of Depend task over javac
If class A depends on class B and B.java is changed, the javac task
will not recompile A.java even though class B may have changed its
interface. If it hasB has changes, the result may be
Hi,
if depend is not perfect, how to solve this
dependency probelm when compiling?.I want to write a
script for our financial product which is already
running live.Previously we were using NT batch file to
build.Please help me in this regard.
Ramkumar
--- Conor MacNeill [EMAIL PROTECTED]
Ram Krish wrote:
Hi,
if depend is not perfect, how to solve this
dependency probelm when compiling?.I want to write a
script for our financial product which is already
running live.Previously we were using NT batch file to
build.Please help me in this regard.
If you want to be absolutely
Hi,
Thanks Conor for the hint. Finally I found the tar ball
jakarta-ant-1.5.1-src.tar.gz I downloaded from
http://www.apache.org/dist/ant/source is corrupted. A lot of file names have
been truncated, for example:
ls -1 ./src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool
On Tue, 10 Dec 2002, Jin Zhou [EMAIL PROTECTED] wrote:
Finally I found the tar ball jakarta-ant-1.5.1-src.tar.gz I
downloaded from http://www.apache.org/dist/ant/source is
corrupted. A lot of file names have been truncated,
http://jakarta.apache.org/ant/faq.html#no-gnu-tar
This
Probably http://jakarta.apache.org/ant/faq.html#winzip-lies
Stefan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
26 matches
Mail list logo