Hi,
Sharing a tip, and making a feature request:
Currently, it seems that filesets are not printable, but path-like
structures are printable. However, path-like structures can be formed
from filesets. Here's an example of how to print a fileset:
project name="TestProj" default="print"
In the junit subdir, I have a build.xml, and a junit3.5.zip, both of
which are in source control. During the build, the zip file gets
unzipped creating a junit3.5 subdirectory, and all of it's contents.
The file in question is created by the unzip.
As for rebooting, I can't say that I remember
You could try using the if and unless attributes of target.
jim
- Original Message -
From: "N. J. O'Neill" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2001 10:40 PM
Subject: RE: environment variables
But there doesn't seem to be a way to control execution of a
Title: RE: pulling out the code from SourceSafe
Thanks
for the explanation. I'm having a problem with my vsspath. Part of the problem
is that VSS is on another computer on our network but I still should be able to
get to if I use the correct path statement. What is vssget looking for? The
Dana,
We're using code similar to the following:
...
rem setenv.bat - This part runs in a batch script.
rem
rem You seem to need to have this environment variable
rem set in order for VSS to find the database.
set ssdir=\\SERVER\path\to\vss_database
...
!-- build.xml --
!-- Note that VSS calls
Thanks Shannon, I'm closer but still not there. Am I wrong in observing that
vssget tries to execute ss.exe? Should it not be ssexp.exe?
-Original Message-
From: Shannon Wagner [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 9:49 AM
To: '[EMAIL PROTECTED]'
Subject: RE: pulling
It should be executing ss.exe, since this is the command line version of the
application. ssexp.exe is just a GUI front-end.
-Original Message-
From: Dana Rice [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 12:40 PM
To: '[EMAIL PROTECTED]'
Subject: RE: pulling out the code
OK, I wasn't sure because when I execute ss.exe I get into "help". Do you
run you env.bat just before the ant build? I think this is still my problem.
I get this:
[vssget] $/path/to/project/in/vss is not an existing filename or project.
Is \\SERVER\path\to\vss_database
explicitly what is mapped
Rebooting does not correc the problem. In at least one case, cygnus rm did remove
the file. Also, please note that I am doing the exact same type of thing (expand
and remove, both from ANT) with several other zip/tar/jar files, and none of them
have the problem. The file in question does
Sorry - I don't know why executing ss.exe brings you into "help".
Yes, we are running "setenv.bat" to set the ssdir variable before each
build.
As for the error you are getting...
[vssget] $/path/to/project/in/vss is not an existing filename or project.
"$/path/to/project/in/vss" needs to be
Ok. I'm new to ANT, but not necessarily to CM/Build. :)
Anyway, how does one get JAXP to function correctly? Should I reference it
in the classpath or install it as a plug-in to the Java JDK?
I'm using IBMJDK1.2.2 that is prepackaged with IBM's WebSphere 3.5.
-Dave
Well, just as a workaround, you could change your "clean" target to exec
an 'rm' on that file before you do the delete on the dir. Hacky, I know,
but at least it could move you forward for now while you work on figuring
out the problem.
Diane
--- [EMAIL PROTECTED] wrote:
Rebooting does not
Shannon, I appreciate the help. What I see in VSS explorer above the right
pane is $/agent/dca3.2.
The env.bat looks like:
set ssdir=\\Ftcollins\FTCOLLINS_D\VSS\COMDev
And FTCOLLINS is one of my network places.
target name="getcode"
vssget localpath="C:/dca3.2test"
recursive="true"
What's the error that you are getting?
Have you tried also specifying the "login" attribute within the vssget
call? I think you need it.
Does the account under which Ant is running have sufficient rights to
\\Ftcollins\FTCOLLINS_D\VSS\COMDev?
-Original Message-
From: Dana Rice
- Original Message -
From: "Dana Rice" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 7:27 PM
Subject: RE: pulling out the code from SourceSafe
Shannon, I appreciate the help. What I see in VSS explorer above the right
pane is $/agent/dca3.2.
The env.bat looks
- Original Message -
From: "David Scassa" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 7:11 PM
Subject: Newbie Question
Ok. I'm new to ANT, but not necessarily to CM/Build. :)
Anyway, how does one get JAXP to function correctly? Should I reference it
in the
The full error:
[vssget] $/agent/dca3.2 is not an existing filename or project
BUILD FAILED
C:\dca3.2test\testcms.xml:26: Failed executing: "C:\Program Files\Microsoft
Visual Studio\
\win32\ss" Get $/agent/dca3.2 -GLC:\dca3.2test -I- -R -W
I have tried the login, I have a usename but I
Title: RE: pulling out the code from SourceSafe
Try running this command at a command prompt
ss dir $/agent/dca3.2
You should see a listing of the files in your dca3.2 project. If you don't, then get a listing of the $/agent project, and so on. If you can't find the agent project, then
This may sound wacky, but I've had the same problem (though it was
intermittent).
What it turned out to be was that there is a W2K feature that scans and
indexes all of the files on the system for use by the Search... tool.
Many times a directory will "suddenly appear" (ala exploding a zip, or
Peter:
Thank you for your sugestion, that fixed my problem.
-Original Message-
From: Peter Donald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 6:47 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: Runing ant in Solaris
At 12:25 12/4/01 -0400, Jose Fernandez
Title: RE: Delete fails (more)
This may sound wacky, but I've had the same problem (though it was
intermittent).
What it turned out to be was that there is a W2K feature that
scans and
indexes all of the files on the system for use by the Search... tool.
Not sure if this is what
Title: How can I resolve Java dependencies w/o javac
I
think the ant "party line" is thatin general it's faster to do "ant
clean;ant rebuild" than to try to parse dependencies. You might give
that a try first. There are tasks for determining dependencies, but I
don't believe that's
Guess it was a newbie error afterall.
I had created the build.xml file using wordpad and I guess some control
characters were added to the file. When I deleted the file and re-created it
using notepad, it went through fine.
Thanks to everyone who replied.
SANTOSH PULLEN [EMAIL PROTECTED] wrote:
Title: RE: pulling out the code from SourceSafe
I
think that is the issue. I'm not setting ssdir correctly. The VSS database is on
another machine and I must not be mapping it correctly.
-Original Message-From: Peterson, Lance
[mailto:[EMAIL PROTECTED]]Sent: Friday, April 13,
As always, it's obvious once you see how to do it -- just use the os.name
system property in the name of a new Ant property:
property name="is.${os.name}" value="true"/
target name="sunStuff" if="is.SunOS"
:
:
/target
--Neil
At 06:19 PM 4/12/01, you wrote:
I haven't
Title: How can I resolve Java dependencies w/o javac
HI,
You guys could use a product called the JavaDepend,
search on google ...you would probably get it at some university sites.You also
need to download jgl from object space and JavaCC to make this tool work
.It is the java equivalent of
I don't know whatant does, but take a look at werken.javad at
http://code.werken.com
"Brooke Wallace (EWU)" wrote:
Hi,
A friend of mine pointed out your project because you are working
on an
make like environment to build java code. We are also building java
code and
have a very
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Could someone point me to a discussion of the depend attribute of
javac?
The docs don't say much.
thanks,
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP Personal Privacy 6.5.8
Look at the dtd tag in the ejbjar command. You can use this to point the
dtd validation to a local file. We do that and it works peachy.
Will Hartung
([EMAIL PROTECTED])
From: "Goli, Srikanth" [EMAIL PROTECTED]
I am using EJB optional tasks. While building an ejb jar using ejbjar
task,
Your first problem is that "chmod" function is failing. These are the
errors you listed:
chmod: can't access bootstrap/bin/ant
chmod: can't access bootstrap/bin/antRun
So, you need to run the build script as a user that has proper rights to
change properties of "bootstrap/bin/ant" and
Turned out that my problem with permanently registering my custom tasks was
that I was actually using a different set of bits than I thought I was.
Using -verbose gave me the clue. It works as expected, of course.
--
Gary
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL
--- james [EMAIL PROTECTED] wrote:
Could someone point me to a discussion of the depend attribute of
javac? The docs don't say much.
Don't know that there's ever been that much of a discussion about it -- if
it's set on, then for certain compilers (namely, 'javac' for JDK1.1 and
1.2, and
32 matches
Mail list logo