Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Creating a java project at startup
Creating a java project at startup [message #83103] Tue, 05 August 2003 06:25 Go to next message
Eclipse UserFriend
Is there a way to automatically create a Java project at Eclipse startup?

I am developping an eclipse based tool but I would like to prevent the
end-user from manually configuring its workspace. It seems possible to
display a Welcome page with a link to a custom silent wizard, but I would
like to launch this wizard silently during the "Please wait while completing
the install..." step.

Thanks in advance for any help.

-- Frederic
Re: Creating a java project at startup [message #83394 is a reply to message #83103] Wed, 06 August 2003 11:23 Go to previous messageGo to next message
Eclipse UserFriend
I would use the -data command line parameter on eclipse.exe to start up
eclipse on a (existing) prepared workspace.

Martin

Fred wrote:
> Is there a way to automatically create a Java project at Eclipse startup?
>
> I am developping an eclipse based tool but I would like to prevent the
> end-user from manually configuring its workspace. It seems possible to
> display a Welcome page with a link to a custom silent wizard, but I would
> like to launch this wizard silently during the "Please wait while completing
> the install..." step.
>
> Thanks in advance for any help.
>
> -- Frederic
>
>
Re: Creating a java project at startup [message #83719 is a reply to message #83394] Thu, 07 August 2003 04:25 Go to previous messageGo to next message
Eclipse UserFriend
It is not possible to prepare the workspace on the developper side and to
install it on the client machine, isn't it?
The project root is not in the default folder but in a separate one that is
referenced in the eclipse/workspace files with its absolute path, I think.

Here is the structure I installed on the client machine. I would like to
configure SomeSampleSources as a Java project root. (MyProduct already
exists on the client machine and my eclipse based tool is an Add-On).

AnUnknownFolder
|__MyProduct
|__eclipse
| |__features
| |__plugins
|__SomeSampleSources
|__MyProductLib
|__MyProduct.exe

I think this architecture is somewhat classical, I would like to add code to
be executed in the "completing the install" phase to configure the project
without end-user interaction.
Is there a way to do that using InstallHandler or something else?

"Martin Aeschlimann" <martin_aeschlimann@ch.ibm.com> wrote in message
news:3F311D65.8080301@ch.ibm.com...
> I would use the -data command line parameter on eclipse.exe to start up
> eclipse on a (existing) prepared workspace.
>
> Martin
>
> Fred wrote:
> > Is there a way to automatically create a Java project at Eclipse
startup?
> >
> > I am developping an eclipse based tool but I would like to prevent the
> > end-user from manually configuring its workspace. It seems possible to
> > display a Welcome page with a link to a custom silent wizard, but I
would
> > like to launch this wizard silently during the "Please wait while
completing
> > the install..." step.
> >
> > Thanks in advance for any help.
> >
> > -- Frederic
> >
> >
>
Re: Creating a java project at startup [message #83984 is a reply to message #83719] Fri, 08 August 2003 05:39 Go to previous message
Eclipse UserFriend
I don't know enough about the update/install mechanism. I would ask on
the platform mailing list.

The more usual way would be that you have a 'Create MyProduct sample
project' wizard, that you can mention on your Welcome page. This wizard
would set up a project and copy the contents in it. As an example have a
look at org.eclipse.jdt.ui.examples.projects_3.0.0 which adds the
'Example project - Junit' as a project wizard.
(Note that the welcome page can also contain a clickable action that
would directly invoke this wizard)

Martin

Fred wrote:
> It is not possible to prepare the workspace on the developper side and to
> install it on the client machine, isn't it?
> The project root is not in the default folder but in a separate one that is
> referenced in the eclipse/workspace files with its absolute path, I think.
>
> Here is the structure I installed on the client machine. I would like to
> configure SomeSampleSources as a Java project root. (MyProduct already
> exists on the client machine and my eclipse based tool is an Add-On).
>
> AnUnknownFolder
> |__MyProduct
> |__eclipse
> | |__features
> | |__plugins
> |__SomeSampleSources
> |__MyProductLib
> |__MyProduct.exe
>
> I think this architecture is somewhat classical, I would like to add code to
> be executed in the "completing the install" phase to configure the project
> without end-user interaction.
> Is there a way to do that using InstallHandler or something else?
>
> "Martin Aeschlimann" <martin_aeschlimann@ch.ibm.com> wrote in message
> news:3F311D65.8080301@ch.ibm.com...
>
>>I would use the -data command line parameter on eclipse.exe to start up
>>eclipse on a (existing) prepared workspace.
>>
>>Martin
>>
>>Fred wrote:
>>
>>>Is there a way to automatically create a Java project at Eclipse
>>
> startup?
>
>>>I am developping an eclipse based tool but I would like to prevent the
>>>end-user from manually configuring its workspace. It seems possible to
>>>display a Welcome page with a link to a custom silent wizard, but I
>>
> would
>
>>>like to launch this wizard silently during the "Please wait while
>>
> completing
>
>>>the install..." step.
>>>
>>>Thanks in advance for any help.
>>>
>>>-- Frederic
>>>
>>>
>>
>
>
Previous Topic:Emacs key bindings
Next Topic:How to get the error in a ICompilationUnit or IFile
Goto Forum:
  


Current Time: Tue Jul 15 10:26:58 EDT 2025

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

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

Back to the top