|
|
|
I have an issue where I run <javac > over a .java file with an inner
class and the inner class is not generated. My build process involves a
lot of Java comppiles and I 'm not sure exactly where thingIs there any ant task to get the list of filename from the directory?
This will help me in creating the classpath entries in manifest file.
Appreciate your help.
Thanks
sv.
(Sorry I trashed that email too fast... Here 's one possible solution)
<subant > has a 'failonerror ' attribute that allow you to go on if one of the
sub-builds called fails. --DD
I am attempting to write a set of tasks for ant. I am using ant 1.6 against
either the sun jdk 1.4.2 or the ibm jdk 1.3.1. In either case the results
are the same.
In my TaskContainer I have a pubHi
I have a weird problem with ant (1.5.4 and 1.6.0). I am trying to create
a quite simple JAR-file with the follwing target
<target name "create-war " >
<property name "war-base value "${local-toAll
I am trying to avoid build stopping by using "-k " on top of the original ant
command "ant -DBUILDNUMBER 123 targetA " but it does not work?
Why? What should be the correct syntax?
Thanks
BarrHas anyone experienced this issue with rexec where it hangs with Ant 1.6?
I have a very simple build.xml to test rexec. The rexec tasks looks like
this
<rexec userid "myuid " password "mypa
Hi all Ant-users
I want two paths like -
<path id "a " >
<pathelement .........../ >
<pathelement .........../ >
...
</path >
- and -
<path id "b " >
...
</path >
- both Has anyone succeeded in getting ANT to work with Starteam 1.54?
I have included the starteam54.jar file in my path although the bulid fails with
the error message BUILD FAILED java.lang.ExceptionII am running a javac task against a 1.2.2 compiler but it is running out of memory. The javac task documentation says that there is a attribute for setting the Max memory size (memoryMaximumSize) bI would like to delete all the CVS directories in the build tree.
Here is my target
<target name "cleanupcvs " >
<delete defaultexcludes "false " >
<fileset dir ". " >
<include name "**/CVHi
Before I go diving into code (of the ant task -/)
Has anyone an idea to what is causing
axis-java2wsdl to throw a ZipException ?
"java.util.zip.ZipException error in opening zip file "
(it repHas anyone experienced this issue with rexec where it hangs?
I have a very simple build.xml to test rexec. The rexec tasks looks like
this
<rexec userid "myuid " password "mypass " server "sCan anyone tell me what I need to do to run ant 1.6.0 with a CLASSPATH
set.
Current if I try to do so the following exception occurs
java.lang.InstantiationException org.apache.tools.ant.MaOk I have been using ant for quite some time now but I seem to have run across something I do not understand.
I have a beanshell script inside of a target. It contains the following lines of code
Hi
I have begun looking at using ANT on our build system. As I was
testing the vssget task I noticed it got all of the source every time. Is
there a way to pass in parameters (ie -GCC)? THello
I am trying to figure out how to get the javac task to work but I am
having a problem with one option.
I am trying
<javac
fork "yes "
executable "/usr/j2sdk1.5.0/bin/javac "
soHi
I have 2 different targets manifest and jar. The jar depends on the manifest.
The manifest target updates an existing manifest file.
The jar target creates the jar files.
The issue is that the
I came across this post at
http //marc.theaimsgroup.com/?l ant-user&m 106751573229954&w 2 when I was
trying to debug the same problem just now. The problem is not ant files
in weblogic.jar but the Hi all
I am having difficulty in installing Ant 1.6 on a WinMe machine. The Ant
manual assumes that Win9x NT behave the same as WinMe which is not the
case. Some help is much needed here!
I get an I 'm running Ant from within JBuilder 9.
Ant 1.5.3 works fine.
If I change my Ant libraries to point at 1.6 I get this error
java.lang.NoClassDefFoundError org/apache/tools/ant/launch/AntMain
Is there an ant equivalent of
set PATH %PATH% C \Program Files\TortoiseCVS
I 'm trying to do a CVS checkout in ANT on a windows machine. CVS is not
in my path. I 'd really like to add CVS to my p
Hi
According to our lawyers we need to distribute a license agreement
that gets displayed before the software can be used. I want to simply
display our license which is stored as a plain texHi all
I use Ant 1.4.3 and I have an issue while running a build.xml file.
I have a project called "type ". In this directory there are
- *.java files
- build.xml file
- MANIFEST.MF file
I wanHas anyone seen the following error before? And if so what was wrong?
Unable to determine jar name from descriptor
Hello all
I am having trouble getting the script tag to work in Ant 1.6.0. I have
tried various renditions to get the following code to run
<?xml version "1.0 "? >
<project default "default " basedirI have put C \cygwin\bin in my path but when I try the simplest cvs get
<target name "cvs-testing "/ >
<cvs cvsRoot " ext eciramella@(protected) /cvs "
package "epass/ePASS4.1 "
dest "eI want to match a certain pattern in my package directory structure but want
to exclude a certain subdirectory in there I 'm looking to do an <include
.../ > AND <exclude..../ > which I assume is what tHi Luis
yeah I know 'RTFM ' -).
I just overread the line.
If I find a solution I will post it here.
We currently have a workaround which requires a separate authentification to
the firewall
befoI 'm working on a build file that splits files into 2 jar files depending on
whether or not the file contains a given string
<jar
destFile "${dest.dir}/delta_${delta.timestamp}_FUNC_TKT${ticket}.j
| |