|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
.project |
« View previous topic :: View next topic » |
Author |
Message
|
ggriffith |
Posted: Fri Oct 16, 2009 3:21 am Post subject: .project |
|
|
 Acolyte
Joined: 17 Oct 2007 Posts: 67
|
Anybody know why 2 PCs running the same version of the toolkit (6.1.0.5)
generate different .project files for the same project.
The order of the buildCommands in the buildSpec if different.
It's not causing any problems apart from the toolkit marking projects as being different from the version in our source repository. |
|
Back to top |
|
 |
jonasb |
Posted: Fri Oct 16, 2009 5:52 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2006 Posts: 49 Location: Sweden
|
Hi,
We have the same problem, and having over 100 messageset it use to be a pain.
We solved it by removing the message set .project files from source control, writing a script that adds a .project template to the message set projects that imported, and forcing eclipse to rebuild them, by doing "clean".
Here is the template we use:
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>PROJECTNAME</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>com.ibm.etools.msg.validation.msetnature</nature>
</natures>
</projectDescription>
|
The script replaces the string PROJECTNAME with the actual name of the project.
If anyone has a more elegant solution we would be very interested as well. _________________ contact admin
Last edited by jonasb on Fri Oct 16, 2009 6:27 am; edited 1 time in total |
|
Back to top |
|
 |
ggriffith |
Posted: Fri Oct 16, 2009 6:22 am Post subject: |
|
|
 Acolyte
Joined: 17 Oct 2007 Posts: 67
|
Thanks contact admin, unless someone comes up with something better we'll give it a go. Did you manage to automate the script, or is it something you run after you import the message set. |
|
Back to top |
|
 |
jonasb |
Posted: Fri Oct 16, 2009 6:26 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2006 Posts: 49 Location: Sweden
|
We run the script manually. Since all our messageset project are namend as "MsgSet*********" the script can look through all these projects for missing .project files. _________________ contact admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|