Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Inserting example features into build.
Inserting example features into build. [message #560051] Tue, 21 September 2010 00:06 Go to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Hi all,

I have a pretty basic usage that I'm wondering if folks have ideas for..

1. I have a working IDE build.
2. I have an example feature that for obvious reasons I don't include int he IDE build itself.

I'd like to insert the examples into the zipped package that the user will install, preferably in a sibling directory to the IDE build install, but it could be in the install directory itself. Now, I could do that using two separate builds and using ant to package things but it would be nice to be able to do this with mostly buckminster headless actions. Ideas?

thanks.

Miles
Re: Inserting example features into build. [message #560058 is a reply to message #560051] Tue, 21 September 2010 02:36 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
In what form do you have your "example feature", and how do you want a user to consume it? As source in the workspace, as something they install into their IDE, etc?
Re: Inserting example features into build. [message #603890 is a reply to message #560058] Tue, 21 September 2010 19:29 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Henrik Lindberg wrote on Mon, 20 September 2010 22:36
In what form do you have your "example feature", and how do you want a user to consume it? As source in the workspace, as something they install into their IDE, etc?



Sorry, I left that critical part out. This would be for installing into the target IDE. (Ideally I'd have those in the installed workspace but that's outside of scope here.) The user wouldn't actually see the feature in a build anywhere. Instead the (unbuilt) projects from version control would simply be copied to the IDE directory so that the user could then import them into his or her workspace.
Re: Inserting example features into build. [message #613200 is a reply to message #603890] Tue, 21 September 2010 20:42 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Maybe I am a bit dense, but I don't understand what you want :)

On 9/21/10 9:29 PM, Miles Parker wrote:
> Henrik Lindberg wrote on Mon, 20 September 2010 22:36
>> In what form do you have your "example feature", and how do you want a
>> user to consume it? As source in the workspace, as something they
>> install into their IDE, etc?
>
>
> Sorry, I left that critical part out. This would be for installing into
> the target IDE.
What is "target IDE"? Do you mean the IDE itself, the target platform
used by the IDE to build against, or a self hosted IDE being executed by
the IDE, or one of those in yet another configuration?

> (Ideally I'd have those in the installed workspace but
What is "installed workspace"? - one IDE instance uses one workspace (at
a time), nothing is ever "installed" into the workspace - do you mean
having binaries in the workspace?

> that's outside of scope here.) The user wouldn't actually see the
> feature in a build anywhere.
Not sure I understand - do you mean that the user does not see the
feature as source available in the workspace built by the IDE, and
instead see it in some other shape?

> Instead the (unbuilt) projects from version
> control would simply be copied to the IDE directory so that the user
> could then import them into his or her workspace.
Which IDE directory is that? Workspace? The location where things that
are installed into the IDE reside?

I think it could be helpful if you described your usecase a bit more...

Sorry for not being of more help.
Regards
- henrik
Re: Inserting example features into build. [message #614442 is a reply to message #613200] Tue, 21 September 2010 21:58 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Henrik Lindberg wrote on Tue, 21 September 2010 16:42
Maybe I am a bit dense, but I don't understand what you want Smile
I think it could be helpful if you described your usecase a bit more...



You're right..this is what I want to end up with:

MyZip.zip contains..

Examples
-example.1 (both built from projects referred to in myapp.examples-feature)
-example.2
MyApp
-Configuration
-Dropins
-Eclipse
-etc..

Could also be:

MyApp
-Configuration
-Dropins
-Eclipse
-Examples
--example.1 (both built from projects referred to in myapp.examples-feature)
--example.2
-etc..
Re: Inserting example features into build. [message #614792 is a reply to message #614442] Tue, 21 September 2010 22:04 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Miles Parker wrote on Tue, 21 September 2010 17:58
[Example Outline]



Sorry, for "(both built from projects referred to in myapp.examples-feature)" I mean not "built", but simply the **actual contents** (i.e. pulled directly from SVN) of those projects.

Again, I could do this with ant, but I would like to be able to retrieve and maintain the example features just as with other buckminster artifacts, but I here I want not the built artifacts but the projects themselves, just as if I had materialized them into my workspace.

Another way to look at it is as if I materialized the example features into my target workspace, but here I want to materialize them to some place where I can then include them with my distribution.

The motivating goal here is to make it as simple as possible for users to get up and running with example projects. Ideally, I'd like to actually have the projects automatically loaded (or pre-loaded) in the users workspace automatically, but that doesn't seem very easily doable.
Re: Inserting example features into build. [message #625453 is a reply to message #614792] Wed, 22 September 2010 08:49 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Since Buckminster can create source bundles when creating a p2
repository it could be possible to just import those, or write some "new
wizard" that makes the choices explicit to the user.

Regards
- henrik

On 9/22/10 12:04 AM, Miles Parker wrote:
> Miles Parker wrote on Tue, 21 September 2010 17:58
>> [Example Outline]
>
>
> Sorry, for "(both built from projects referred to in
> myapp.examples-feature)" I mean not "built", but simply the **actual
> contents** (i.e. pulled directly from SVN) of those projects.
>
> Again, I could do this with ant, but I would like to be able to retrieve
> and maintain the example features just as with other buckminster
> artifacts, but I here I want not the built artifacts but the projects
> themselves, just as if I had materialized them into my workspace.
>
> Another way to look at it is as if I materialized the example features
> into my target workspace, but here I want to materialize them to some
> place where I can then include them with my distribution.
>
> The motivating goal here is to make it as simple as possible for users
> to get up and running with example projects. Ideally, I'd like to
> actually have the projects automatically loaded (or pre-loaded) in the
> users workspace automatically, but that doesn't seem very easily doable.
>
Re: Inserting example features into build. [message #626764 is a reply to message #625453] Wed, 22 September 2010 17:30 Go to previous message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Henrik Lindberg wrote on Wed, 22 September 2010 04:49
Since Buckminster can create source bundles when creating a p2
repository it could be possible to just import those, or write some "new
wizard" that makes the choices explicit to the user.


That sounds like a good idea. I could setup a fake repository then use ant to copy the contents of the source bundles into my final zipped distro.

thanks,

Miles
Previous Topic:configure location of site.p2 output directory?
Next Topic:[Director] unable to install categories that has an comma
Goto Forum:
  


Current Time: Sat Apr 20 00:26:44 GMT 2024

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

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

Back to the top