On 17/11/2007, Wouter de Vaal <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> As mentioned before, I used pax construct cloning to update my project
> from 0.1.6 to 0.5.1.
> When I try to create the external bundle projects in the "provision"
> directory like this:
> mvn -DdownloadSource=true clean pax:eclipse
>
> all projects are created, but only a few are ok.


ouch, my fault... the logic to fix the PDE classpath for imported bundles
was off and basically only added
that entry when the source attachment existed. BTW, the Eclipse plugin
setting is "-DdownloadSources"
which explains why certain bundles (which probably already had source
attachments in the local repo)
had the right PDE classpath, but others didn't.

I've just put in a fix for this which will be in 0.6.1 (along with a couple
of other Eclipse/PDE fixes) which
will be released today/tomorrow...

For example, spring-core is created the correct way, but spring-web isn't,
> the difference is in the
> .classpath file:
> spring-core:
> <classpath>
>   <classpathentry path=".ignore" kind="output"/>
>   <classpathentry
> sourcepath="/home/wouter/.m2/repository/org/springframework/spring-core/2.5-rc2/spring-
> core-2.5-rc2-sources.jar" path="." exported="true" kind="lib"/>
> </classpath>
>
>
> spring-web:
> <classpath>
>   <classpathentry kind="output" path=".ignore"/>
> </classpath>
>
> Other that these differences, the projects look exactly the same, the
> classes are there, .project files, manifests.
>
> Also the depencies in the pom.xml in the provision dir look the same:
>     <dependency>
>       <groupId>org.springframework</groupId>
>       <artifactId>spring-core</artifactId>
>       <version>2.5-rc2</version>
>       <scope>provided</scope>
>     </dependency>
>
>     <dependency>
>       <groupId>org.springframework</groupId>
>       <artifactId>spring-web</artifactId>
>       <version>2.5-rc2</version>
>       <scope>provided</scope>
>     </dependency>
>
> Any ideas?
>
> Wouter
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
Cheers, Stuart
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to