Actually forget my last comment I've just seen that eclipse:eclipse
fails in the same way in the following method:
private static String toRelative( File basedir, String
absolutePath )
{
String relative;
if ( absolutePath.startsWith( basedir.getAbsolutePath() ) )
{
JUST HERE>>> relative = absolutePath.substring
( basedir.getAbsolutePath().length() + 1 );
}
else
{
relative = absolutePath;
}
relative = StringUtils.replace( relative, "\\", "/" );
return relative;
}
exception is java.lang.StringIndexOutOfBoundsException: String index
out of range: -1
Also if I wanted to do a local fix, how easy is it to build the
eclipse plugin on its own and get it into my repository??
Thanks
- AW
On 2 Sep 2005, at 17:17, Ashley Williams wrote:
Ok the latest maven seems to work despite the build exception and
happily I was able to run the eclipse:eclipse goal successfully.
However when I open the project in eclipse the files appear under
the (default package) node which means eclipse red crosses
everywhere. This despite the fact that the source code was created
under com.blah.... and installed okay.
On 2 Sep 2005, at 16:27, Ashley Williams wrote:
Oh happy day - not!
Just had a glance at my console only to see the pasted text below
- is this going to be a build breaker? I'm using Java 5 by
default, is this a mistake?? Also Mac OS X doesn't appear to have
a tools.jar file.
COPY AND PASTE...
Running maven-core integration tests ...
Using default local repository: /Users/developer/.m2/repository
it0063... FAILED
----- Standard Out -----
Command: /Applications/maven-latest/bin/m2 -e --no-plugin-registry
--batch-mode -Dmaven.repo.local=/Users/developer/.m2/repository
clean:clean package
----- Standard Error -----
Exit code: 1
>>>>>> Error Stacktrace:
org.apache.maven.it.VerificationException
at org.apache.maven.it.Verifier.executeGoals(Verifier.java:
574)
at org.apache.maven.it.Verifier.main(Verifier.java:677)
<<<<<< Error Stacktrace
Log file contents:
+ Error stacktraces are turned on.
[INFO] Searching repository for plugin with prefix: 'clean'.
[INFO]
---------------------------------------------------------------------
-------
[INFO] Building org.apache.maven.it:maven-core-it0063:jar:1.0
[INFO] task-segment: [clean:clean, package]
[INFO]
---------------------------------------------------------------------
-------
[INFO] [clean:clean]
[INFO] [resources:resources]
[INFO]
---------------------------------------------------------------------
-------
[INFO] BUILD FAILURE
[INFO]
---------------------------------------------------------------------
-------
[INFO] Main Error:
System artifact: jdk-tools:jdk-tools:jar:1.4.2 not found in
path: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home/../lib/tools.jar
jdk-tools:jdk-tools:1.4.2:jar
Path to dependency:
1) org.apache.maven.it:maven-core-it0063:jar:1.0
2) jdk-tools:jdk-tools:jar:1.4.2
Root error:
System artifact: jdk-tools:jdk-tools:jar:1.4.2 not found in
path: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home/../lib/tools.jar
jdk-tools:jdk-tools:1.4.2:jar
Path to dependency:
1) org.apache.maven.it:maven-core-it0063:jar:1.0
2) jdk-tools:jdk-tools:jar:1.4.2
On 2 Sep 2005, at 15:52, Trygve Laugstøl wrote:
On Fri, Sep 02, 2005 at 03:34:59PM +0100, Ashley Williams wrote:
Don't understand what you're saying the problem is, but will the
fix
be quick, i.e. 10 minutes?? If so then I don't mind waiting...
Try now.
--
Trygve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]