Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Save "run as configuration" settings in project files does NOT work: Really export project
Save "run as configuration" settings in project files does NOT work: Really export project [message #758221] Tue, 22 November 2011 06:34 Go to next message
Ben Stover
Messages: 104
Registered: January 2010
Senior Member
I have a java application in my workspace. When I click now

Run As-->Run Configuration->Arguments tab

then I defined there as Program arguments a file (e.g. foobar.txt)
Everything works.


Now I deleted the whole project from workspace (but not from hard disc).

I copied/moved the whole project directory tree to another folder (or even another computer).

There I imported that project in the Eclipse installation again.

But unfortunately the parameter "foobar.txt" is NOT set.
So it seems to be NOT saved in the .project settings file.

Where is it saved otherwise?

How can I export all relevent project run configuration settings as well?

I want to make all project stuff and all settings portable to other Eclipse installations.

Ben

[Updated on: Tue, 22 November 2011 06:34]

Report message to a moderator

Re: Save "run as configuration" settings in project files does NOT work: Really ex [message #758254 is a reply to message #758221] Tue, 22 November 2011 08:00 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 22.11.2011 12:34, Ben wrote:
> I have a java application in my workspace. When I click now
>
> Run As-->Run Configuration->Arguments tab
>
> then I defined there as Program arguments a file (e.g. foobar.txt)
> Everything works.
>
>
> Now I deleted the whole project from workspace (but not from hard disc).
>
> I copied/moved the whole project directory tree to another folder (or
> even another computer).
>
> There I imported that project in the Eclipse installation again.
>
> But unfortunately the parameter "foobar.txt" is NOT set.
> So it seems to be NOT saved in the .project settings file.
>
> Where is it saved otherwise?
>
> How can I export all relevent project run configuration settings as well?
On the Common tab, choose 'Shared file' and select your project (or a
folder inside it).

Dani
>
> I want to make a project source and all settings portable to other
> Eclipse installations.
>
> Ben
Re: Save "run as configuration" settings in project files does NOT work: Really ex [message #758546 is a reply to message #758254] Wed, 23 November 2011 11:03 Go to previous messageGo to next message
Ben Stover
Messages: 104
Registered: January 2010
Senior Member
Thank you.

Will this information be automatically imported (later in another Eclipse installation)?
or do I have to install it manually?

By the way: Where is this information stored otherwise (if I enable "Local file" on "common" tab) ?

Ben
Re: Save "run as configuration" settings in project files does NOT work: R [message #759579 is a reply to message #758546] Tue, 29 November 2011 04:02 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 23.11.2011 17:03, Ben wrote:
> Thank you.
>
> Will this information be automatically imported (later in another
> Eclipse installation)?
> or do I have to install it manually?
Yes.
>
> By the way: Where is this information stored otherwise (if I enable
> "Local file" on "common" tab) ?
Inside the .metadata of your workspace.

Dani
>
> Ben
Previous Topic:Question about Enterprise JavaBeans standard approach.
Next Topic:Template for try/catch block
Goto Forum:
  


Current Time: Wed Aug 20 18:27:03 EDT 2014

Powered by FUDForum. Page generated in 0.02478 seconds