Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to use the existing *.target file in oomph setup file
How to use the existing *.target file in oomph setup file [message #1717579] Tue, 15 December 2015 02:53 Go to next message
Shaodong Ying is currently offline Shaodong YingFriend
Messages: 2
Registered: December 2015
Junior Member
Our project has an existing .target file included in the source code, usually user has to setup the target platform using this .target file in eclipse. So how can I configure in oomph setup file to automatically set target platform using this existing .target file? Thanks.
Re: How to use the existing *.target file in oomph setup file [message #1717667 is a reply to message #1717579] Tue, 15 December 2015 15:53 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
You can use a Target Platform task. In that task, you can specify the
name of the target definition file; just the file name without the
..target extension. A Targlet task would do this job more efficiently,
reusing the bundle pool, but if you don't want to author/maintain one of
those, you can just reuse the existing *.target file.


On 15/12/2015 3:53 PM, Shaodong Ying wrote:
> Our project has an existing .target file included in the source code,
> usually user has to setup the target platform using this .target file
> in eclipse. So how can I configure in oomph setup file to
> automatically set target platform using this existing .target file?
> Thanks.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to use the existing *.target file in oomph setup file [message #1717672 is a reply to message #1717667] Tue, 15 December 2015 16:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Eike pointed out to me it's the name of the target platform itself,
i.e., the name specified within the file:

<target name="<target-name>"


On 15/12/2015 4:53 PM, Ed Merks wrote:
> You can use a Target Platform task. In that task, you can specify
> the name of the target definition file; just the file name without the
> .target extension. A Targlet task would do this job more
> efficiently, reusing the bundle pool, but if you don't want to
> author/maintain one of those, you can just reuse the existing *.target
> file.
>
>
> On 15/12/2015 3:53 PM, Shaodong Ying wrote:
>> Our project has an existing .target file included in the source code,
>> usually user has to setup the target platform using this .target file
>> in eclipse. So how can I configure in oomph setup file to
>> automatically set target platform using this existing .target file?
>> Thanks.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to use the existing *.target file in oomph setup file [message #1718286 is a reply to message #1717672] Tue, 22 December 2015 07:08 Go to previous messageGo to next message
Shaodong Ying is currently offline Shaodong YingFriend
Messages: 2
Registered: December 2015
Junior Member
Thank you, Ed.

Shaodong
Re: How to use the existing *.target file in oomph setup file [message #1783582 is a reply to message #1718286] Wed, 14 March 2018 11:35 Go to previous messageGo to next message
Wa Liu is currently offline Wa LiuFriend
Messages: 3
Registered: March 2018
Junior Member
Does the .target file have to be in a specific folder in order to be found?
Re: How to use the existing *.target file in oomph setup file [message #1783585 is a reply to message #1783582] Wed, 14 March 2018 11:48 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
No, it is found by name, i.e., exactly the name in the *.target file:
<target name="Xyz" ...
so the *.target can be anywhere in the workspace.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Repository Explorer
Next Topic:Oomph Updater not picking up new versions in composite repository
Goto Forum:
  


Current Time: Thu Apr 18 00:20:17 GMT 2024

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

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

Back to the top