Where does Eclipse store Project information? [message #266992] |
Wed, 10 December 2008 06:11  |
Eclipse User |
|
|
|
When I close Eclipse and restart it, the 'Run configurations' for a
project are restored. So I it must store the Program Arguments and VM
Arguments *for that project* somewhere. But I could not find any such file
in my project folder which stores the arguments I have given. Where are
they actually stored then? And if it is not in the project folder, is
there any specific reason for not keeping it there?
Thanks!!
|
|
|
Re: Where does Eclipse store Project information? [message #266994 is a reply to message #266992] |
Wed, 10 December 2008 06:38   |
Eclipse User |
|
|
|
Piyush Soni wrote:
> When I close Eclipse and restart it, the 'Run configurations' for a
> project are restored. So I it must store the Program Arguments and VM
> Arguments *for that project* somewhere. But I could not find any such
> file in my project folder which stores the arguments I have given. Where
> are they actually stored then?
See the workspace\.metadata\.plugins\org.eclipse.debug.core\.launche s
folder.
> And if it is not in the project folder,
> is there any specific reason for not keeping it there?
I guess this may be because people have different settings for launching
stuff. Just because I have N gigs of RAM to spare for VM arguments when
running a Java application doesn't mean my coworker also has N gigs to
spare.
You can export your launch configuration as a file though.
http://wiki.eclipse.org/IRC_FAQ#How_do_I_export_a_launch_con figuration.3F
Remy
|
|
|
Re: Where does Eclipse store Project information? [message #267005 is a reply to message #266994] |
Wed, 10 December 2008 14:12   |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 12/10/2008 1:38 AM, Remy Chi Jian Suen wrote:
> Piyush Soni wrote:
>> When I close Eclipse and restart it, the 'Run configurations' for a
>> project are restored. So I it must store the Program Arguments and VM
>> Arguments *for that project* somewhere. But I could not find any such
>> file in my project folder which stores the arguments I have given.
>> Where are they actually stored then?
>
> See the workspace\.metadata\.plugins\org.eclipse.debug.core\.launche s
> folder.
>
> > And if it is not in the project folder,
>> is there any specific reason for not keeping it there?
>
> I guess this may be because people have different settings for launching
> stuff. Just because I have N gigs of RAM to spare for VM arguments when
> running a Java application doesn't mean my coworker also has N gigs to
> spare.
>
> You can export your launch configuration as a file though.
> http://wiki.eclipse.org/IRC_FAQ#How_do_I_export_a_launch_con figuration.3F
Also, on the Common tab of the Run Configurations or Debug
Configurations dialog, you can select to save it as a "shared" file and
select a location in the project to store it. This allows you to check
in the launch configs with your code into CVS or other version
management system.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.08248 seconds