https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #15 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-08 03:18:48
PST ---
do you think there is anything else we can do or should I close this as
WORKSFORME?
--
Configure bugmail: https://issues.apache.org/bugzilla/userpre
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #14 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-05 03:25:10
PST ---
so you'd need to find out which part it is that causes the problem, running
within your code, within JUnit or within surefire.
I'd start by wrapping a
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #13 from Miroslav Nachev <[EMAIL PROTECTED]> 2008-09-05 03:03:16
PST ---
Yes, when the test is not in maven and is not started from JUnit (4.x) the
result is OK.
--
Configure bugmail: https://issues.apache.org/bugzilla/u
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #12 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-05 02:18:52
PST ---
would you please try my Test.java instead of a different Java class run from a
JUnit test run form Maven 8-)
The later really leaves too many unknowns
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #11 from Miroslav Nachev <[EMAIL PROTECTED]> 2008-09-05 02:09:06
PST ---
Build file for SSH Ant Script tests.
${user.dir}
${basedir}
Main ant = new Main();
ant.startAnt(command.toArray(new String[comma
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #10 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-05 02:06:20
PST ---
(In reply to comment #8)
> > Yes, user.dir may be read in some places but neither is directly related to
> > setting the basedir.
>
> I am not agree w
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #9 from Miroslav Nachev <[EMAIL PROTECTED]> 2008-09-05 01:44:07
PST ---
(In reply to comment #7)
> x.xml is
>
>
> ${user.dir}
> ${basedir}
>
The build xml file is not full. Place one file inside like that:
When
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #8 from Miroslav Nachev <[EMAIL PROTECTED]> 2008-09-05 01:24:43
PST ---
> Yes, user.dir may be read in some places but neither is directly related to
> setting the basedir.
I am not agree with that again. The true is that
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #7 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-05 01:18:15 PST
---
Let's see.
Test.java is
import org.apache.tools.ant.Main;
public class Test {
public static void main(String[] args) throws Exception {
S
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #6 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-05 01:04:05 PST
---
I'm not suggesting you should invoke project.getBasedir earlier (prior to
project.init), quite the opposite.
Something is calling getBasedir on your pr
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #5 from Miroslav Nachev <[EMAIL PROTECTED]> 2008-09-05 00:36:43
PST ---
When I am calling project.getBaseDir() before project.init() which is located
in runBuild the problem is not solved because the retrieved directory is
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #4 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-05 00:11:17 PST
---
I think you misunderstood me. Your code, the code starting Ant, must be
calling getBasedir before it is safe to do so, right now I don't see anything
w
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #3 from Miroslav Nachev <[EMAIL PROTECTED]> 2008-09-04 23:39:33
PST ---
(In reply to comment #2)
> My guess is that something in your code invokes project.getBasedir() before
> the
> project's build file has been parsed.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
--- Comment #2 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-09-04 23:25:03 PST
---
There are two different places where basedirs might get resolved. One is in
Project#setBaseDir which may be invoked with "." if Project#getBasedir is
c
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739
Stefan Bodewig <[EMAIL PROTECTED]> changed:
What|Removed |Added
Severity|blocker |normal
---
15 matches
Mail list logo