[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] src.includes ignored by tycho-source-plugin
|
Hello Jan,
I attached an example project. I think it should emit the source
bundle, in PDE, it does. Still, maybe I misusing this concept. Thanks!
Regards,
Balazs
On Fri, Feb 17, 2012 at 10:50 AM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
> integration test [1] should cover the src.includes scenario, see the sample project [2].
>
> We will need a sample project with steps how to reproduce the problem.
>
> If you are calling the tycho-source-plugin:plugin-source goal on the CLI only, this currently does not work [3].
> I guess we can fix this, as a workaround configure it explicitly in the pom.xml.
>
> Jan
>
> [1] http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-its/src/test/java/org/eclipse/tycho/test/TYCHO449SrcIncludesExcludes/Tycho449SrcIncludesExcludesTest.java
> [2] http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-its/projects/TYCHO449SrcIncludesExcludes
> [3] http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-source-plugin/src/main/java/org/eclipse/tycho/source/OsgiSourceMojo.java#n213
>
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Balazs Varnai
> Sent: Freitag, 17. Februar 2012 09:32
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] src.includes ignored by tycho-source-plugin
>
> Hi All,
>
> I am repackaging external jars as bundles. I also would like to attach
> the source code to the bundles. But my approach is a bit different
> than normal build, because I don't want to compile the sources. Thus,
> I don't want include "source.${jarfile} = src/" in my build.properties
> file. This would result the complete build of the jar, eventually the
> creation of the source bundle too.
>
> I tried "src.includes" in PDE (export->generate source bundles).
> Worked fine, one bundle with the jar and one with sources of the jar.
> But in tycho 0.14.0, the tycho-source-plugin does not generate a
> source plugin? Any suggestion?
>
> Thanks!
>
> Regards,
> Balazs Varnai
>
> The build.properties content:
>
> build.properties
> src.includes = src/
> bin.includes = META-INF/,\
> plugin.properties,\
> guava-11.0.1.jar
>
> The pom content:
>
> as usual packaging->eclipse-plugin
>
> build->tycho-source-plugin->goal plugin-source
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
Attachment:
TestSrcIncludes.zip
Description: Zip archive