Skip to main content


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 11:34 Go to next message
Ben StoverFriend
Messages: 108
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 11: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 13:00 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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 16:03 Go to previous messageGo to next message
Ben StoverFriend
Messages: 108
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 09:02 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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: Thu Apr 25 00:09:29 GMT 2024

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

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

Back to the top