Open files in Eclipse via CLI? [message #200155] |
Sat, 17 March 2007 23:43 |
Eclipse User |
|
|
|
Originally posted by: lindborg.cisco.com
Hopefully this is a silly question, but maybe theres no easy way to do
this. Poking around in the command line options there doesnt appear to be
a away for me to dynamically create a project and load it with all files
loaded in the Eclipse editor from the command line or via a script or
whatever. Is there a way to go about this Im missing?
In other words Id like to create a folder on the drive, stuff 7 or 8
files of various types in it (.JS, .txt, .c etc
), and launch an instance
of Eclipse with those files loaded up. Ive tried creating various
projects, loading files into the projects and then poking around the
project files etc
looking to see where such things would be defined, but
not having a lot of luck.
Its easy enough to set the default workspace directory to the folder I
create and such, but no obvious way to have all the files nicely loaded up
or to dynamically create a project that has those files referenced in them
so the user can just double click on them to open them up.
Am I overlooking something obvious?
Thanks
-J
|
|
|
Re: Open files in Eclipse via CLI? [message #200180 is a reply to message #200155] |
Sun, 18 March 2007 09:06 |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
Jeff wrote:
> Hopefully this is a silly question, but maybe there�s no easy way to
> do this. Poking around in the command line options there doesn�t
> appear to be a away for me to dynamically create a project and load it
> with all files loaded in the Eclipse editor from the command line or
> via a script or whatever. Is there a way to go about this I�m missing?
>
> In other words I�d like to create a folder on the drive, stuff 7 or 8
> files of various types in it (.JS, .txt, .c etc�), and launch an
> instance of Eclipse with those files loaded up. I�ve tried creating
> various projects, loading files into the projects and then poking
> around the project files etc� looking to see where such things would
> be defined, but not having a lot of luck.
>
> It�s easy enough to set the default workspace directory to the folder
> I create and such, but no obvious way to have all the files nicely
> loaded up or to dynamically create a project that has those files
> referenced in them so the user can just double click on them to open
> them up.
>
> Am I overlooking something obvious?
Nope, this is currently not possible. There's a feature request in
bugzilla for this.
Dani
>
> Thanks
>
> -J
>
>
|
|
|
Re: Open files in Eclipse via CLI? [message #200693 is a reply to message #200155] |
Tue, 20 March 2007 17:34 |
Jörg Thönnes Messages: 229 Registered: July 2009 |
Senior Member |
|
|
Jeff,
was it your use cases behind this scenario? I.e. what do you want to achieve by loading a couple of
files automatically?
Cheers, Jörg
On 03/18/2007 12:43 AM, Jeff wrote:
> Hopefully this is a silly question, but maybe there’s no easy way to do
> this. Poking around in the command line options there doesn’t appear to
> be a away for me to dynamically create a project and load it with all
> files loaded in the Eclipse editor from the command line or via a script
> or whatever. Is there a way to go about this I’m missing?
>
> In other words I’d like to create a folder on the drive, stuff 7 or 8
> files of various types in it (.JS, .txt, .c etc…), and launch an
> instance of Eclipse with those files loaded up. I’ve tried creating
> various projects, loading files into the projects and then poking around
> the project files etc… looking to see where such things would be
> defined, but not having a lot of luck.
>
> It’s easy enough to set the default workspace directory to the folder I
> create and such, but no obvious way to have all the files nicely loaded
> up or to dynamically create a project that has those files referenced in
> them so the user can just double click on them to open them up.
>
> Am I overlooking something obvious?
>
> Thanks
>
> -J
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07743 seconds