Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Dynamic update of build.properties

Title: Dynamic update of build.properties

Hi,

in one of my projects I want to dynamically build help pages during a tycho build. Therefore I provided a dedicated JavaDoc doclet that creates help pages, updates the plugin.xml (to register a help page) and so on.

It also changes the build.properties file to add a generated “help” folder to the “bin.includes”

During my build I run the javadoc doclet as follows:

<plugin>

        <!-- Enable module documentation builder -->

        <artifactId>maven-javadoc-plugin</artifactId>

        <groupId>org.apache.maven.plugins</groupId>

        <version>2.9.1</version>

        <configuration>

                <outputDirectory>${project.build.directory}/../mydocs</outputDirectory>

                <doclet>org.eclipse.ease.helpgenerator.ModuleDoclet</doclet>

                <docletPath>${workspace}/tools/helpDoclet/bin</docletPath>

                <additionalparam>-root ${project.build.directory}/..</additionalparam>

                <useStandardDocletOptions>false</useStandardDocletOptions>

        </configuration>

        <executions>

                <execution>

                        <id>build-docs</id>

                        <phase>generate-resources</phase>

                        <goals>

                                <goal>javadoc</goal>

                        </goals>

                </execution>

        </executions>

</plugin>

The doclet runs correctly, adding resources and manipulating configuration files. Unfortunately my help folder will not be packaged into the resulting jar file.

Still I can see that plugin.xml and MANIFEST.MF were updated correctly.

Does tycho read the build.properties before and cache that data? Is there a way I can add the help folder to packaging?

thanks

Christian

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top