Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Set src folder using IProject
Set src folder using IProject [message #78909] Wed, 23 July 2003 01:40 Go to next message
Eclipse UserFriend
Originally posted by: marius.venter.symbiotics.co.za

Hi,

I created a plugin that creates a java project. Does anybody know how I set
the src folder in the Java Build Path programatically?

Does anybody know what files needs to be created for eclipse to see a
projects as a EAR, EJB, or Web project?

Thanks in advance
Marius
Re: Set src folder using IProject [message #78927 is a reply to message #78909] Wed, 23 July 2003 02:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marius.venter.symbiotics.co.za

OK, found the awnser to the first question, just create the folder using
IFolder and and set it in the .classpath file

Marius Venter wrote:

> Hi,
>
> I created a plugin that creates a java project. Does anybody know how I
> set the src folder in the Java Build Path programatically?
>
> Does anybody know what files needs to be created for eclipse to see a
> projects as a EAR, EJB, or Web project?
>
> Thanks in advance
> Marius
Re: Set src folder using IProject [message #79083 is a reply to message #78927] Wed, 23 July 2003 05:05 Go to previous messageGo to next message
Eclipse UserFriend
Instead of modifying the .classpath file, you can use
IJavaProject.setRawClasspath(IClasspathEntry[], ...)

Jerome

"Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
news:bflba6$555$1@eclipse.org...
> OK, found the awnser to the first question, just create the folder using
> IFolder and and set it in the .classpath file
>
> Marius Venter wrote:
>
> > Hi,
> >
> > I created a plugin that creates a java project. Does anybody know how I
> > set the src folder in the Java Build Path programatically?
> >
> > Does anybody know what files needs to be created for eclipse to see a
> > projects as a EAR, EJB, or Web project?
> >
> > Thanks in advance
> > Marius
>
Re: Set src folder using IProject [message #79152 is a reply to message #79083] Wed, 23 July 2003 08:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marius.venter.symbiotics.co.za

I am trying to create the different projects in an ear project. Will
IJavaProject work for this.

Marius


Jerome Lanneluc wrote:

> Instead of modifying the .classpath file, you can use
> IJavaProject.setRawClasspath(IClasspathEntry[], ...)
>
> Jerome
>
> "Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
> news:bflba6$555$1@eclipse.org...
>> OK, found the awnser to the first question, just create the folder using
>> IFolder and and set it in the .classpath file
>>
>> Marius Venter wrote:
>>
>> > Hi,
>> >
>> > I created a plugin that creates a java project. Does anybody know how I
>> > set the src folder in the Java Build Path programatically?
>> >
>> > Does anybody know what files needs to be created for eclipse to see a
>> > projects as a EAR, EJB, or Web project?
>> >
>> > Thanks in advance
>> > Marius
>>
Re: Set src folder using IProject [message #79178 is a reply to message #79152] Wed, 23 July 2003 09:16 Go to previous messageGo to next message
Eclipse UserFriend
If the ear project is a Java project (its icon has a litle J), then it will
work.
Note I'm not sure how you created you ear project: the base Eclipse SDK
doesn't have support for this.

Jerome

"Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
news:bflu8l$qir$1@eclipse.org...
> I am trying to create the different projects in an ear project. Will
> IJavaProject work for this.
>
> Marius
>
>
> Jerome Lanneluc wrote:
>
> > Instead of modifying the .classpath file, you can use
> > IJavaProject.setRawClasspath(IClasspathEntry[], ...)
> >
> > Jerome
> >
> > "Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
> > news:bflba6$555$1@eclipse.org...
> >> OK, found the awnser to the first question, just create the folder
using
> >> IFolder and and set it in the .classpath file
> >>
> >> Marius Venter wrote:
> >>
> >> > Hi,
> >> >
> >> > I created a plugin that creates a java project. Does anybody know how
I
> >> > set the src folder in the Java Build Path programatically?
> >> >
> >> > Does anybody know what files needs to be created for eclipse to see a
> >> > projects as a EAR, EJB, or Web project?
> >> >
> >> > Thanks in advance
> >> > Marius
> >>
>
Re: Set src folder using IProject [message #79192 is a reply to message #79178] Wed, 23 July 2003 09:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marius.venter.symbiotics.co.za

Just my problem, the ear is not a java project and I've noticed the base sdk
doesnt support this, is there any other sdk I can use?

Marius

Jerome Lanneluc wrote:

> If the ear project is a Java project (its icon has a litle J), then it
> will work.
> Note I'm not sure how you created you ear project: the base Eclipse SDK
> doesn't have support for this.
>
> Jerome
>
> "Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
> news:bflu8l$qir$1@eclipse.org...
>> I am trying to create the different projects in an ear project. Will
>> IJavaProject work for this.
>>
>> Marius
>>
>>
>> Jerome Lanneluc wrote:
>>
>> > Instead of modifying the .classpath file, you can use
>> > IJavaProject.setRawClasspath(IClasspathEntry[], ...)
>> >
>> > Jerome
>> >
>> > "Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
>> > news:bflba6$555$1@eclipse.org...
>> >> OK, found the awnser to the first question, just create the folder
> using
>> >> IFolder and and set it in the .classpath file
>> >>
>> >> Marius Venter wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > I created a plugin that creates a java project. Does anybody know
>> >> > how
> I
>> >> > set the src folder in the Java Build Path programatically?
>> >> >
>> >> > Does anybody know what files needs to be created for eclipse to see
>> >> > a projects as a EAR, EJB, or Web project?
>> >> >
>> >> > Thanks in advance
>> >> > Marius
>> >>
>>
Re: Set src folder using IProject [message #79235 is a reply to message #79192] Wed, 23 July 2003 09:24 Go to previous messageGo to next message
Eclipse UserFriend
Sorry, I don't know. You might want to repost your question with an
appropriate subject.

Jerome

"Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
news:bfm220$utf$1@eclipse.org...
> Just my problem, the ear is not a java project and I've noticed the base
sdk
> doesnt support this, is there any other sdk I can use?
>
> Marius
>
> Jerome Lanneluc wrote:
>
> > If the ear project is a Java project (its icon has a litle J), then it
> > will work.
> > Note I'm not sure how you created you ear project: the base Eclipse SDK
> > doesn't have support for this.
> >
> > Jerome
> >
> > "Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
> > news:bflu8l$qir$1@eclipse.org...
> >> I am trying to create the different projects in an ear project. Will
> >> IJavaProject work for this.
> >>
> >> Marius
> >>
> >>
> >> Jerome Lanneluc wrote:
> >>
> >> > Instead of modifying the .classpath file, you can use
> >> > IJavaProject.setRawClasspath(IClasspathEntry[], ...)
> >> >
> >> > Jerome
> >> >
> >> > "Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
> >> > news:bflba6$555$1@eclipse.org...
> >> >> OK, found the awnser to the first question, just create the folder
> > using
> >> >> IFolder and and set it in the .classpath file
> >> >>
> >> >> Marius Venter wrote:
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> > I created a plugin that creates a java project. Does anybody know
> >> >> > how
> > I
> >> >> > set the src folder in the Java Build Path programatically?
> >> >> >
> >> >> > Does anybody know what files needs to be created for eclipse to
see
> >> >> > a projects as a EAR, EJB, or Web project?
> >> >> >
> >> >> > Thanks in advance
> >> >> > Marius
> >> >>
> >>
>
Re: Set src folder using IProject [message #79370 is a reply to message #78909] Wed, 23 July 2003 12:58 Go to previous message
Eclipse UserFriend
I'll reply to the second part. See MyEclipse Enterprise Workbench
(www.myeclipseide.com). Already does what you're looking for.

W

"Marius Venter" <marius.venter@symbiotics.co.za> wrote in message
news:bfl754$mk$1@eclipse.org...
> Hi,
>
> I created a plugin that creates a java project. Does anybody know how I
set
> the src folder in the Java Build Path programatically?
>
> Does anybody know what files needs to be created for eclipse to see a
> projects as a EAR, EJB, or Web project?
>
> Thanks in advance
> Marius
Previous Topic:how to add a new refactoring support in eclipse?
Next Topic:Upgrading Eclispe
Goto Forum:
  


Current Time: Tue Sep 16 10:48:40 EDT 2025

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

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

Back to the top