Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Using WTP 3.0M4 to create a project at a specified location
Using WTP 3.0M4 to create a project at a specified location [message #206875] Wed, 16 January 2008 20:33 Go to next message
ying is currently offline ying
Messages: 19
Registered: July 2009
Junior Member
Hi,

How can I use WTP 3.0M4 to create a project at a specified location?

I try the 'Dynamic Web Project' wizard and I enter the path of my project
in 'Project Contents'.

But it always ends up creating a project in '/home/yinglcs/workspace/'

How can I fix this? I think this works in earlier WTP.

Thank you,
Re: Using WTP 3.0M4 to create a project at a specified location [message #206883 is a reply to message #206875] Wed, 16 January 2008 20:35 Go to previous messageGo to next message
Eclipse User
Originally posted by: kosta.bea.com

Sounds like a bug. If you haven't already, you should open a bug report
at http://bugs.eclipse.org.
Re: Using WTP 3.0M4 to create a project at a specified location [message #206921 is a reply to message #206875] Thu, 17 January 2008 04:04 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence Mandel
Messages: 486
Registered: July 2009
Senior Member
When you launch Eclipse you specify a workspace location. When creating
projects in Eclipse all projects are created within the workspace. If
you'd like to create projects in an alternate location you should specify
a different workspace location when launching Eclipse.

I think there is one way around the workspace restriction. That is, if you
have a correctly structured Eclipse project on your system you can import
that project into your workspace without copying the contents into the
workspace. In your case the easiest way to achieve this might be to create
a project, copy it in Windows Explorer to where you'd like it to be
located, and then import that project back into your workspace.

Lawrence Mandel
-
Co-author Eclipse Web Tools Platform: Developing Java Web Applications
http://www.eclipsewtp.org
Re: Using WTP 3.0M4 to create a project at a specified location [message #206937 is a reply to message #206921] Thu, 17 January 2008 13:11 Go to previous messageGo to next message
Eclipse User
Originally posted by: dcarver.starstandard.org

lmandel@ca.ibm.com wrote:
> When you launch Eclipse you specify a workspace location. When creating
> projects in Eclipse all projects are created within the workspace. If
> you'd like to create projects in an alternate location you should specify
> a different workspace location when launching Eclipse.
>
> I think there is one way around the workspace restriction. That is, if you
> have a correctly structured Eclipse project on your system you can import
> that project into your workspace without copying the contents into the
> workspace. In your case the easiest way to achieve this might be to create
> a project, copy it in Windows Explorer to where you'd like it to be
> located, and then import that project back into your workspace.
>

Well, you can have the contents reside outside your workspace. Using
any of the Project Wizards, uncheck the checkbox, Use Default Location.
This will allow you to create the project outside the workspace, but
it will still appear in the various Navigator views (Project Explorer,
Package Explorer, etc). The meta data is maintained for this project
by eclipse in the workspace, but the project itself resides outside the
workspace.

Dave
Re: Using WTP 3.0M4 to create a project at a specified location [message #206945 is a reply to message #206937] Thu, 17 January 2008 18:36 Go to previous message
Lawrence Mandel is currently offline Lawrence Mandel
Messages: 486
Registered: July 2009
Senior Member
>Well, you can have the contents reside outside your workspace. Using
>any of the Project Wizards, uncheck the checkbox, Use Default Location.

I don't know how many Eclipse projects I've created but I never noticed
that option. Amazing.

Thanks Dave.
Previous Topic:xDoclet and oc4j task
Next Topic:How can I find out more when the publishing of my dynamic web project fails?
Goto Forum:
  


Current Time: Sun Oct 26 06:08:07 GMT 2014

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

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