At 06:10 PM 20/06/01, you wrote:
>I can't submit this formally since the image is copyright of The Learning
>Company, but if anyone else likes the style, I can look into a replacement
>image.
>
>Shane
Here's my take on the logo... Does reusing the copyrighted image make me
even more of a crimin
Hi David,
I don't use VAJ and have never played with the plugin, so I cannot
help. I've changed the subject line and quoted your full mail so that
VAJ experts who have skipped this thread so far could jump in.
David Trogdon <[EMAIL PROTECTED]> wrote:
> Thanks for the info Stefan
>
> I am now
On Thu, 21 Jun 2001 09:03, Larry V. Streepy, Jr. wrote:
> Earlier, I posted a request for a "lighter" antcall. As I have worked
> through the problem a little further, I've come to the following
> question: Why doesn't the "ant" task copy the filters to the newly
> created project (like it does w
Peter Vogel <[EMAIL PROTECTED]> wrote:
> It should be noted that in order to make this work as cleanly as it
> does I needed to patch ant in a couple of ways:
>
> 2. fix to use it's "dir" value instead of the
> tar's basedir
Just clarify: this is bug of Ant 1.3 that has been fixed in CVS.
St
To make this work I did two things:
1. I have the jaxp 1.1 files (jaxp.jar, crimson.jar) in my classpath. I removed the
jaxp.jar and parser.jar files from the ant/lib
directory. (May only be necessary if using Saxon)
2. I added the element to the style task:
Anybody familiar with usage of optional task ejbc.
I am not able to run ant with ejbc. following is the
piece of ant build code
Under gen.classes I have XML dexcriptors. When I run ant
I get following error
ejbc:
[ejbc] Exception occurred reading ejb-jar.xml - co
Sanjay Bhatia wrote:
> Has anyone experienced this problem?
>
> sb
>
> [junit] Exception in thread "main" java.lang.NullPointerException
> [junit] at
>
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTest
(XMLJUnitResultFormatter.java\:177)
This is from m
Unfortunately on this one I had to read the source code. The wildcard
(which has to end in .*) is converted to a fileset patter by converting
all '.' to '/' and appending a '*' to the end. So, my pattern ends up
as a fileset includes="**//**", which matches every package.
However, by looking at
Has anyone experienced this problem?
sb
[junit] Exception in thread "main" java.lang.NullPointerException
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTest(XMLJUnitResultFormatter.java\
:177)
__
Do You
First, I'm an ant neophyte so I'm sure that I'm doing something wrong (also
because I've searched the list history and could not find this question).
Before I start I'm using "Ant version 1.3 compiled on March 2 2001" (from
ant -version) on a Dell machine running Windows 2000
Here is my problem
> > Is "stp" the actual name of your package? The example in the doc shows:
> > > ...
> > So I would guess you need to specify the actual package name and
terminate
> > it with a wildcard -- eg: com.foo.stp.*
>
> No it's not. Actually, it's a group of 3 applications, and 2 packages, all
> u
> Is "stp" the actual name of your package? The example in the doc shows:
> ...
> So I would guess you need to specify the actual package name and terminate
> it with a wildcard -- eg: com.foo.stp.*
No it's not. Actually, it's a group of 3 applications, and 2 packages, all
under the same
Hi,
I am consistently getting the following errors while running junit. We're
using ant version 1.3 Beta 3 and the latest version of the optional tasks jar.
Has anyone else had this problem?
sb
[junit] 2001-06-20 16:51:35,857 ERROR [main]
[junit] Exception in thread "main" java.
It seems to me that if you set "compile" as your default target, then "init"
should execute. However, if your default target is "init", then that will be
the only target to execute in your build file.
-Original Message-
From: Allan McNeil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June
Title: RE: Having trouble getting multiple targets to execute
&> ant compile
should work, since it depends on "init"
&> ant init
should result on the "init" target being executed ONLY.
--Lorenzo
-Original Message-
From: Allan McNeil [mailto:[EMAIL PROTECTED]]
Sent: Wednesda
I can only get the default target to execute.
Subsequent target elements are not executed.
Does anyone have any solutions?
Here's the scenario:
___
My Setup:
OS: Windows 2000 Professional
Ant Version: akarta-ant-1.3
JDK Version: 1.3.1
__
"Larry V. Streepy, Jr." wrote:
> Earlier, I posted a request for a "lighter" antcall. As I have worked
> through the problem a little further, I've come to the following
> question: Why doesn't the "ant" task copy the filters to the newly
> created project (like it does with the properties)
HI,
I am executing the tstamp before executing the cvs tag , but the mistake I
made was to set the property before doing teh tstamp thing which is not
normal I feel.
However, If I do put the property after the tstamp stuff, it gives me an
error which is something like ...
"[cvs] cvs [tag abo
Earlier, I posted a request for a "lighter" antcall. As I have worked
through the problem a little further, I've come to the following
question: Why doesn't the "ant" task copy the filters to the newly
created project (like it does with the properties)?
If it did this, it would solve my problem.
"Larry V. Streepy, Jr." wrote:
>
> This generally happens when the property doesn't have a value. My guess
> is that you are not running the task prior to your cvs task.
>
> Try to ensure that tstamp gets executed as part of a "prepare" target
> that is listed in the "depends" clause of all my
This generally happens when the property doesn't have a value. My guess
is that you are not running the task prior to your cvs task.
Try to ensure that tstamp gets executed as part of a "prepare" target
that is listed in the "depends" clause of all my other tasks.
Viraj Purang wrote:
>
> Hi,
Hi,
Tried that already ...got this one ...
[cvs] cvs [tag aborted]: tag `lb_${DSTAMP}' must not contain the characters
`$,.:;@'
I used
and
IT just seems to literally count it in ...
and if I give just the date ...CVS cribs about it ..because it is all
numerical.
REgardsm,
Viraj Purang
---
No, I'm sorry, I added the "com" in myself - editor's eye. It is complaining
that it can't find sun/tools/Constants.
I will try to have her reinstall the JDK tomorrow.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 5:31 PM
To: [EMAIL
in your build.xml you can try to set this property
that should clear the system classpath from being used by ant
also, Brett is right, in my jdk1.3 i do not have com.sun.tools.Constants
class. The nearest one i can see is sun.tools.java.Constants. Could it be
that your friend version of jdk1.3
No you clearly don't.
If you had it it would be identified as
com/sun/tools/Constants.class in the list you sent.
What happens when you run java -version on a machine that works and the one that
doesn't?
> -Original Message-
> From: Mark Ashton [mailto:[EMAIL PROTECTED]]
> Sent: Wedn
How about
Viraj Purang wrote:
>
> HI,
>Ho do we append two strings in Ant , I need to use the formatted value
> of DSTAMP and attch it to something like label_
> so as to give me a result which is something like this
> label_-MM-dd.Better still is it a part of some standard document
I'm not familiar with that usage of jar, but when I do the following, I
clearly have the class:
$ jar -tf tools.jar | grep Constants
sun/tools/agent/AgentConstants.class
sun/tools/agent/StepConstants.class
sun/tools/java/Constants.class
sun/tools/java/RuntimeConstants.class
sun/rmi/rmic/Constants
HI,
Ho do we append two strings in Ant , I need to use the formatted value
of DSTAMP and attch it to something like label_
so as to give me a result which is something like this
label_-MM-dd.Better still is it a part of some standard documentation.
Regards,
Viraj Purang
i was running 1.2-1 (the only version for which i found a Debian package).
compilations and such seemed to work fine, but the "jar" task was failing,
giving me:
"Problem creating jar: ZIP file must have at least one entry"
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:294)
so i j
I have jdk 1.3.1 and don't have that class (or package) anywhere.
try
jar -tf tools.jar com\sun\tools\Constants
or
jar -tf tools.jar com\sun\tools\Constants.class
neither returns anything here.
HTH
> -Original Message-
> From: Mark Ashton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday
I understand the difference in specifying just a package vs. a wildcard.
I specifically need to call out the packages I do (for the customer
documentation) since there are other packages in the hierarchy that are
not relevant for customers.
Thanks.
[EMAIL PROTECTED] wrote:
>
> you do not need t
I don't understand what you mean by clearing the classpath. If you mean to
unset the environment variable, we've tried that and it doesn't work.
It's clearly an environment problem, but I'm stumped as to what could
possibly cause it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EM
Title: RE: [ANN] Ant needs a Logo
Besides isn't that just well-formed XML and not necessarily valid XML? ;)
-Brett
-Original Message-
From: Shane Petroff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [ANN] Ant needs a Logo
sounds more like environment issue with her machine, since it is working on
yours
can you clear class path before you run the ant?
-Original Message-
From: Mark Ashton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 2:50 PM
To: '[EMAIL PROTECTED]'
Subject: com/sun/tools/Constant
the follwing suggestion helped me a lot. my problem got fixed. its basically
with the
JAVA_HOME. since my jdk is in Program Files directory. the space between
Program and
Files is the source of my problem. I moved the jdk under E:\ and now its
working fine.
Thanks all for your valuable help,
dine
try this
hope it helps
-Original Message-
From: J. Michael Caine [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 6:06 PM
To: [EMAIL PROTECTED]
Subject: "jar"/zip problem
i was running 1.2-1 (the only version for which i found a Debian package).
compilations and suc
Title: FW: jar/zip tasks and directory case problem
Hi Kit,
ANT 1.3 solves this problem. I have been able to use the JAR task successfully.
hth,
Shekar.
-Original Message-
From: Kit Cragin
To: [EMAIL PROTECTED]
Sent: 6/20/01 3:42 PM
Subject: jar/zip tasks and directory case proble
you do not need to specify the wild card if you do not have any subpackges,
ie
you have com.company.package1 only and do not have
com.company.package1.subpackge1
like in your case, i would think the following will work as well
-Original Message-
From: Larry V. Streepy, Jr. [mailto:[EM
i was running 1.2-1 (the only version for which i found a Debian package).
compilations and such seemed to work fine, but the "jar" task was failing,
giving me:
"Problem creating jar: ZIP file must have at least one entry"
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:294)
so i j
I've got a person at our site who is trying to use ant, and gets a message
saying that the com/sun/tools/Constants class can't be found. The stack
trace shows that this is propagating from an rmic task. No one else has this
problem. She has tools.jar installed in her jdk1.3/lib directory, and we'v
Whenever I use the jar or zip tasks to zip the contents of a
directory, any subdirectories of that directory get stored in lowercase instead
of whatever the case was when the directory was created. This causes problems
when building WAR files and EAR files for some application servers (they
Title: RE: Observations from an ANT newbie
If you
type "java -version" at a prompt what happens?
-Original Message-From: Dineshram
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001
3:43 PMTo: [EMAIL PROTECTED]Subject: RE:
problems running ant
Hi
Don,
this i
Erik Hatcher wrote:
> How about making it valid XML :)
Thought about it, but normal people (who will also be reading it) tend to find
it a bit obfuscated. Perhaps the way it I have it is too annoying for us techie
types.
I also considered
Build.by(Ant)
Shane
U mm is double digit minutes
MM is double digit month
Check this thread for more info
http://marc.theaimsgroup.com/?l=ant-user&m=99049317906409&w=2
-Original Message-
From: viraj.purang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 2:02 PM
To: ant-user
Subject: tsamp is
>From memory little m means minute. I think you should be using big M for
month.
On Thu, 21 Jun 2001 05:01, Viraj Purang wrote:
> Hi,
> I get a weird error when I am using the following statements.
> ___
>
>
>
>
>
>
> __
The tstamp task uses a normal java date formatter to do its work. So,
"mm" means minutes, not month.
You probably want "MMdd" which yields "06202001" today.
Viraj Purang wrote:
>
> Hi,
> I get a weird error when I am using the following statements.
> _
Hi,
I get a weird error when I am using the following statements.
___
___
The date is field is OK but the month field keeps getting all junk values,
let me see if it mnakes difference if it
Title: RE: [ANN] Ant needs a Logo
That
depends on your vintage. Atom Ant of by-gone days was a cartoon super hero as
one of the previous postings illustrated. ...he was cool. :)
David
-Original Message-From: Jay Glanville
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20
I really like the XML markup idea
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 10:13 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANN] Ant needs a Logo
How about making it valid XML :)
- Original Message -
From: "Shane Petroff"
In my build, I didn't need to specify a wild card. Here are two forms
that I use in our build:
and
Diane Holt wrote:
>
> Is "stp" the actual name of your package? The example in the doc shows:
> ...
> So I would guess you need to specify the actual package name and terminat
Title: RE: [ANN] Ant needs a Logo
I
believe that Adam Ant was a new-wave / pop-rock singer of the '80s. Check
out http://www.allmusic.com (put "ant,
adam" in the find field).
-Original Message-From: Trogdon, David
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001 2:09
Title: RE: Observations from an ANT newbie
Hi
Don,
this is my
path
%SystemRoot%\system32;%SystemRoot%;C:\DMI\bin;C:\PROGRA~1\NETMAN~1\System;E:\INFORMIX\BIN;C:\Program
Files\Informix\Client-SDK\bin;e:\jakarta-ant-1.3\bin;e:\jakarta-ant-1.3\lib;e:\Program
files\jdk1.3.0_02\bin;e:\Program
Just to eliminate the basics here, does the first line of code begin
with
package stp;
or
package stp[.*];
where [.*] indicates optional sub-package stuff?
If the latter is true, then you need to change packagenames="stp.*"
As an aside, I shudder to see that title (no knock on Pinar.)
-
Is "stp" the actual name of your package? The example in the doc shows:
wrote:
> I'm trying to understand how to make work.
>
> 1. I tried packagenames="..." (pretty much copied from the manual)
>
> packagenames="stp" sourcepath="/stp"
> classpathref="classpath" (<-- this on
Title: RE: Observations from an ANT newbie
Dinesh,
You
need to modify your PATH environment variable to the location where ant.bat
resides. That is,
ANT_HOME\bin
HTH,
Felice
-Original Message-From: Dineshram
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001
>
and my ant.bat file looks like this
@echo off
if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
if not "%OS%"=="Windows_NT" goto win9xStart
...
<<<
I had this problem and traced it to an improper JAVA_HOME value that NT
mysteriously changed. keep echo on ( i.e. REM @echo off) a
Suu Quan wrote:
> I'm trying to understand how to make work.
> 1. I tried packagenames="..." (pretty much copied from the manual)
> packagenames="stp" sourcepath="/stp"
[...]
> I got as output
> doc:
> [javadoc] Generating Javadoc
> [javadoc] Javadoc execution
> [javadoc] javadoc
You need to include %ANT_HOME%/bin in your PATH variable so DOS can find
the ant.bat script.
Diane
--- Dineshram <[EMAIL PROTECTED]> wrote:
> RE: Observations from an ANT newbieHi all,
>
> I am getting the following message when I try to run ant command,
>
> The name specified is not recognize
Title: RE: Observations from an ANT newbie
Do you
java/bin in your path? Do you have ant/bin in your
path?
-Original Message-From: Dineshram
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001
2:43 PMTo: [EMAIL PROTECTED]Subject: problems
running ant
Hi all,
I am
Title: RE: [ANN] Ant needs a Logo
-Original Message-From: Matt Warman
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001 1:23
PMTo: '[EMAIL PROTECTED]'Subject: RE: [ANN]
Ant needs a Logo
I think a developer dressed like Adam Ant would be
better...
-Original
HI,
HAs anyone ever done HP's SD packaging using Ant, does anyone have any
optional tasks to the effect.
IN case no on edoes can anyone suggest me a place where I can go and pick up
documentation to build a task myself.
REgards,
Viraj Purang
-Original Message-
From: Peter Vogel [mailto
Title: RE: [ANN] Ant needs a Logo
Wasen't that Atom Ant?
-Original Message-From: Matt Warman
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001 1:23
PMTo: '[EMAIL PROTECTED]'Subject: RE: [ANN]
Ant needs a Logo
I think a developer dressed like Adam Ant would be
bett
I had a similar problem, which I "solved" by extracting the jar
file which contains the required classes into the build dir.
Not the very cleanest approach but it works. Maybe someones
got a better idea?
Mark
I'm trying to understand how to make
work.
1. I tried packagenames="..." (pretty much copied
from the manual)
packagenames="stp"
sourcepath="/stp"
classpathref="classpath" (<-- this one is good, used for other
tasks)
verbose="true"
author="true"
v
Title: RE: Observations from an ANT newbie
Hi all,
I am getting the following message when I try to run ant
command,
The name specified is not recognized as an internal or
external command, operable program or batch file.
I am running the ant on windows.
I have set the environment variables AN
Title: RE: [ANN] Ant needs a Logo
I think a developer dressed like Adam Ant would be better...
-Original Message-
From: Shane Petroff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [ANN] Ant needs a Logo
I can't submit this f
It's more a matter of "complex" as Peter D. suggested, and, in
most of the cases where there is "complexity" to deal with, it
is a matter of the organizational complexity (multiple organizational
projects contributing to one or more products) and a need to present
a *very* simple face to the deve
Title: ejbjar: What goes into the generic jar before call weblogic ejbc compiler tool?
** Sharing a primary key class between entity beans. **
I have a problem with the ejbjar task in Ant.
I have a number of entity beans whose primary key
classes are basically identicle. In fact they all
j
How about making it valid XML :)
- Original Message -
From: "Shane Petroff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 9:10 AM
Subject: Re: [ANN] Ant needs a Logo
>
> I can't submit this formally since the image is copyright of The Learning
> Compa
Title: RE: How do I capture the current directory during execution?
Thanks a lot Brett!
works!
'${root}' gets evaluated to the appropriate value and passed to the stylesheet just fine. But that is not quite what I need. Here is the directory structure of the input data:
${root}/dir1
cons: http://www.dsmit.com/cons
make: http://www.gnu.org/directory/make.html
For Java, ant is currently the best option, with all
its flaws.
-Peter
> -Original Message-
> From: Shaikh, Mehmood [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 7:36 AM
> To: '[EMAIL PROTECTED]'
You didn't need to do all that -- all you needed to do was copy&paste the
example into a build.xml file, and have at least one .java file, either in
the same directory or in some subdir from there. Then just run 'ant'.
The reason it said there was no such target as "build" is because there
isn't
My comments are scattered about. One problem you have is that you are
using variable incorrectly.
/bill
-Original Message-
From: mwarman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 9:56 AM
To: ant-user
Cc: mwarman
Subject: RE: Observations from an ANT newbie
I create a
Title: RE: Observations from an ANT newbie
What
command are you typing in?
Typing
'ant' works fine for me with this build file.
You're
not typing in 'ant build' by any chance are you?
Matt
-Original Message-From: Matt Warman
[mailto:[EMAIL PROTECTED]]Sent: 20 June 2001 1
Well, there is no target named build in the file you posted. You define
these targets:
init
compile
dist
clean
try "ant compile" and see what you get.
Matt Warman wrote:
>
> I create a test folder and put the following file in it. I also
> created build, src, init, dist,compile an
I can't submit this formally since the image is copyright of The Learning
Company, but if anyone else likes the style, I can look into a replacement
image.
Shane
<>
Title: Help with JUnit fork and haltonfailure
Hi all,
My build is still successful, even if my forked JUnit tests fail with haltonfailure="yes". If I remove the fork, then it works, and I get a "BUILD FAILED". With the fork, I get a "BUILD SUCCESSFUL", even with failures.
I am running on Re
An example of Ant in use is the code associated with an article I wrote:
http://www-106.ibm.com/developerworks/library/wa-rich/
The .zip file (see Resources at the bottom) includes a build.xml that is
pretty typical for simple projects (compile, test, javadoc, jar, zip).
Erik
- Ori
Title: RE: Observations from an ANT newbie
I create a test folder and put the following file in it. I also created build, src, init, dist,compile and clean folders under test. I didn't see any source files, so I added some to src and build. I received this message from the build:
Target 'bui
Doh! That's a lot simpler than my last suggestion - need more caffeine
before I start responding to this list in the morning. :-)
Mikko Kurki-Suonio wrote:
>
> On Wed, 20 Jun 2001, Alex Gugel wrote:
>
> > Must I escape ${file.separator} in some way? Or what else is wrong?
>
> Let me guess: You
My guess is that the property substitution is happening when the string
is parsed from the build.xml file. This turns it into a single '\'
which is an escape character in a regular expression. You'll need to
setup some conditional targets that set the proper string to use, just
${file.separator}
Rob beat me to the punch here :-) Specifying includeAntRuntime=false is
how I worked around class conflict issues between ant and my compiler.
Rob van Oostrum wrote:
>
> how about adding the includeRuntime=false attribute, and put the rt.jar on
> the compiler classpath manually (where you can c
I have a build file that works well on NT, using the Sun JDK 1.3.
Now I'm moving it to AIX and trying to use the IBM JDK. In the ejbjar
command, I get the following exception. Note that this appears to be a
failure in the code that is trying to determine if ejbc needs to be
run, but it is taking
Thanks for the info Stefan
I am now in the process of trying to work through this. Trying to get the
VAJ Ant plugin to work has been a chore.
I downloaded the Ant application from http://jakarta.apache.org/ant
When installing VAJ I accepted the default installation which is :
C:\Program Files\
On Wed, 20 Jun 2001, Alex Gugel wrote:
> Must I escape ${file.separator} in some way? Or what else is wrong?
Let me guess: You're running under Windows and the separator is actually
'\'?
It has special meaning in regexps...
You could try '\${file.separator}'
//Mikko
--- Matt Warman <[EMAIL PROTECTED]> wrote:
> If you cut and paste using the example, it won't run.
Are you referring to the full example at the end of "Using Ant"? If you
are, I just tried it, and it works for me. Where doesn't it work for you?
Diane
=
([EMAIL PROTECTED])
_
Erik Hatcher wrote:
> Perhaps a .zip file with a simple "hello world" example using Ant complete
> with a pretty typical directory structure and a readme file with some
> command-line options showing how to switch compilers, point the 'dist'
> directory somewhere else, etc would be a good im
Title: RE: Observations from an ANT newbie
As of now It
looks good. But it will be excellent if some live examples and corresponding
results are added as part of
example
section. Specially for optional tasks(ejbc) list, which also needs some
more detailed descriptions.
---
Perhaps a .zip file with a simple "hello world" example using Ant complete
with a pretty typical directory structure and a readme file with some
command-line options showing how to switch compilers, point the 'dist'
directory somewhere else, etc would be a good improvement to get folks
learning An
Thanks, sounds a little like what I need to do.
Basically though what Id like to do is feed in a dynamic XML string vs. a
Build.xml file (the string is embedded inside another XML language), as
such:
ant code here
- Jon
Don Taylor wrote:
> Depends on what you mean by "embedding". In my appl
Title: RE: Observations from an ANT newbie
If you cut and paste using the example, it won't run. It's ok to look at code, But I believe alot of people learn by doing. If you set up an example that shows you step by step things like how do get a directory, setting targets, integrating with popu
Depends on what you mean by "embedding". In my application I've
"embedded" Ant as follows:
1.) Copy org.apache.tools.ant.Main.java into your project. RENAME THIS
CLASS.
2.) Make runBuild() have either public or package access, depending on
what you need.
3.) Comment-out project.fireBuildStarted
aren't you supposed to escape the $ in regexps? so you would have to put
$${propname}
Alex Gugel wrote:
> > use ${file.separator} instead of /.
> >
> >Stefan
>
> Thank you. But I encountered some errors:
>
> 1.) to="\1"/> does not work.
>
> and
>
> 2.) If $(file.seperator} is followed by (.*) l
> use ${file.separator} instead of /.
>
>Stefan
Thank you. But I encountered some errors:
1.) does not work.
and
2.) If $(file.seperator} is followed by (.*) like
then I got:
C:\cygwin\home\administrator\cvs\Curiavant\CUT02\build.xml:176:
org.apache.regexp.RESyntaxException: Syntax erro
Alex Gugel <[EMAIL PROTECTED]> wrote:
> Is there a way to tell the regexp-mapper that "/" means "directory
> seperator" (regardless of the operating system)?
use ${file.separator} instead of /.
Stefan
Off the top of my head, this sounds similar to the problem of compiling for
Dallas Semiconductors TINI board - you need a bunch of 'custom' classes that
conflict in the standard namespace - maybe?
Have a look at TiniAnt http://www.ad1440.net/~kelly/sw/tiniant/
Just a wild guess of course...
> -
Hi,
I have a problem with the regexp mapper. In a we use "/" to
seperate directories regardless
whether we use windows or unix. But the regexp-mapper is aware of the
actual directory seperator. So if I use ant under windows the following
does not work (but under linux it works):
how about adding the includeRuntime=false attribute, and put the rt.jar on
the compiler classpath manually (where you can cotnrol the order)
Jon Skeet wrote:
> > if the generics collect.jar is only for compiling against,
> > why would you want it
> > in your bootclasspath, rather than in the com
Hi jon,
Thanks I down loaded and started working on it.
Presently I am using the following task.
I would like to get real time example, as I am not
able to make out what gen.classes, src.dir etc...
contain in real time situation.
Thanks in advance.
Srini.
-Or
>I am trying to use the optional task ejbc
>in order to generate ejb compliance jar file.
>
>My build file is not working without opetional.jar file
>My question is from where can I get optional.jar file
The same download page as you got Ant from, probably:
http://jakarta.apache
1 - 100 of 103 matches
Mail list logo