Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » B3 integration into Maven?(B3 integration into Maven?)
B3 integration into Maven? [message #868818] Wed, 02 May 2012 15:30 Go to next message
Eclipse UserFriend
Does someone know a way to use the headless B3 capabilities as part of a Maven build? Maybe someone has written a Maven plugin which can leverage the B3 engine?
Thanks
Klaus
Re: B3 integration into Maven? [message #896386 is a reply to message #868818] Wed, 18 July 2012 08:56 Go to previous messageGo to next message
Frank Jakop is currently offline Frank JakopFriend
Messages: 8
Registered: July 2012
Junior Member
I would very appreciate asuch solution. We're deploying our own eclipse plugins to maven repo and building an aggregate updatesite. Doing it manually is horible ...
Re: B3 integration into Maven? [message #896419 is a reply to message #896386] Wed, 18 July 2012 10:55 Go to previous messageGo to next message
Eclipse UserFriend
I found at least a workaround based on Tycho's eclipse-run plugin. This can be used to call the Eclipse application org.eclipse.b3.cli.headless in a separate shell. This looks like this in pom.xml:
<plugin>
        <groupId>org.eclipse.tycho.extras</groupId>
        <artifactId>tycho-eclipserun-plugin</artifactId>
        <version>${tycho-version}</version>
       	<executions>
           <execution>
              <goals>
                    	<goal>eclipse-run</goal>
              </goals>
              <phase>compile</phase>
           </execution>
       	</executions>
        <configuration>
                <appArgLine>-application org.eclipse.b3.cli.headless aggregate --buildModel yourfile.b3aggr</appArgLine>
            	<dependencies>
                    	<dependency>
                        	<artifactId>org.eclipse.b3.aggregator.engine.feature</artifactId>
                        	<type>eclipse-feature</type>
                    	</dependency>
                </dependencies>
	</configuration>
</plugin>

A prerequisite is that the dependency to org.eclipse.b3.aggregator.engine.feature can be found.
Re: B3 integration into Maven? [message #1018708 is a reply to message #896419] Thu, 14 March 2013 10:41 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Thanks for this tip! It helped me a lot.

Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
b3 aggregator for 4.2.2? [message #1019014 is a reply to message #896386] Thu, 14 March 2013 22:18 Go to previous messageGo to next message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
I'm a little embarrassed to admit it, but I just noticed the update site
at .../modeling/emft/b3/updates-4.2/

I assume that's for installing into 4.2.2?

Is that were new fixes and features go?

I'm thinking I need to update the instructions at
http://wiki.eclipse.org/Simrel/Contributing_to_Simrel_Aggregation_Build#Install_the_b3_Aggregator
Re: b3 aggregator for 4.2.2? [message #1019183 is a reply to message #1019014] Fri, 15 March 2013 07:40 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2013-03-14 23:18, David Williams wrote:
> I'm a little embarrassed to admit it, but I just noticed the update site
> at .../modeling/emft/b3/updates-4.2/
>
> I assume that's for installing into 4.2.2?
>
Yes.

> Is that were new fixes and features go?
>
Yes.

> I'm thinking I need to update the instructions at
> http://wiki.eclipse.org/Simrel/Contributing_to_Simrel_Aggregation_Build#Install_the_b3_Aggregator
>
Indeed. I'm trying to free up some time for tasks like that.

- thomas
Re: b3 aggregator for 4.2.2? [message #1019186 is a reply to message #1019183] Fri, 15 March 2013 07:47 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2013-03-15 08:40, Thomas Hallgren wrote:
>> I'm thinking I need to update the instructions at
>> http://wiki.eclipse.org/Simrel/Contributing_to_Simrel_Aggregation_Build#Install_the_b3_Aggregator
>>
>>
> Indeed. I'm trying to free up some time for tasks like that.
>
Hmm, sorry. Read too quickly and didn't see the "I'm thinking I need"
part. Anyway, I've updated the URL to the update site.

- thomas
Re: b3 aggregator for 4.2.2? [message #1019244 is a reply to message #1019186] Fri, 15 March 2013 10:06 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 03/15/2013 08:47 AM, Thomas Hallgren wrote:
> On 2013-03-15 08:40, Thomas Hallgren wrote:
>>> I'm thinking I need to update the instructions at
>>> http://wiki.eclipse.org/Simrel/Contributing_to_Simrel_Aggregation_Build#Install_the_b3_Aggregator
>>>
>>>
>>>
>> Indeed. I'm trying to free up some time for tasks like that.
>>
> Hmm, sorry. Read too quickly and didn't see the "I'm thinking I need"
> part. Anyway, I've updated the URL to the update site.
>
> - thomas
>

you may want to update the link also on this page:
http://www.eclipse.org/modeling/emft/b3/download/

:)

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it


Re: b3 aggregator for 4.2.2? [message #1019289 is a reply to message #1019244] Fri, 15 March 2013 11:29 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2013-03-15 11:06, Lorenzo Bettini wrote:
> On 03/15/2013 08:47 AM, Thomas Hallgren wrote:
>> On 2013-03-15 08:40, Thomas Hallgren wrote:
>>>> I'm thinking I need to update the instructions at
>>>> http://wiki.eclipse.org/Simrel/Contributing_to_Simrel_Aggregation_Build#Install_the_b3_Aggregator
>>>>
>>>>
>>>>
>>> Indeed. I'm trying to free up some time for tasks like that.
>>>
>> Hmm, sorry. Read too quickly and didn't see the "I'm thinking I need"
>> part. Anyway, I've updated the URL to the update site.
>>
>> - thomas
>>
>
> you may want to update the link also on this page:
> http://www.eclipse.org/modeling/emft/b3/download/
>
> :)
>
Yes, I would like to do that but I don't find the source for that page.
I think it used to reside in CVS but I have no idea where it's picked up
now. Embarrassing :-)

David, do you know?

- thomas
Re: b3 aggregator for 4.2.2? [message #1019355 is a reply to message #1019289] Fri, 15 March 2013 14:18 Go to previous messageGo to next message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On 03/15/2013 07:29 AM, Thomas Hallgren wrote:
> Yes, I would like to do that but I don't find the source for that
> page. I think it used to reside in CVS but I have no idea where it's
> picked up now. Embarrassing :-)
>
> David, do you know?
>
> - thomas
>
In general, you can "see" websites that have migrated to git here:
http://git.eclipse.org/c/www.eclipse.org/

But, off hand I didn't see b3 there. I believe the webmasters have been
migrating those "on demand", so you might open a bug on Foundation, and
simply point to where it used to be in cvs (or, where it is on website)
and they'll port it over for you.

Thanks for updating the wiki.
Re: b3 aggregator for 4.2.2? [message #1020187 is a reply to message #1019355] Sun, 17 March 2013 13:33 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
The b3 web site has now been moved to Git updated. It's link was also
changed so you can access it directly from the eclipse root:

http://www.eclipse.org/b3

Thanks Lorenzo for pointing out that it needed to be updated and thanks
David for instructions how to "find" it :-)

- thomas


On 2013-03-15 15:18, David Williams wrote:
> On 03/15/2013 07:29 AM, Thomas Hallgren wrote:
>> Yes, I would like to do that but I don't find the source for that
>> page. I think it used to reside in CVS but I have no idea where it's
>> picked up now. Embarrassing :-)
>>
>> David, do you know?
>>
>> - thomas
>>
> In general, you can "see" websites that have migrated to git here:
> http://git.eclipse.org/c/www.eclipse.org/
>
> But, off hand I didn't see b3 there. I believe the webmasters have been
> migrating those "on demand", so you might open a bug on Foundation, and
> simply point to where it used to be in cvs (or, where it is on website)
> and they'll port it over for you.
>
> Thanks for updating the wiki.
>
>
Previous Topic:Is it possible to exclude certain bundles from being mirrored?
Next Topic:Repository Browser stays empty
Goto Forum:
  


Current Time: Tue Mar 19 03:26:09 GMT 2024

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

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

Back to the top