Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Dynamically add resources to plugin


> in my tycho build I want to add resources to plugins dynamically. This
> is done triggering a Javadoc execution:
> <execution>
>         <id>build-docs</id>
>         <phase>generate-sources</phase>
>         <goals>
>                 <goal>javadoc</goal>
>         </goals>
> </execution>
> I am using a modified doclet that creates eclipse help pages on the fly.
> Thus altering plugin.xml, and
> Unfortunately created resources (like a help folder with the html files)
> will not be picked up by the tycho build anymore.
> The resulting jar contains the modified files, but not the new ones. I
> guess tycho is parsing before and does not take into
> account modifications done at a later stage.
> Is there a way to add these resources to the build dynamically?

can't you just set outputDirectory [1] to
${} (by default target/classes), which is
what's ultimately going to be packages as a JAR?

Hope this helps.



Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

Back to the top