> I'm having a problem after compiling classes. The compile
> works fine and
> then when i go to run it with JView i get exceptions. But
> when I compile it
> with J++ I can run it just fine. I know they use different
> compilers (jvc
> for microsoft and javac for sun) but I don't understand wh
I have a requirement to put an absolute path into a configuration file
prior to running a java app thru Ant. The only way I can see to get an
absolute path (thru basedir or using a location property) supplies the path
with the separators set to the current platform convention. Of course, I am
Take a look at the pathconvert task that I posted last week. It can
take a path and convert it to "unix" format. Also, I have an update to
it that I was about to post that makes it possible to specify the path
and dir sep characters instead of just picking a target os.
Robert Leftwich wrote:
>
Hi,
The depend task does not seem to support the exclude attribute.
Is this intended ?
Regards,
Viraj Purang
I have found the reason for this.
It seems that Ant requires the script antRun in order to run any exec,
execon commands.
Is there a reason for this? Or i am i wrong, and i can specify any script
for that?
thank you
boris
-Original Message-
From: Abramovich, Boris
Sent: Thursday, June
Hello,
I have following problem running ant.
It says that class org.apache.crimson.jaxp.SAXParserFactoryImpl not found .
I am using jakarta-ant-1.3. Can any one please help me.
Thanking you,
Sreenivas Narni
_
Get your FREE downloa
I'm having a problem after compiling classes. The compile works fine and
then when i go to run it with JView i get exceptions. But when I compile it
with J++ I can run it just fine. I know they use different compilers (jvc
for microsoft and javac for sun) but I don't understand why it doesn't work
Thanks for the reply. Do you know if the replace task supports something
like this:
where '**' is supposed to be a wildcard. Basically, I want to remove any
DOCTYPE elements from our pages.
Thanks,
-Mark
-Original Message-
From: Annie Frost [mailto:[EMAIL PROTECTED]]
Sent: Friday, J
Hi;
I fixed a problem in ant.bat and have attached the fixed version. Hopefully
someone on this list can check it in to the official source. (I did a fast
fix but it's still not the best way to build up the classpath - I just
didn't have time to do it the correct way.)
thanks - dave
winmail
What about establishing an Ant ClearCase subproject / working group?
Does one already exist?
Ryan Thompson
CreoScitex
Office 604.451.2700 x2054
Mobile 604.838.2111
-Original Message-
From: Jeff Post [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 11:13 AM
To: '[EMAIL PROTECTED
I am very interested in your tasks, will you post them?
thx
Ryan Thompson
CreoScitex
Office 604.451.2700 x2054
Mobile 604.838.2111
-Original Message-
From: Jeff Post [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 9:12 AM
To: '[EMAIL PROTECTED]'
Subject: RE: ClearCase
I jus
You could try using the Replace Task...
-Original Message-
From: Mark Womack [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 1:04 PM
To: '[EMAIL PROTECTED]'
Subject: Filters
I have a question about filters. I looked through all the documentation I
could find before posting here.
Base clearcase 4.1 but we are not using UCM, however I am interested in the
possibility of using UCM in the future. We use dynamic views and & snapshot
views frequently.
thx
Ryan Thompson
CreoScitex
Office 604.451.2700 x2054
Mobile 604.838.2111
-Original Message-
From: Peter Vogel [
I have a question about filters. I looked through all the documentation I
could find before posting here.
Is it possible to use wild cards or regualr expressions as part of the
filter token? What I want to do is remove all occurrences of
text from the files that are deployed. We still want th
I'm trying to use task to compile subprojects.
So each subproject has its own build.xml and I have
a top level build.xml that drives the subproject's
build.xml
I'm getting a problem now that if I use task,
then the task in one of my subprojects hangs.
But if I use the build.xml of that subproj
I am using base clearcase, and I am using dynamic views exclusively.
JP
-Original Message-
From: Peter Vogel [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 9:46 AM
To: '[EMAIL PROTECTED]'
Subject: RE: ClearCase
Hi Ryan,
Are you using UCM or base clearcase? Are you running
ex
Glad I could give something back to the group!
Caveats:
1. I had to quickly edit the files to remove company name and my name. I
didn't recompile, but everything should be ok.
2. I wasn't expecting anyone to examine these, so JavaDoc comments are
sparse. There should be enough regular comments t
Your "srcdir" should point up to the directory just before your package
hierarchy begins. Your "destdir" can point to wherever you want the output
files to go, but you don't need to include the package-hierarchy structure
in it. For example, if your work area is laid out like:
/viraj/work/src/c
Yes you can add as many formatters as you want.
This will create XML and text reports in files as well as text report in the
output
--
Stéphane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and
Hi,
Is it possible to get junit reports in xml and text format without running the
task 2 times?
sb
__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
Is it possible to compile a DLL with Java classes through the command line
or ANT? I know I can do this with J++ but I would rather do it through a
batch process like ANT.
thanks for any help,
Will
Jon,
Thanks for the response. Here are the relevant parts of the build.xml
file:
Underneath "implementation" are a number directories (e.g. source,
database, doc, etc.). When I run this task, only the "implementation"
directory gets a label. None of the files in this directory get
We are using clearcase here too (base). We are running mostly on dynamic
views.
Contribution from everybody would be greatly appreciated in this area.
btw Peter since you look like the expert in the field, I would like to know
how you manage to get a configuration record with an ant-based build.
Hi Diane,
There is probably one last bit to the priblem that I was talking
about for dependencies, I did see that if put my dest dir with the package
structure like
Hi Ryan,
Are you using UCM or base clearcase? Are you running
exclusively on dynamic views or are snapshot views
used frequently/commonly?
I've just completed integrating a UCM clearcase with
an ant-based build...
-Peter
> -Original Message-
> From: Ryan Thompson [mailto:[EMAIL PRO
Jeff,
I too currently work with clearcase and would like to add your features
to my ant scripts. Please post what you have I am sure there are others
that my find great benefit.
Thanks,
Mark
-Original Message-
From: Jeff Post [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 11:12 AM
Thanks!
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 6:38 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Forked junit task not finding TestRunner in optional jar
When you run it with fork="yes", you need to respecify the run-time
> > This kind of thing is exactly what abstract classes and/or
> interfaces
> > are designed for. Is it too late in the day to reverse that
> decision?
>
> It wasn't my decision and there's some (a large codebase) of
> legacy stuff
> there. Sadly, I'm stuck with the problem against my better
I just finished designing our build system that has complete integration
with ClearCase.
I wrote custom tasks to do labeling, mount a vob, start a view and set a
config spec, as well as my own versions of Checkin and Checkout. These tasks
are specific to our project structure in ClearCase, so the
Ahh, the issue is the length of your task name. The task name is right
justified in a 10 character region. Since your task name is longer than
that, it starts at the left edge and extends as needed.
"Ferguson, Doug" wrote:
>
> 1) Here is the code inside of BuildDetailsPage.java where I attemp
1) Here is the code inside of BuildDetailsPage.java where I attempt to
print a message.
log(file.getName() + " created");
2) Here are snippets from my build.xml
3) Here is my console output...
clean:
[delete] Deleting 194 files from C:\dev\eluminate\build
[delete] D
> Note: this is obviously just a simplified example. In reality this
> > structure is imposed because there are many target devices for the
> > application and it was considered impractical to abstract the
> > functionality into an interface and many differently named
> > implementations.
>
>
Thanks for your response Stefan. Yes, the misuse of TASK for TARGET was a
mistake, and if my description wasn't correct, my impression of the v2.0
mutlithreading (based on your description) was.
Question: Since multithreading of targets as you've described it still
wouldn't address the issue of
> Note: this is obviously just a simplified example. In reality this
> structure is imposed because there are many target devices for the
> application and it was considered impractical to abstract the
> functionality into an interface and many differently named
> implementations.
This sounds
Stefan Bodewig wrote:
>
> Larry V. Streepy, Jr. <[EMAIL PROTECTED]> wrote:
>
> > In case anyone wants the rmic task to properly handle the IIOP
> > stub naming conventions, I'm posting this patch to the released
> > version 1.3 Rmic.java file.
>
> Well, rmic has changed into a facade task in cu
Hi Good ANT users
I'm trying to using the ant script tag to do some basic tests on my EJB's.
Im trying to lookup the
jndi names for each EJB, however the classes I require have to be added to
the CLASSPATH.
My question? How do I add items to the classpath used by the script tag (
apart from mod
How would you compile class A from src1 and class B from src2?
src1/
A.java
B.java
src2/
A.java
B.java
- If the srcdir attribute is set to src1:src2 I get a duplicate class error
- I'm unable to compile them seperately because they depend on each other
- includes
Hi there,
I'm trying to use the style task to perform transforms using xalan.The build
throws a ClassNotFoundException on
org.apache.tools.ant.taskdefs.optional.XalanLiaison (full stack trace
included). Is this a packaging oversight (i.e. XalanLiaison should be in
taskdefs, not taskdefs.optional)
Larry V. Streepy, Jr. <[EMAIL PROTECTED]> wrote:
> In case anyone wants the rmic task to properly handle the IIOP
> stub naming conventions, I'm posting this patch to the released
> version 1.3 Rmic.java file.
Well, rmic has changed into a facade task in current CVS (now supports
the rmic comman
Hello,
I got some error under SCO.
Within some self written tasks I do a
Runtime.getRuntime().exec(cmd);
This fails with a IOException, message is:
"Resource temporarily not availalbe"
If I do the same in a self written class not
related to ant I do not get the exeption.
And, what is realy
> Does "vsslabel" recursively label everything in the specified project?
> I can't seem to get it to do this. I also cannot get ss.exe to
> recursively label everything. Is this standard VSS behavior?
>
> The reason I ask is because I would like to label the entire
> source tree
> and then pul
> I'm having some issues with exec. What I'm trying to do is get
> exec to run this command
> kill -9 `cat program.pid`
> where program.pid file contains the
> process # of the program I am killing.
> all combinations of escape characters and html
> markup codes seem to be not working. Does a
Test
I am planning to integrate ant with our ClearCase system. Does anyone have
any
Experiences / tips they would like to share?
Ryan
44 matches
Mail list logo