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 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.

[1] https://eclipse.org/tycho/sitedocs/tycho-packaging-plugin/package-plugin-mojo.html
[2] http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.plexus/plexus-utils/2.0.5/org/codehaus/plexus/util/AbstractScanner.java

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


Back to the top