Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to create an IJavaScriptProject?
How to create an IJavaScriptProject? [message #808173] Mon, 27 February 2012 13:44 Go to next message
Alireza Missing name is currently offline Alireza Missing nameFriend
Messages: 105
Registered: July 2009
Senior Member

I need to create IJavaScriptProject, anybody knows how to do that?

Alireza
Re: How to create an IJavaScriptProject? [message #808272 is a reply to message #808173] Mon, 27 February 2012 15:49 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2327
Registered: July 2009
Senior Member
Call org.eclipse.wst.jsdt.core.JavaScriptCore#create(IProject) . If you're asking how to create a new Javascript project from scratch rather than the representation of an existing one, though, it's a little more complicated.

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: How to create an IJavaScriptProject? [message #808355 is a reply to message #808272] Mon, 27 February 2012 17:42 Go to previous messageGo to next message
Alireza Missing name is currently offline Alireza Missing nameFriend
Messages: 105
Registered: July 2009
Senior Member
Yes I need to do it from scratch. Any reference that have an example?
Regards,
Alireza
Re: How to create an IJavaScriptProject? [message #809132 is a reply to message #808355] Tue, 28 February 2012 14:13 Go to previous messageGo to next message
Alireza Missing name is currently offline Alireza Missing nameFriend
Messages: 105
Registered: July 2009
Senior Member
Is it necessary to have a plugin project to do so?

Alireza
Re: How to create an IJavaScriptProject? [message #810137 is a reply to message #809132] Wed, 29 February 2012 18:39 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2327
Registered: July 2009
Senior Member
On 2/28/2012 9:13 AM, Alireza Mising name wrote:
> Is it necessary to have a plugin project to do so?

Yes, most of JSDT is only written to work in the Eclipse runtime.
org.eclipse.wst.jsdt.web.core.internal.project.JsWebNature.configure()
shows the most straightforward way, but it's not all written to do it
through the public APIs. It's highly unusual for anyone other than JSDT
to have to create a JavaScript project programmatically, though.

---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: How to create an IJavaScriptProject? [message #810516 is a reply to message #810137] Thu, 01 March 2012 07:33 Go to previous messageGo to next message
Alireza Missing name is currently offline Alireza Missing nameFriend
Messages: 105
Registered: July 2009
Senior Member

What about the include path that you mentioned? I tried to include the js source file folder but it did not work out.

Alireza
Re: How to create an IJavaScriptProject? [message #817204 is a reply to message #810516] Fri, 09 March 2012 19:45 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2327
Registered: July 2009
Senior Member
On 3/1/2012 2:33 AM, Alireza Mising name wrote:
>
> What about the include path that you mentioned? I tried to include the
> js source file folder but it did not work out.
> Alireza

Can you elaborate on that?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:JSDT Team
Next Topic:May i ask a question related to the Eclipse Java EE IDE Indigo
Goto Forum:
  


Current Time: Fri Nov 21 08:59:21 GMT 2014

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

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