Hi,
we want to switch our property files to xml format.
Now i'm looking for the best structure of that xml file.
i thought of =
v_1_0_0_1
Project 1
y
v_2_0_0_3
Project 2
n
v_2_2_0_1
Project 3
n
to access all modules within a for loop i have =
Yes, I paste you the permissions of that directories with the same user that
runs the script (note that the script crash with whatever file, now i'm
trying with version txt, for example):
227 Entering Passive Mode (172,27,6,6,211,250)
150 Opening ASCII mode data connection for /usr/bin/ls.
total
At 16:30 2006-01-16, you wrote:
I have a copy of DirectoryScanner. I do not see any calls to trim
in that code.
I will prepare a patch that quotes the directory name in question.
This might help others that get the error. I do know think it would
be safe to modify the file name, I would not wa
I already committed to HEAD the change to quote the
directory name in the log message. The problem is
with Windows. e.g. see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/naming_a_file.asp
-Matt
--- glenn opdycke-hansen <[EMAIL PROTECTED]> wrote:
> I have a copy of
I have a copy of DirectoryScanner. I do not see any calls to trim in that code.
I will prepare a patch that quotes the directory name in question.
This might help others that get the error. I do know think it would
be safe to modify the file name, I would not want to break something
else.
-
It sounds like either Ant Core or Java is performing a "trim" in one
path of execution that is not being performed on the other. (On a
second read, sounds like java.io.File is ignoring the trailing blank
while DirectoryScanner thinks it is significant).
I don't have this source in front of me
On Friday 13 January 2006 2:35 pm, Gerd Wütherich wrote:
> Hi,
>
> is there any possibility to access an inner jar file that resides in a
> outer jar while using an ant path structure?
>
> Short example:
>
>
>
>
>
>
>
> I did not find any information about it, so i
On Mon, 16 Jan 2006, Lothar Krenzien <[EMAIL PROTECTED]> wrote:
>
>
>
should be or
otherwise you are placing your classes on the classpath and not the
directory.
> And as I said earlier I tried also using the package name
On Mon, 16 Jan 2006, Michael <[EMAIL PROTECTED]> wrote:
> Maybe I can use conditionals to set a property to null (which would
> be ok) if it is not set (Is there a way to set a property to
> null?!)?
No, but will an empty string work as well? If so, just use
to set it. If the property has been
maarten roosendaal wrote:
Thanks, i changed the pattern to exclude innerclasses:
Maarten
yeah, that would do it.
I always give my tests the same ending, so *Test.class catches it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Yes, I was running on windows. We build on windows and deploy to unix.
I just tested it on aix 5.2 and got the following msgs
[echo] jar destfile="output/out2.jar"
[echo] basedir="jar-root "
BUILD FAILED
/app/tibcoems/deployment/ant-jar-filespec-prob/build-basedir-space.xml:67:
/app/
Also, Ant-Contrib has a 'limit' task to handle such cases.
http://ant-contrib.sourceforge.net
On Mon, 16 Jan 2006, Frank Harnack wrote:
I would try the Parallel-Task. There is a timeout attribute available.
Regards,
Frank
Quoting Santosh Pai <[EMAIL PROTECTED]>:
Hey Everyun,
I want t
Are you running on windows? Testing on windows I do
see the same problem, but it appears to me that
directories with trailing spaces are clipped at the OS
level. Nothing we can do here... if you or anyone else
has a nice idea of where in the manual we could make
mention of this little tidbit that'
Ant script to recreate problem is attached.
jar.root.dir.exists=${jar.root.dir.exists}
jar.root.dir.dir1.exists=${jar.root.dir.dir1.exists}
jar destfile="${out.dir}/${out1.jar}"
basedir="${jar.root.dir}"
jar.root.dir.space.exists=${jar.root.dir.space.exists}
--- glenn opdycke-hansen <[EMAIL PROTECTED]> wrote:
> I did make a modification to DirectoryScanner.java.
> The additional output confirms that File.exists()
> thinks that the
> directory with an extra space exists. The change
> that could help is
> to quote the directory name so the space is mor
I did make a modification to DirectoryScanner.java.
The additional output confirms that File.exists() thinks that the
directory with an extra space exists. The change that could help is
to quote the directory name so the space is more promentent. See
below:
[jar] go-get abs path abspath="C
>
> > I can't believe it because the test target depends on the compile
> > target and I included the output dir (where the compiler stores the
> > classes) in my classpath. In the debug output I can see that the
> > classes are really included.
> >
> > [junit] '-classpath' ...
> > W:\de
Yes, you did post that.
Did you check the permissions on the directories, too?
--glenn
On 1/16/06, Javier Ballesteros <[EMAIL PROTECTED]> wrote:
> Hi!
>
> As I posted early, when I put files manually, using same user, same
> password in other words the same account I can delete, create or
Hi!
As I posted early, when I put files manually, using same user, same
password in other words the same account I can delete, create or whatever.
That's the reason of my confusion about where the problem is. I know thi is
a simple script and must work, but in fact doesn't.
Thnkx and chee
Does the user have permissions to delete the file(s)?
from google:
Answer/Solution: The 550 error is a message from the server stating
that the account you have currently logged in as does not have
permission to perform the action you are attempting. You may be trying
to upload to the wrong direct
Hi all!
I have a simple piece of code, to remove files and/or directories, Ive
just
copied the most simple example, and every time I try to execute it, I
obtaoin an ftp 550 error. I'm the only user of the ftp, no process is
locking the file, I have all the permissions, and samples for upl
This is going to be a challenge to patch.
The error is
BUILD FAILED
C:\src\ant-jar-filespec-prob\build-basedir-space.xml:58: IO error
scanning directory C:\src\ant-jar-filespec-prob\jar-root
at
org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1038)
at
org.apache
If you are going to submit a bug report I would advise you to submit a
patch along with it.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
glenn opdycke-hansen <[EMAIL PROTECTED]> wrote on 01/16/2006 08:27:38 AM:
> We have se
Frank Harnack wrote:
I would try the Parallel-Task. There is a timeout attribute available.
Regards,
Frank
I'd be very cautious about handling timeouts in-JVM; there is no
guarantee that Ant is left in anything resembling a stable state at the
time of exit -it depends on what the task was
We have seen a cryptic error message from the jar task. If the
basedir directory does not exist, ant writes the following message
BUILD FAILED
C:\src\ant-jar-filespec-prob\build.xml:49:
C:\src\ant-jar-filespec-prob\bad-base-dir-not-exists not found.
Total time: 0 seconds
However if the basedir
On 16/01/06, Michael Böckling <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a situation where I don't know whether or not a property is set
> at runtime.
> As we all know, if a property is not set, its literal value is passed.
>
> Example:
>
>
> I don't know beforehand if ${var2} is set at runtime
Hi,
I have a situation where I don't know whether or not a property is set
at runtime.
As we all know, if a property is not set, its literal value is passed.
Example:
I don't know beforehand if ${var2} is set at runtime or not, so
sometimes the literal "${var2}" is passed to the task, which
I would try the Parallel-Task. There is a timeout attribute available.
Regards,
Frank
Quoting Santosh Pai <[EMAIL PROTECTED]>:
> Hey Everyun,
>
>
>
> I want to add a *time-out* feature to my build scripts..i.e. if a task
> exceeds a pre-defined time limit, I need to croak out the same and exit.
Hey Everyun,
I want to add a *time-out* feature to my build scripts..i.e. if a task
exceeds a pre-defined time limit, I need to croak out the same and exit.
Any help ??
Thanks
Santosh Pai
Technical Lead
Quagnito Solutions Pvt. Ltd.
302 - Kapil Klassic,
Baner Road,
Pune 411 045, Indi
Thanks, i changed the pattern to exclude innerclasses:
Maarten
--- Steve Loughran <[EMAIL PROTECTED]> wrote:
> maarten roosendaal wrote:
> > Hi,
> >
> > I have create a MultiThreadedTestCase based on the
> one
> > descibed in
> >
>
http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-junit.ht
maarten roosendaal wrote:
Hi,
I have create a MultiThreadedTestCase based on the one
descibed in
http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-junit.html.
It uses an Innerclass that extends TestCaseRunnable
that implements Runnable.
When i run the test from Eclipse it works fine. When i
Hi,
I have create a MultiThreadedTestCase based on the one
descibed in
http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-junit.html.
It uses an Innerclass that extends TestCaseRunnable
that implements Runnable.
When i run the test from Eclipse it works fine. When i
run the test from an ANT bu
32 matches
Mail list logo