Hi, I'm using Ant 1.7 on Windows XP. I'm getting this error when executing my
build:
build.xml:208: Problem: failed to create task or type wlst
Cause: The name is undefined
Action: check the spelling
Action: Check that any custom task types have been declared
The line being complained about is
Hi,
What can I do, either in my build file or using a command line argument, to
list what .java files ant is compiling?
Thanks, - Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Hi,
I'm using Ant 1.6 and WL 9.2.2. Are there directives I can add to my build.xml
file that will allow me to compile JSPs? Any suggestions you have are greatly
appreciated, - Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi,
I'm using this command to copy a directory
but what I would like to copy all files in that directory except the one named
"mine.propertie
Hi,
I want to instruct ant that upon building a WAR file, only include certain
files from my lib directory in the WEB-INF/lib directory. However, this
doesn't seem to be working
Hi,
I want to build my WAR file such that it only includes specific JARS from my
staging lib directory as opposed to all the ones that are in
there. Unfortunately, despite my include and exclude directives, all JARS from
the directory are getting included. Can you help me figure out what is w
Hi,
Currently I'm listing out each JAR file from a particular directory to put into
my project class path. I was wondering if there is a way to say, include every
jar file from that directory. Right now, here's what I have that I hope to
simplify:
Hi,
Is there a way I can configure my build script such that it reports validation
errors for JSF (Java Server Faces) applications? I'm using the Apache MyFaces
1.1.6 implementation.
Thanks, - Dave
-
To unsubscribe, e-mail: [
Hi,
I have this in my build.xml file
What I would like, however, is to only have one depends option depending on
what a variable "env" is, which is passed to my script. So, for example, if
env = "dev", I would like to execute only the "copyDevConf" option above. How
do I configure this in
Hi,
Is there a way to see what ANT thinks is in my classpath? I have a condition
that's failing
But the JAR file (junit.jar) is set up in my project.class.path ...
Not quite sure the right way to debug this. Thanks, -
I tried your suggestion, but no luck. I think I'm not including my classpath
correctly in my build-junit-test.xml script. I have ...
and within "build.xml" I define what you suggest ...
But how does my "" script under
Hi David,
DEBUG: project.class.path.property =
"${project.class.path}"
I followed your suggestion, only I put the FAIL statement in the target being
executed ...
but what is printed out on the screen is
/export/third-party/etsbea/staging/wls_9.2.2/CedarPoint_Service/ant-common-chec
I'm running Ant 1.6. Since I'm not the sysadmin, I can't easily upgrade.
I've tried the "-lib" directive in my shell script ...
ant -lib
/export/third-party/etsbea/staging/wls_9.2.2/CedarPoint_Service/deployment/APP-INF/lib/junit.jar
-buildfile build-junit-test.xml -Denv=$WLS_ENV -Dtier=$TI
Hi,
I'm using Eclipse 3.4 on Windows XP to run my Ant build script (Ant 1.6). When
running my build.xml file, I get the error ...
Buildfile: C:\Temp\CedarPoint_Service\build.xml
check-weblogic:
check-javadoc:
check-ejbgen:
generate-query-ejb:
[delete] Deleting directory C:\Temp\CedarPoint_Se
Actually I had been mistaken earlier when I said Ant 1.6. I do have 1.7. This
is the folder in my C:\eclipse\plugins directory
org.apache.ant_1.7.0.v200706080842
Thanks, - Dave
> ---Original Message---
> From: Ammar Khalid <[EMAIL PROTECTED]>
> Subject: RE: NoSuchMethodError when
I just re-installed Eclipse 3.4 (Win XP) with Ant 1.7. Something is wrong with
my environment (I'm thinking) because I'm not able to run even a simple build
script, like the below.
Hello all
When I run this through the Ant perspective, the console in
Hi,
I'm running Eclipse 3.4 (WinXP), Ant 1.7, JDK 1.5. When I run my build script,
I get this error:
Buildfile: C:\Temp\CedarPoint_Service\build-junit-test.xml
check-junit:
build-tests:
[javac] Compiling 9 source files to C:\Temp\CedarPoint_Service\classes
[copy] Copying 2 files to C:\
Hi,
I'm using Ant 1.6.5 with Eclipse 3.4 (Win XP), JRE 1.5. I run a particular
JUnit task that fails, but I can't figure out which test within my JUnit
TestCase class is failing. Here's my task ...
Hi,
I have this plugin -- org.junit4_4.3.1 -- in my C:\Eclipse\plugins directory.
Yes, I am running an Ant build file in Eclipse. What I would like is for the
specific test case that is failing to be printed to my console. Right now, I
only get this
run-delete-add-test:
[junit] Running D
Hi,
I'm using Ant 1.6 and trying to build my WAR file. Im my web root directory, I
have a directory named "dojo" that I wish to exclude from my WAR file. Here is
how I construct the WAR file ...
Hi,
I'm using Ant 1.6 on Solaris 9. Right now I have a shell script in which I can
check out a package from CVS:
ant -Duser=$username -Dbaseline=$baseline -Dpackage=$CVS_PACKAGE_NAME
cvsCheckout
but I was wondering how I can check out only a single file from CVS and then
place it on a certa
Hi,
I'm using Ant 1.6 on Solaris 9. When I created a JAR file, I'm trying to
include everything in my base directory ("basedir") as well as an additional
properties file ...
But this command creates a JAR file without the contents of the basedir. If I
remove the 'includes="${
Great idea. That's what I did and everything is fine now. -
> ---Original Message---
> From: Haiqi Wei
> Subject: Re: Making my JAR file include everything
> Sent: Feb 04 '09 17:05
>
> I have not tested this. But can you copy the property files into the basedir
> beforehand,
>
Hi,
I'm uisng Ant 1.6. I have this target ...
For the property, 'wsdl="${basedir}/wsdl_files/Pr
Thanks for your reply. Regarding the property file directive, "",
where are you actually loading the property "PROVISIONING_SERVICE_WSDL_URL"
from the file and assigning it to a variable?
- Dave
> ---Original Message---
> From: David Weintraub
> Subject: Re: Reading a property fro
Again, I really appreciate all the advice I'm getting, but being so
inexperienced with Ant, I'm still missing the solution.
The properties file I refer to is not in any way related to my Ant tasks. But
it does contain a URL I would like to use in my Ant script, so I can keep that
URL in one pl
Perfect! Thanks so much, - Dave
> ---Original Message---
> From: Haiqi Wei
> Subject: Re: AW: Reading a property from a file
> Sent: Feb 19 '09 16:45
>
> Add to your build.xml assuming your file.properties is at ${basedir}
>
>
> Then in your target do
> wsdl=${PROVISIONING_
Hi,
Perhaps this is more appropriate for the FindBugs forum, but I've found good
answers here. I'm using Ant 1.6 with FindBugs 1.3.7. I want to tell FindBugs
to include all the JARS within a certain directory for its classpath, but this
isn't working ...
Hi, I wanted to post a follow-up on what I changed based off everyone's
feedback. Still haven't got it to find the JARs. Any additional
troubleshooting tips are appreciated.
Hi,
I'm using Ant 1.6. I have this task ...
I want to modify my clause such that it includes all .java files in
that directory except for java
Hi Brian,
I put in the directive much as you have it ...
Hi, Thanks for this input. I changed my directive per your suggestion ...
but checkstyle is still examining files I don't want it to. The "**" means a
max of two levels deep? I got the same number of messages
Hi,
I have the below target ...
print 'Calling the script ...'
connect(sys.argv[1],sys.argv[2],sys.argv[3])
shutdownCluster("my_cluster_1")
undeploy("RoutingEngine#v1.0")
removeApplication("RoutingEngine#v1.0")
deploy('RoutingEngine#v1.0'
Thanks for your reply. I'm unfamiliar with some of the terms you are
mentioning below. Could you give a code example?
- Dave
> ---Original Message---
> From: Scot P. Floess
> Subject: Re: How to get varaibles recognized by this task
> Sent: Mar 05 '09 17:24
>
>
> I know, at
Hi,
What is the Ant task to pre-compile JSPs into class/java files? I'm using Ant
1.6, WebLogic 9.2.2 with Java 1.5.
Thanks, - Dave
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: u
I'm still missing something. The reason I want to get pre-compiled Java
classes is so that I can instrument those classes for the purposes of running a
tests coverage report (I'm using Cobertura). It would be great to have these
files after I do my Ant build so then i can run my MockStrutsTest
Hi,
I'm using Ant 1.8. I have created a custom task, but I need to include a jar
file in the classpath when this task is exected. How do I include such a jar
file? I'm using Ant 1.8. Here is the definition of the task ...
Let me ask this clarification question before answering yours ...
1. The taskdef "classpath" attribute is NOT what is used when the taskdef is
actually executed. Correct?
The output of what I get from running my custom task is below. Note that the
NoClassDefFoundError is complaining about a c
Thanks for this recommendation. A couple of follow up questions ...
1 If I add the classloader task to my custom task, does that classloader take
precedence over the classes loaded by ${ANT_HOME}/lib ?
2. How do I add the classloader task to my custom task? My custom task
resembles ...
Hi,
I'm using Ant 1.8. I load a properties file that loads define these properties
...
dev.baseurl=http://devurl
qa.baseurl=http://qaurl
approval.baseurl=http://approvalurl
staging.baseurl=http://stagingurl
prod.baseurl=http://produrl
Then I pass in this command line argument to my script "-De
Thanks, Dominique. The nested properties (props) task seems like it will do
the job. However, do you know where to download this thing? The links don't
seem to have anything
http://ant.apache.org/manual/properties.html
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
- Dave
ON the doc it mentions "external" to ANt ...
With the 'props' antlib (external, but also from Ant) you could do the
dereferencing with ${${anotherprop} - not just in the property task - instead
everywhere in your buildfile (after registering the required property helper).
${${var}} = fo
Cool. I went the macrodef route and everything worked
- Dave
> ---Original Message---
> From: Dominique Devienne
> To: Ant Users List , dave.alvar...
43 matches
Mail list logo