On 09/01/2008, Karl Pauls <[EMAIL PROTECTED]> wrote:
>
> Stuart,
>
> is it possible the we have a problem under windows? I get a strange
> error message saying something along the following lines:


if there is, it must be recent - I used the bundleplugin on windows a few
days ago

[INFO] Installing C:\<path-top-target>\target-bundle-2.0-SNAPSHOT.jar
> to \.m2\repository\<path-to-target>\2.0-SNAPSHOT\target-
> bundle-2.0-SNAPSHOT.jar
> [INFO] [bundle:install]
> [ERROR] file doesn't exist:
> /.m2/repository/<path-to-target>/2.0-SNAPSHOT/target-
> bundle-2.0-SNAPSHOT.jar
>
> Notice the different slash direction in the ERROR....


java.io.File on Windows doesn't mind about the different slashes, it
normalizes them
to the platform separator - this could be why you see different strings. ie.
one is the
string from Maven (which always uses '/' no matter which platform) and the
other is
from the underlying File operation which has normalized the path.

The "/.m2/repository/..." string looks suspect as it suggests Maven has been
unable
to find the user's local repository (it looks like this error is coming from
Maven core)

Some problem determination ideas...

  1)  did this project previously build and install ok on the _same_ machine

  2)  if so, what has changed recently (installed s/w, user settings.
project, etc...)

  3)  if you change the <packing> to "jar" does it then install ok

  4)  can you provide the output from "mvn clean install -X"

  5)  can you provide the output from "mvn help:effective-settings"

upload the logs (plus the testcase if available) to JIRA or send them direct
to me

regards,
>
> Karl
>
> On Jan 8, 2008 4:02 PM, Stuart McCulloch <[EMAIL PROTECTED]>
> wrote:
> > Hi folks,
> >
> > FYI, I've just deployed a new bundleplugin snapshot that updates
> > bndlib to 0.0.227, which disables the spring XML parser by default.
> >
> > This is hopefully the last snapshot before we cut a release for 1.2.0
> > so let me know if you find any issues using it :)
> >
> > --
> > Cheers, Stuart
> >
>
>
>
> --
> Karl Pauls
> [EMAIL PROTECTED]
>



-- 
Cheers, Stuart

Reply via email to