Skip to main content

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

build.properties is a source file and as such not changed/updated during build.

If you need more flexibility wrt bin.includes, additionalFileSets[1] should help.

> Still my doclet does a little bit more than that.

sounds like you could contribute to [2] ?

Regards,
Jan

[1] http://eclipse.org/tycho/sitedocs/tycho-packaging-plugin/package-plugin-mojo.html#additionalFileSets 
[2] http://eclipse.org/tycho/sitedocs-extras/tycho-document-bundle-plugin/plugin-info.html 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Christian.Pontesegger@xxxxxxxxxxxx
Sent: Dienstag, 25. März 2014 14:02
To: tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] Dynamic update of build.properties

Thanks, did not know that one. Still my doclet does a little bit more than that. It analyses the existing plugin.xml and creates depending on registered extensions multiple help topics. So I still need a way to update the build.properties or to teach tycho to add my directory to the build.

I tried to use

<plugin>
                <!-- Add generated help folder to build -->
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-packaging-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                               <additionalFileSets>
                                               <fileSet>
                                                               <directory>${project.build.directory}/../help/</directory>
                                                               <includes>
                                                                              <include>**/*</include>
                                                               </includes>
                                               </fileSet>
                               </additionalFileSets>
                </configuration>
</plugin>

But had no luck either.

I will try to copy the files to the target/classes folder. But even if this might work it seems like a workaround to me.

Regards
Christian

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: Tuesday, March 25, 2014 1:49 PM
To: Tycho user list
Subject: Re: [tycho-user] Dynamic update of build.properties

you may want to have a look at the Tycho Document Bundle PLugin
https://wiki.eclipse.org/Tycho/Release_Notes/0.20
 
Jan



Back to the top