Skip to main content



      Home
Home » Newcomers » Newcomers » Open files in Eclipse via CLI?
Open files in Eclipse via CLI? [message #200155] Sat, 17 March 2007 19:43 Go to next message
Eclipse UserFriend
Originally posted by: lindborg.cisco.com

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
Re: Open files in Eclipse via CLI? [message #200180 is a reply to message #200155] Sun, 18 March 2007 05:06 Go to previous messageGo to next message
Eclipse UserFriend
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 13:34 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Identifier and package names in XSD-based EMF
Next Topic:how to delete a folder in workspace @ runtime?
Goto Forum:
  


Current Time: Tue Jul 22 14:49:39 EDT 2025

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

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

Back to the top