Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » Build File Syntax on Wiki
Build File Syntax on Wiki [message #489972] Tue, 06 October 2009 16:55 Go to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
I elaborated on the previously posted b3 build file syntax and made it
available on the eclipse wiki.

You find it here:
http://wiki.eclipse.org/Eclipse_b3/proposals/Build_File_Synt ax

It has been cleaned up, and includes an elaboration on Thomas' suggested
short form for resolvers, and the synchronized proposal.
I also added syntax to allow reference to other build files' advice, and
how to redirect to resolvers in some other build file.

Please take a look.

One area that remains, is that I also want to be able to express things
you can do with the build itself. As an example, you can "import" - but
what is it that is being imported? If the file imports many things, what
are you supposed to execute, once the things have been imported? Are
there choices?

Imagine have the build file in the workspace and you open it's context
menu - what can you do with it? What can you invoke?

- henrik
Re: Build File Syntax on Wiki [message #489995 is a reply to message #489972] Tue, 06 October 2009 19:20 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 10/6/09 6:55 PM, Henrik Lindberg wrote:

> I elaborated on the previously posted b3 build file syntax and made it
> available on the eclipse wiki. http://wiki.eclipse.org/Eclipse_b3/proposals/Build_File_Synt ax

I just added string functions to the advice specification.

- henrik
Re: Build File Syntax on Wiki [message #490023 is a reply to message #489995] Tue, 06 October 2009 23:01 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 10/6/09 9:20 PM, Henrik Lindberg wrote:
> On 10/6/09 6:55 PM, Henrik Lindberg wrote:
>
>> I elaborated on the previously posted b3 build file syntax and made it
>> available on the eclipse wiki.
>> http://wiki.eclipse.org/Eclipse_b3/proposals/Build_File_Synt ax
>
And now also updated with requests, and actions.

- henrik
Re: Build File Syntax on Wiki [message #490025 is a reply to message #490023] Tue, 06 October 2009 23:42 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 10/7/09 1:01 AM, Henrik Lindberg wrote:
> On 10/6/09 9:20 PM, Henrik Lindberg wrote:
>> On 10/6/09 6:55 PM, Henrik Lindberg wrote:
>>
>>> I elaborated on the previously posted b3 build file syntax and made it
>>> available on the eclipse wiki.
>>> http://wiki.eclipse.org/Eclipse_b3/proposals/Build_File_Synt ax

And now there is a simple (but still realistic) example at the beginning
of the page.

Also addded short notation to materialization options. (No need to
specify a materializer class, when it can be derived from the URI scheme).

Including the simple example here, as I really like how compact and
powerful it is!

----- from wiki page

requests {
org.myorg.myproj.root, eclipse.feature;
}
resolver {
platform:/plugin:/;
platform:/resource:/;
p2:http://www.someplace.good/updates-3.5;
svn:svn+ssh://org.myorg.repo/productx;
}
action buildAll {
org.eclipse.myproj.site#site.p2;
org.eclipse.myproj.packaging;
}
advice {
/requests[name=org.myorg.*]/options {
source=true;
mutable=true;
}
/resolutions[name=org.eclipse.*]/options {
location = platform:/plugin:/;
}
}

Regards
- henrik
Re: Build File Syntax on Wiki [message #581078 is a reply to message #489972] Tue, 06 October 2009 19:20 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 10/6/09 6:55 PM, Henrik Lindberg wrote:

> I elaborated on the previously posted b3 build file syntax and made it
> available on the eclipse wiki. http://wiki.eclipse.org/Eclipse_b3/proposals/Build_File_Synt ax

I just added string functions to the advice specification.

- henrik
Re: Build File Syntax on Wiki [message #581094 is a reply to message #489995] Tue, 06 October 2009 23:01 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 10/6/09 9:20 PM, Henrik Lindberg wrote:
> On 10/6/09 6:55 PM, Henrik Lindberg wrote:
>
>> I elaborated on the previously posted b3 build file syntax and made it
>> available on the eclipse wiki.
>> http://wiki.eclipse.org/Eclipse_b3/proposals/Build_File_Synt ax
>
And now also updated with requests, and actions.

- henrik
Re: Build File Syntax on Wiki [message #581116 is a reply to message #490023] Tue, 06 October 2009 23:42 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 10/7/09 1:01 AM, Henrik Lindberg wrote:
> On 10/6/09 9:20 PM, Henrik Lindberg wrote:
>> On 10/6/09 6:55 PM, Henrik Lindberg wrote:
>>
>>> I elaborated on the previously posted b3 build file syntax and made it
>>> available on the eclipse wiki.
>>> http://wiki.eclipse.org/Eclipse_b3/proposals/Build_File_Synt ax

And now there is a simple (but still realistic) example at the beginning
of the page.

Also addded short notation to materialization options. (No need to
specify a materializer class, when it can be derived from the URI scheme).

Including the simple example here, as I really like how compact and
powerful it is!

----- from wiki page

requests {
org.myorg.myproj.root, eclipse.feature;
}
resolver {
platform:/plugin:/;
platform:/resource:/;
p2:http://www.someplace.good/updates-3.5;
svn:svn+ssh://org.myorg.repo/productx;
}
action buildAll {
org.eclipse.myproj.site#site.p2;
org.eclipse.myproj.packaging;
}
advice {
/requests[name=org.myorg.*]/options {
source=true;
mutable=true;
}
/resolutions[name=org.eclipse.*]/options {
location = platform:/plugin:/;
}
}

Regards
- henrik
Previous Topic:Build File Syntax on Wiki
Next Topic:Gradle
Goto Forum:
  


Current Time: Sat Apr 20 04:15:17 GMT 2024

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

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

Back to the top