Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Adding a default workspace via rootfiles

Hi,

thanks - it worked like a charm.

Best regards,

Robert

PS: Sorry - I forgot to check the bugzilla before posting to the mailing list again.

Am 31.08.2015 um 16:49 schrieb SCHREIBER.Martin <Martin.SCHREIBER@xxxxxxxxxxxxx>:

Hi,

 

as mentioned in the Bug [1], try to use

 

rootFiles.useDefaultExcludes = false

 

 

in the features build.properties.

 

HTH

Martin

 

[1]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=476159#c2

 

Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Robert.Hilbrich@xxxxxx
Gesendet: Montag, 31. August 2015 16:44
An: tycho-user@xxxxxxxxxxx
Betreff: Re: [tycho-user] Adding a default workspace via rootfiles

 

Dear all,

 

I think I stumbled upon a bug. Disabling the use of default excludes does not include the .metadata directory (see below). Does anybody have any idea what is going on here? Is there an alternative to using the tycho-packaging-plugin?

 

Thank you for any valuable input,

 

best regards,

 

Robert

 

 

 

Am 27.08.2015 um 20:26 schrieb Hilbrich, Robert <Robert.Hilbrich@xxxxxx>:

 

Dear Simon,

 

thank you for your pointer. The description of the pluginParameter sounds promising. Unfortunately, I can’t seem to get it to work. But I am still a tycho-newbie.

 

The feature containing the default workspace (including .metadata) is called: „ch.hilbri.assist.features.defaults“. I tried to add the config parameter, so that pom.xml of this feature now contains:

 

———————————————————————————

<modelVersion>4.0.0</modelVersion>

<artifactId>ch.hilbri.assist.features.defaults</artifactId>

<packaging>eclipse-feature</packaging>

<parent>

<groupId>assist</groupId>

<artifactId>ch.hilbri.assist.releng</artifactId>

<version>2.0.0-SNAPSHOT</version>

<relativePath>../ch.hilbri.assist.releng</relativePath>

</parent>

 

<build>

<plugins>

<plugin>

<groupId>org.eclipse.tycho</groupId>

<artifactId>tycho-packaging-plugin</artifactId>

<version>0.23.1</version>

<configuration>

<useDefaultExcludes>false</useDefaultExcludes>

</configuration>

</plugin>

</plugins>

</build>

</project>

———————————————————————————

 

Unfortunately, this does not change anything. The .metadata folder is still excluded … What did I miss?

 

Thank you for efforts and best regards,

 

Robert

 

 

Am 27.08.2015 um 14:56 schrieb Simon Goodall <simon@xxxxxxxxxxxxxxxxxx>:

 

Hi Robert,

 

I've come across this some time ago. I believe you will need to set the tycho packaging plugin parameter "useDefaultExcludes" [1] to false in the pom file for your feature. There are a bunch of files and folders excluded by default - including .metadata - see [2]. You may need to replicate some of the default exclude patterns in your pom depending on your SCM.

 

 

HTH,

 

Simon

 

On 27 August 2015 at 11:59, <Robert.Hilbrich@xxxxxx> wrote:

Dear all,

 

I would like to populate my RCP product with a „default workspace“, containing a default project.

 

I tried to achieve this by creating a dedicated feature and a rootfiles-folder which is configured in the build.properties file. The rootfiles-folder contains the workspace-folder which comprises of a default project and some settings (in a .metadata folder). See screenshot:

 

 

Building the product works fine, and the resulting “ch.hilbri.assist.features.defaults_root-2.0.0.201508270922-root.zip” file contains the workspace and the “ExampleProject”. Unfortunately, the “.metadata” folder has NOT been copied.

 

I tried to check the documentation for rootfiles, but there seems to be no options like “include dot-files or dot-folders”.

 

Are there any other options to copy the “workspace folder” (including .metadata) to the target?

 

Best regards,

 

Robert

 

 

 

 


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

 

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

 

 

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top