Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Set preference in configuration scope
Set preference in configuration scope [message #1704118] Fri, 07 August 2015 12:20 Go to next message
Mattias Mising name is currently offline Mattias Mising nameFriend
Messages: 19
Registered: June 2010
Junior Member
Hi all, I have just started using oomph and have the following questions.

Is it possible to set a preference in configuration scope? For instance I would like to be able to set org.jboss.tools.usage.prefs. ask_user_for_usage_report_preference

Is it possible to read stream names from an external file? Using xinclude or something similar. Available streams are known by another tool chain and I would like to update the setup automatically.

Is it possible to create a Working set from a Maven import? I.e. from all nested projects.

It would be nice to be able to prepend an existing preference value not just set it. For example org.eclipse.ant.core/additional_entries is a comma separated list of jar-files. The JDK tools.jar location is the default value and I would like to add a entry.
Re: Set preference in configuration scope [message #1704134 is a reply to message #1704118] Fri, 07 August 2015 14:35 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 07.08.2015 um 14:20 schrieb Mattias Andersson:
> Hi all, I have just started using oomph and have the following questions.
>
> Is it possible to set a preference in configuration scope?
I don't recall anything that should hold you from writing /configuration/xyz... into the preference task key. Just the
preference recorder ignores those.

> For instance I would like to be able to set org.jboss.tools.usage.prefs. ask_user_for_usage_report_preference
>
> Is it possible to read stream names from an external file? Using xinclude or something similar. Available streams are
> known by another tool chain and I would like to update the setup automatically.
I don't think that oomph has something specifically useful for that. To me it sounds more promising to generate your
setup file from your external toolchain data.

> Is it possible to create a Working set from a Maven import? I.e. from all nested projects.
There are all sorts of predicates that you can use to define your working set. Please let us know if you're missing a
specific one, then we can discuss if and how we can provide it.

> It would be nice to be able to prepend an existing preference value not just set it. For example
> org.eclipse.ant.core/additional_entries is a comma separated list of jar-files. The JDK tools.jar location is the
> default value and I would like to add a entry.
That's currently not possible. It's on the list of things we want to enhance w.r.t. the entire preference recording and
management story. I hoped to get much of that into Mars SR1, but it seems unlikely right now.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: Set preference in configuration scope [message #1704178 is a reply to message #1704118] Sat, 08 August 2015 00:24 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

About nested projects and working sets, have you tried using the project explorer and set "project presentation" to "hierarchical" from the project explorer view menu? It might be a good solution for your use-case, without need to tweak the oomph profile.
Previous Topic:Custom product launcher name
Next Topic:Startup task overwrites my target platform
Goto Forum:
  


Current Time: Sun Dec 08 22:59:12 GMT 2024

Powered by FUDForum. Page generated in 0.03263 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top