Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] Copying existing configs to use as project builders


My assuption is that the build spec would contain a handle of a launch configuration....however, perhaps Jeff is insinuating that the build spec contain some other "reference" to a launch configuration - perhaps by name?

Darin

----- Forwarded by Darin Wright/WPG/OTI on 12/04/2002 11:33 AM -----
Darin Wright

12/04/2002 11:32 AM


        To:        platform-ant-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-ant-dev] Copying existing configs to use as project buildersLink


Launch configurations are represented by handles. The handle for a launch configuration descibes its location (file which contains the launch config attributes). When a launch configuration is shared, the handle is workspace relative (and can thus be shared). When a launch configuration is local, it points to a local path in the file system (which cannot be shared). Thus, to be able to share a config as a project builder, the config has to be shared.

Darin



"Jeff McAffer" <Jeff_McAffer@xxxxxxx>
Sent by: platform-ant-dev-admin@xxxxxxxxxxx

12/04/2002 11:11 AM
Please respond to platform-ant-dev

       
        To:        platform-ant-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-ant-dev] Copying existing configs to use as project builders



Why does the config *have* to be in the project?  The project builder could
be configured to say "run the config called fred whatever fred might be"
If a team requires the sharing of launch configs (including external tools
configs), they should be put in *a* project somewhere and loaded by the
lauch manager when the project is opened.



                                                                                                           
                     Jared Burns                                                                          
                     <jared-eclipse@xxxxxxxx         To:      platform-ant-dev@xxxxxxxxxxx                
                     m>                              cc:                                                  
                     Sent by:                        Subject: Re: [platform-ant-dev] Copying existing      
                     platform-ant-dev-admin@         configs to use as project builders                    
                     eclipse.org                                                                          
                                                                                                           
                                                                                                           
                     12/04/2002 11:08 AM                                                                  
                     Please respond to                                                                    
                     platform-ant-dev                                                                      
                                                                                                           
                                                                                                           



On Tuesday 03 December 2002 10:34 pm, Jeff McAffer wrote:
> I second the unreasonability.
I think you misread Darin's message. :-)

> I don't know the technical reasons behind it
> however.  The copy proposal might work as a starting point but perhaps
the
> near future should include referencing?

I was hoping to just gloss over that "not technically feasible" bit, but I
suppose I should explain.

The config used by a builder needs to be stored with the project so that
the
builder will stay with the project when it is shared. If the config file
has
to reside in the project, then we can't *truly* share the configs (files
can't be in two places at once). The best we could do is fake it by keeping

the multiple copies in synch. But this isn't possible. For example, say I
have projects Foo and Bar that share the same config. If I check out
project
Foo and edit the project builder, and my friend Bob checks out project Bar
and edits the other copy of the builder, when we check Foo and Bar back
into
the repository the fake synchronization will be lost.

Everyone (myself included) would like the by-reference solution to work,
but
it looks to be impossible.

- Jared
_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev




_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev




Back to the top