Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Adding source folders programmatically
Adding source folders programmatically [message #134694] Wed, 14 January 2004 11:14 Go to next message
Eclipse UserFriend
Hi

I want to automatically add new (unknown) source folders to an eclipse
project. (CVS update - include new modules created by others
automatically).
For that I use the following code:

// new source folder = path
IClasspathEntry cpe = JavaCore.newSourceEntry(path);

/** put current classpath (IClasspathEntry[] oldClasspath =
project.getRawClasspath(); )
together with new folder (cpe) in IClasspathEntry[] classpath. then set
it: */

project.setRawClasspath(classpath, new NullProgressMonitor());


As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new source
folder, but my project is now dependent on another project (name = path
name).

What's wrong here?

Thanks in advance for help how to do this

Chris

PS: I found 1 posting
( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html), where
the same solution was suggested, and the other guy seemed to be happy with
it. What am I doing wrong?
Re: Adding source folders programmatically [message #134707 is a reply to message #134694] Wed, 14 January 2004 11:26 Go to previous messageGo to next message
Eclipse UserFriend
Use an absolute workspace-relative path for your source folder, not a
1-segment path.

Jerome

"Chris" <christoph.schwitter@elca.ch> wrote in message
news:bu3ptn$tbn$1@eclipse.org...
> Hi
>
> I want to automatically add new (unknown) source folders to an eclipse
> project. (CVS update - include new modules created by others
> automatically).
> For that I use the following code:
>
> // new source folder = path
> IClasspathEntry cpe = JavaCore.newSourceEntry(path);
>
> /** put current classpath (IClasspathEntry[] oldClasspath =
> project.getRawClasspath(); )
> together with new folder (cpe) in IClasspathEntry[] classpath. then set
> it: */
>
> project.setRawClasspath(classpath, new NullProgressMonitor());
>
>
> As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new source
> folder, but my project is now dependent on another project (name = path
> name).
>
> What's wrong here?
>
> Thanks in advance for help how to do this
>
> Chris
>
> PS: I found 1 posting
> ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html), where
> the same solution was suggested, and the other guy seemed to be happy with
> it. What am I doing wrong?
>
>
Re: Adding source folders programmatically [message #134810 is a reply to message #134707] Thu, 15 January 2004 02:55 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for your hint, but I do not understand what I have to do.

Just to be sure about an "absolute workspace relative path":
Project root = d:/myproject
Source folder to add = d:/myproject/modulename/src/cejb
The path variable used in the code below should contain:
/modulename/src/cejb

That is how it is done, except hat on windows I have \\ instead of /.

I do not see what I have to change.

Chris


Jerome Lanneluc wrote:

> Use an absolute workspace-relative path for your source folder, not a
> 1-segment path.

> Jerome

> "Chris" <christoph.schwitter@elca.ch> wrote in message
> news:bu3ptn$tbn$1@eclipse.org...
> > Hi
> >
> > I want to automatically add new (unknown) source folders to an eclipse
> > project. (CVS update - include new modules created by others
> > automatically).
> > For that I use the following code:
> >
> > // new source folder = path
> > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> >
> > /** put current classpath (IClasspathEntry[] oldClasspath =
> > project.getRawClasspath(); )
> > together with new folder (cpe) in IClasspathEntry[] classpath. then set
> > it: */
> >
> > project.setRawClasspath(classpath, new NullProgressMonitor());
> >
> >
> > As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new source
> > folder, but my project is now dependent on another project (name = path
> > name).
> >
> > What's wrong here?
> >
> > Thanks in advance for help how to do this
> >
> > Chris
> >
> > PS: I found 1 posting
> > ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html), where
> > the same solution was suggested, and the other guy seemed to be happy with
> > it. What am I doing wrong?
> >
> >
Re: Adding source folders programmatically [message #134849 is a reply to message #134810] Thu, 15 January 2004 05:27 Go to previous messageGo to next message
Eclipse UserFriend
Right the source folder path should be /modulename/src/cejb. So this should
work. However just to make sure I understand your layout: your project is
external to your workspace, right?

Jerome

"Christoph schwitter" <christoph.schwitter@elca.ch> wrote in message
news:bu5h1e$rba$1@eclipse.org...
> Thanks for your hint, but I do not understand what I have to do.
>
> Just to be sure about an "absolute workspace relative path":
> Project root = d:/myproject
> Source folder to add = d:/myproject/modulename/src/cejb
> The path variable used in the code below should contain:
> /modulename/src/cejb
>
> That is how it is done, except hat on windows I have \\ instead of /.
>
> I do not see what I have to change.
>
> Chris
>
>
> Jerome Lanneluc wrote:
>
> > Use an absolute workspace-relative path for your source folder, not a
> > 1-segment path.
>
> > Jerome
>
> > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > news:bu3ptn$tbn$1@eclipse.org...
> > > Hi
> > >
> > > I want to automatically add new (unknown) source folders to an eclipse
> > > project. (CVS update - include new modules created by others
> > > automatically).
> > > For that I use the following code:
> > >
> > > // new source folder = path
> > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > >
> > > /** put current classpath (IClasspathEntry[] oldClasspath =
> > > project.getRawClasspath(); )
> > > together with new folder (cpe) in IClasspathEntry[] classpath. then
set
> > > it: */
> > >
> > > project.setRawClasspath(classpath, new NullProgressMonitor());
> > >
> > >
> > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new source
> > > folder, but my project is now dependent on another project (name =
path
> > > name).
> > >
> > > What's wrong here?
> > >
> > > Thanks in advance for help how to do this
> > >
> > > Chris
> > >
> > > PS: I found 1 posting
> > > ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
where
> > > the same solution was suggested, and the other guy seemed to be happy
with
> > > it. What am I doing wrong?
> > >
> > >
>
>
Re: Adding source folders programmatically [message #134860 is a reply to message #134849] Thu, 15 January 2004 05:47 Go to previous messageGo to next message
Eclipse UserFriend
yes, its an external project.

It does not work. Thew new classpath entry is created like this (new path
argument is copied from debug).

IPath path = new Path("\\module1\\src\\TestProject");
IClasspathEntry cpe = JavaCore.newSourceEntry(path);

> > Project root = .../myproject
> > Source folder to add = ../myproject/module1/src/TestProject

That still creates project dependencies (to "TestProject"), not new source
folders.

From existing source folders, the classpath includes the myproject
element, but even if I add that, it does not help.

Chris




Jerome Lanneluc wrote:

> Right the source folder path should be /modulename/src/cejb. So this should
> work. However just to make sure I understand your layout: your project is
> external to your workspace, right?

> Jerome

> "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in message
> news:bu5h1e$rba$1@eclipse.org...
> > Thanks for your hint, but I do not understand what I have to do.
> >
> > Just to be sure about an "absolute workspace relative path":
> > Project root = d:/myproject
> > Source folder to add = d:/myproject/modulename/src/cejb
> > The path variable used in the code below should contain:
> > /modulename/src/cejb
> >
> > That is how it is done, except hat on windows I have \ instead of /.
> >
> > I do not see what I have to change.
> >
> > Chris
> >
> >
> > Jerome Lanneluc wrote:
> >
> > > Use an absolute workspace-relative path for your source folder, not a
> > > 1-segment path.
> >
> > > Jerome
> >
> > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > news:bu3ptn$tbn$1@eclipse.org...
> > > > Hi
> > > >
> > > > I want to automatically add new (unknown) source folders to an eclipse
> > > > project. (CVS update - include new modules created by others
> > > > automatically).
> > > > For that I use the following code:
> > > >
> > > > // new source folder = path
> > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > >
> > > > /** put current classpath (IClasspathEntry[] oldClasspath =
> > > > project.getRawClasspath(); )
> > > > together with new folder (cpe) in IClasspathEntry[] classpath. then
> set
> > > > it: */
> > > >
> > > > project.setRawClasspath(classpath, new NullProgressMonitor());
> > > >
> > > >
> > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new source
> > > > folder, but my project is now dependent on another project (name =
> path
> > > > name).
> > > >
> > > > What's wrong here?
> > > >
> > > > Thanks in advance for help how to do this
> > > >
> > > > Chris
> > > >
> > > > PS: I found 1 posting
> > > > ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> where
> > > > the same solution was suggested, and the other guy seemed to be happy
> with
> > > > it. What am I doing wrong?
> > > >
> > > >
> >
> >
Re: Adding source folders programmatically [message #134869 is a reply to message #134860] Thu, 15 January 2004 06:14 Go to previous messageGo to next message
Eclipse UserFriend
So ecjb is a project? It is still not clear what's your workspace layout.Can
you describe it in more details?

Jerome

"Chris" <christoph.schwitter@elca.ch> wrote in message
news:bu5r35$7vs$1@eclipse.org...
> yes, its an external project.
>
> It does not work. Thew new classpath entry is created like this (new path
> argument is copied from debug).
>
> IPath path = new Path("\\module1\\src\\TestProject");
> IClasspathEntry cpe = JavaCore.newSourceEntry(path);
>
> > > Project root = .../myproject
> > > Source folder to add = ../myproject/module1/src/TestProject
>
> That still creates project dependencies (to "TestProject"), not new source
> folders.
>
> From existing source folders, the classpath includes the myproject
> element, but even if I add that, it does not help.
>
> Chris
>
>
>
>
> Jerome Lanneluc wrote:
>
> > Right the source folder path should be /modulename/src/cejb. So this
should
> > work. However just to make sure I understand your layout: your project
is
> > external to your workspace, right?
>
> > Jerome
>
> > "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in message
> > news:bu5h1e$rba$1@eclipse.org...
> > > Thanks for your hint, but I do not understand what I have to do.
> > >
> > > Just to be sure about an "absolute workspace relative path":
> > > Project root = d:/myproject
> > > Source folder to add = d:/myproject/modulename/src/cejb
> > > The path variable used in the code below should contain:
> > > /modulename/src/cejb
> > >
> > > That is how it is done, except hat on windows I have \ instead of /.
> > >
> > > I do not see what I have to change.
> > >
> > > Chris
> > >
> > >
> > > Jerome Lanneluc wrote:
> > >
> > > > Use an absolute workspace-relative path for your source folder, not
a
> > > > 1-segment path.
> > >
> > > > Jerome
> > >
> > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > news:bu3ptn$tbn$1@eclipse.org...
> > > > > Hi
> > > > >
> > > > > I want to automatically add new (unknown) source folders to an
eclipse
> > > > > project. (CVS update - include new modules created by others
> > > > > automatically).
> > > > > For that I use the following code:
> > > > >
> > > > > // new source folder = path
> > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > >
> > > > > /** put current classpath (IClasspathEntry[] oldClasspath =
> > > > > project.getRawClasspath(); )
> > > > > together with new folder (cpe) in IClasspathEntry[] classpath.
then
> > set
> > > > > it: */
> > > > >
> > > > > project.setRawClasspath(classpath, new NullProgressMonitor());
> > > > >
> > > > >
> > > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new
source
> > > > > folder, but my project is now dependent on another project (name =
> > path
> > > > > name).
> > > > >
> > > > > What's wrong here?
> > > > >
> > > > > Thanks in advance for help how to do this
> > > > >
> > > > > Chris
> > > > >
> > > > > PS: I found 1 posting
> > > > >
( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> > where
> > > > > the same solution was suggested, and the other guy seemed to be
happy
> > with
> > > > > it. What am I doing wrong?
> > > > >
> > > > >
> > >
> > >
>
>
Re: Adding source folders programmatically [message #134880 is a reply to message #134869] Thu, 15 January 2004 06:23 Go to previous messageGo to next message
Eclipse UserFriend
The project is a test project I use for testing this plugin. Project
location is:

D:\CSC\projects\leaf\eclipseIntegration\TestProjects\testPro ject1\

It has subfolders for modules, for testing only one:
D:\CSC\projects\leaf\eclipseIntegration\TestProjects\testPro ject1\module1\src\

In src we have the real source folders that should be added to the project.
src\cejb
src\TestProject
src\anything

When creating the classpath, I have "\\module1\\src\\TestProject" as IPath
(I also have tried "\\testProject1\\module1\\src\\TestProject").

What other information do you need?

Chris



Jerome Lanneluc wrote:

> So ecjb is a project? It is still not clear what's your workspace layout.Can
> you describe it in more details?

> Jerome

> "Chris" <christoph.schwitter@elca.ch> wrote in message
> news:bu5r35$7vs$1@eclipse.org...
> > yes, its an external project.
> >
> > It does not work. Thew new classpath entry is created like this (new path
> > argument is copied from debug).
> >
> > IPath path = new Path("\module1\src\TestProject");
> > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> >
> > > > Project root = .../myproject
> > > > Source folder to add = ../myproject/module1/src/TestProject
> >
> > That still creates project dependencies (to "TestProject"), not new source
> > folders.
> >
> > From existing source folders, the classpath includes the myproject
> > element, but even if I add that, it does not help.
> >
> > Chris
> >
> >
> >
> >
> > Jerome Lanneluc wrote:
> >
> > > Right the source folder path should be /modulename/src/cejb. So this
> should
> > > work. However just to make sure I understand your layout: your project
> is
> > > external to your workspace, right?
> >
> > > Jerome
> >
> > > "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in message
> > > news:bu5h1e$rba$1@eclipse.org...
> > > > Thanks for your hint, but I do not understand what I have to do.
> > > >
> > > > Just to be sure about an "absolute workspace relative path":
> > > > Project root = d:/myproject
> > > > Source folder to add = d:/myproject/modulename/src/cejb
> > > > The path variable used in the code below should contain:
> > > > /modulename/src/cejb
> > > >
> > > > That is how it is done, except hat on windows I have instead of /.
> > > >
> > > > I do not see what I have to change.
> > > >
> > > > Chris
> > > >
> > > >
> > > > Jerome Lanneluc wrote:
> > > >
> > > > > Use an absolute workspace-relative path for your source folder, not
> a
> > > > > 1-segment path.
> > > >
> > > > > Jerome
> > > >
> > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > news:bu3ptn$tbn$1@eclipse.org...
> > > > > > Hi
> > > > > >
> > > > > > I want to automatically add new (unknown) source folders to an
> eclipse
> > > > > > project. (CVS update - include new modules created by others
> > > > > > automatically).
> > > > > > For that I use the following code:
> > > > > >
> > > > > > // new source folder = path
> > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > >
> > > > > > /** put current classpath (IClasspathEntry[] oldClasspath =
> > > > > > project.getRawClasspath(); )
> > > > > > together with new folder (cpe) in IClasspathEntry[] classpath.
> then
> > > set
> > > > > > it: */
> > > > > >
> > > > > > project.setRawClasspath(classpath, new NullProgressMonitor());
> > > > > >
> > > > > >
> > > > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new
> source
> > > > > > folder, but my project is now dependent on another project (name =
> > > path
> > > > > > name).
> > > > > >
> > > > > > What's wrong here?
> > > > > >
> > > > > > Thanks in advance for help how to do this
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > PS: I found 1 posting
> > > > > >
> ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> > > where
> > > > > > the same solution was suggested, and the other guy seemed to be
> happy
> > > with
> > > > > > it. What am I doing wrong?
> > > > > >
> > > > > >
> > > >
> > > >
> >
> >
Re: Adding source folders programmatically [message #134892 is a reply to message #134880] Thu, 15 January 2004 06:31 Go to previous messageGo to next message
Eclipse UserFriend
You said it was creating a project dependency. I assume then you have
another project, don't you?

Jerome

"Chris" <christoph.schwitter@elca.ch> wrote in message
news:bu5t84$as7$1@eclipse.org...
>
> The project is a test project I use for testing this plugin. Project
> location is:
>
> D:\CSC\projects\leaf\eclipseIntegration\TestProjects\testPro ject1\
>
> It has subfolders for modules, for testing only one:
>
D:\CSC\projects\leaf\eclipseIntegration\TestProjects\testPro ject1\module1\sr
c\
>
> In src we have the real source folders that should be added to the
project.
> src\cejb
> src\TestProject
> src\anything
>
> When creating the classpath, I have "\\module1\\src\\TestProject" as IPath
> (I also have tried "\\testProject1\\module1\\src\\TestProject").
>
> What other information do you need?
>
> Chris
>
>
>
> Jerome Lanneluc wrote:
>
> > So ecjb is a project? It is still not clear what's your workspace
layout.Can
> > you describe it in more details?
>
> > Jerome
>
> > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > news:bu5r35$7vs$1@eclipse.org...
> > > yes, its an external project.
> > >
> > > It does not work. Thew new classpath entry is created like this (new
path
> > > argument is copied from debug).
> > >
> > > IPath path = new Path("\module1\src\TestProject");
> > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > >
> > > > > Project root = .../myproject
> > > > > Source folder to add = ../myproject/module1/src/TestProject
> > >
> > > That still creates project dependencies (to "TestProject"), not new
source
> > > folders.
> > >
> > > From existing source folders, the classpath includes the myproject
> > > element, but even if I add that, it does not help.
> > >
> > > Chris
> > >
> > >
> > >
> > >
> > > Jerome Lanneluc wrote:
> > >
> > > > Right the source folder path should be /modulename/src/cejb. So
this
> > should
> > > > work. However just to make sure I understand your layout: your
project
> > is
> > > > external to your workspace, right?
> > >
> > > > Jerome
> > >
> > > > "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in message
> > > > news:bu5h1e$rba$1@eclipse.org...
> > > > > Thanks for your hint, but I do not understand what I have to do.
> > > > >
> > > > > Just to be sure about an "absolute workspace relative path":
> > > > > Project root = d:/myproject
> > > > > Source folder to add = d:/myproject/modulename/src/cejb
> > > > > The path variable used in the code below should contain:
> > > > > /modulename/src/cejb
> > > > >
> > > > > That is how it is done, except hat on windows I have instead of
/.
> > > > >
> > > > > I do not see what I have to change.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > Jerome Lanneluc wrote:
> > > > >
> > > > > > Use an absolute workspace-relative path for your source folder,
not
> > a
> > > > > > 1-segment path.
> > > > >
> > > > > > Jerome
> > > > >
> > > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > > news:bu3ptn$tbn$1@eclipse.org...
> > > > > > > Hi
> > > > > > >
> > > > > > > I want to automatically add new (unknown) source folders to an
> > eclipse
> > > > > > > project. (CVS update - include new modules created by others
> > > > > > > automatically).
> > > > > > > For that I use the following code:
> > > > > > >
> > > > > > > // new source folder = path
> > > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > > >
> > > > > > > /** put current classpath (IClasspathEntry[] oldClasspath =
> > > > > > > project.getRawClasspath(); )
> > > > > > > together with new folder (cpe) in IClasspathEntry[] classpath.
> > then
> > > > set
> > > > > > > it: */
> > > > > > >
> > > > > > > project.setRawClasspath(classpath, new NullProgressMonitor());
> > > > > > >
> > > > > > >
> > > > > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have a
new
> > source
> > > > > > > folder, but my project is now dependent on another project
(name =
> > > > path
> > > > > > > name).
> > > > > > >
> > > > > > > What's wrong here?
> > > > > > >
> > > > > > > Thanks in advance for help how to do this
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > PS: I found 1 posting
> > > > > > >
> > ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> > > > where
> > > > > > > the same solution was suggested, and the other guy seemed to
be
> > happy
> > > > with
> > > > > > > it. What am I doing wrong?
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > >
> > >
>
>
Re: Adding source folders programmatically [message #134905 is a reply to message #134892] Thu, 15 January 2004 07:11 Go to previous messageGo to next message
Eclipse UserFriend
No, in the test setup there is no other project. The other project's name
is just the folder's name, a project with the same name does not exist.
There is only the folder..

Christoph


Jerome Lanneluc wrote:

> You said it was creating a project dependency. I assume then you have
> another project, don't you?

> Jerome

> "Chris" <christoph.schwitter@elca.ch> wrote in message
> news:bu5t84$as7$1@eclipse.org...
> >
> > The project is a test project I use for testing this plugin. Project
> > location is:
> >
> > D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1
> >
> > It has subfolders for modules, for testing only one:
> >
> D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1m odule1sr
> c
> >
> > In src we have the real source folders that should be added to the
> project.
> > srccejb
> > srcTestProject
> > srcanything
> >
> > When creating the classpath, I have "\module1\src\TestProject" as IPath
> > (I also have tried "\testProject1\module1\src\TestProject").
> >
> > What other information do you need?
> >
> > Chris
> >
> >
> >
> > Jerome Lanneluc wrote:
> >
> > > So ecjb is a project? It is still not clear what's your workspace
> layout.Can
> > > you describe it in more details?
> >
> > > Jerome
> >
> > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > news:bu5r35$7vs$1@eclipse.org...
> > > > yes, its an external project.
> > > >
> > > > It does not work. Thew new classpath entry is created like this (new
> path
> > > > argument is copied from debug).
> > > >
> > > > IPath path = new Path("module1srcTestProject");
> > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > >
> > > > > > Project root = .../myproject
> > > > > > Source folder to add = ../myproject/module1/src/TestProject
> > > >
> > > > That still creates project dependencies (to "TestProject"), not new
> source
> > > > folders.
> > > >
> > > > From existing source folders, the classpath includes the myproject
> > > > element, but even if I add that, it does not help.
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > >
> > > > Jerome Lanneluc wrote:
> > > >
> > > > > Right the source folder path should be /modulename/src/cejb. So
> this
> > > should
> > > > > work. However just to make sure I understand your layout: your
> project
> > > is
> > > > > external to your workspace, right?
> > > >
> > > > > Jerome
> > > >
> > > > > "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in message
> > > > > news:bu5h1e$rba$1@eclipse.org...
> > > > > > Thanks for your hint, but I do not understand what I have to do.
> > > > > >
> > > > > > Just to be sure about an "absolute workspace relative path":
> > > > > > Project root = d:/myproject
> > > > > > Source folder to add = d:/myproject/modulename/src/cejb
> > > > > > The path variable used in the code below should contain:
> > > > > > /modulename/src/cejb
> > > > > >
> > > > > > That is how it is done, except hat on windows I have instead of
> /.
> > > > > >
> > > > > > I do not see what I have to change.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > Jerome Lanneluc wrote:
> > > > > >
> > > > > > > Use an absolute workspace-relative path for your source folder,
> not
> > > a
> > > > > > > 1-segment path.
> > > > > >
> > > > > > > Jerome
> > > > > >
> > > > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > > > news:bu3ptn$tbn$1@eclipse.org...
> > > > > > > > Hi
> > > > > > > >
> > > > > > > > I want to automatically add new (unknown) source folders to an
> > > eclipse
> > > > > > > > project. (CVS update - include new modules created by others
> > > > > > > > automatically).
> > > > > > > > For that I use the following code:
> > > > > > > >
> > > > > > > > // new source folder = path
> > > > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > > > >
> > > > > > > > /** put current classpath (IClasspathEntry[] oldClasspath =
> > > > > > > > project.getRawClasspath(); )
> > > > > > > > together with new folder (cpe) in IClasspathEntry[] classpath.
> > > then
> > > > > set
> > > > > > > > it: */
> > > > > > > >
> > > > > > > > project.setRawClasspath(classpath, new NullProgressMonitor());
> > > > > > > >
> > > > > > > >
> > > > > > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have a
> new
> > > source
> > > > > > > > folder, but my project is now dependent on another project
> (name =
> > > > > path
> > > > > > > > name).
> > > > > > > >
> > > > > > > > What's wrong here?
> > > > > > > >
> > > > > > > > Thanks in advance for help how to do this
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > > PS: I found 1 posting
> > > > > > > >
> > > ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> > > > > where
> > > > > > > > the same solution was suggested, and the other guy seemed to
> be
> > > happy
> > > > > with
> > > > > > > > it. What am I doing wrong?
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > >
> > > >
> >
> >
Re: Adding source folders programmatically [message #134917 is a reply to message #134905] Thu, 15 January 2004 07:26 Go to previous messageGo to next message
Eclipse UserFriend
I'm confused. In your original post you said 'my project is now dependent on
another project'. What did you mean?

Jerome

"Chris" <christoph.schwitter@elca.ch> wrote in message
news:bu6019$e65$1@eclipse.org...
> No, in the test setup there is no other project. The other project's name
> is just the folder's name, a project with the same name does not exist.
> There is only the folder..
>
> Christoph
>
>
> Jerome Lanneluc wrote:
>
> > You said it was creating a project dependency. I assume then you have
> > another project, don't you?
>
> > Jerome
>
> > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > news:bu5t84$as7$1@eclipse.org...
> > >
> > > The project is a test project I use for testing this plugin. Project
> > > location is:
> > >
> > > D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1
> > >
> > > It has subfolders for modules, for testing only one:
> > >
> > D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1m odule1sr
> > c
> > >
> > > In src we have the real source folders that should be added to the
> > project.
> > > srccejb
> > > srcTestProject
> > > srcanything
> > >
> > > When creating the classpath, I have "\module1\src\TestProject" as
IPath
> > > (I also have tried "\testProject1\module1\src\TestProject").
> > >
> > > What other information do you need?
> > >
> > > Chris
> > >
> > >
> > >
> > > Jerome Lanneluc wrote:
> > >
> > > > So ecjb is a project? It is still not clear what's your workspace
> > layout.Can
> > > > you describe it in more details?
> > >
> > > > Jerome
> > >
> > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > news:bu5r35$7vs$1@eclipse.org...
> > > > > yes, its an external project.
> > > > >
> > > > > It does not work. Thew new classpath entry is created like this
(new
> > path
> > > > > argument is copied from debug).
> > > > >
> > > > > IPath path = new Path("module1srcTestProject");
> > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > >
> > > > > > > Project root = .../myproject
> > > > > > > Source folder to add = ../myproject/module1/src/TestProject
> > > > >
> > > > > That still creates project dependencies (to "TestProject"), not
new
> > source
> > > > > folders.
> > > > >
> > > > > From existing source folders, the classpath includes the myproject
> > > > > element, but even if I add that, it does not help.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Jerome Lanneluc wrote:
> > > > >
> > > > > > Right the source folder path should be /modulename/src/cejb. So
> > this
> > > > should
> > > > > > work. However just to make sure I understand your layout: your
> > project
> > > > is
> > > > > > external to your workspace, right?
> > > > >
> > > > > > Jerome
> > > > >
> > > > > > "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in
message
> > > > > > news:bu5h1e$rba$1@eclipse.org...
> > > > > > > Thanks for your hint, but I do not understand what I have to
do.
> > > > > > >
> > > > > > > Just to be sure about an "absolute workspace relative path":
> > > > > > > Project root = d:/myproject
> > > > > > > Source folder to add = d:/myproject/modulename/src/cejb
> > > > > > > The path variable used in the code below should contain:
> > > > > > > /modulename/src/cejb
> > > > > > >
> > > > > > > That is how it is done, except hat on windows I have instead
of
> > /.
> > > > > > >
> > > > > > > I do not see what I have to change.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > > Jerome Lanneluc wrote:
> > > > > > >
> > > > > > > > Use an absolute workspace-relative path for your source
folder,
> > not
> > > > a
> > > > > > > > 1-segment path.
> > > > > > >
> > > > > > > > Jerome
> > > > > > >
> > > > > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > > > > news:bu3ptn$tbn$1@eclipse.org...
> > > > > > > > > Hi
> > > > > > > > >
> > > > > > > > > I want to automatically add new (unknown) source folders
to an
> > > > eclipse
> > > > > > > > > project. (CVS update - include new modules created by
others
> > > > > > > > > automatically).
> > > > > > > > > For that I use the following code:
> > > > > > > > >
> > > > > > > > > // new source folder = path
> > > > > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > > > > >
> > > > > > > > > /** put current classpath (IClasspathEntry[] oldClasspath
=
> > > > > > > > > project.getRawClasspath(); )
> > > > > > > > > together with new folder (cpe) in IClasspathEntry[]
classpath.
> > > > then
> > > > > > set
> > > > > > > > > it: */
> > > > > > > > >
> > > > > > > > > project.setRawClasspath(classpath, new
NullProgressMonitor());
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have
a
> > new
> > > > source
> > > > > > > > > folder, but my project is now dependent on another project
> > (name =
> > > > > > path
> > > > > > > > > name).
> > > > > > > > >
> > > > > > > > > What's wrong here?
> > > > > > > > >
> > > > > > > > > Thanks in advance for help how to do this
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > PS: I found 1 posting
> > > > > > > > >
> > > > ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> > > > > > where
> > > > > > > > > the same solution was suggested, and the other guy seemed
to
> > be
> > > > happy
> > > > > > with
> > > > > > > > > it. What am I doing wrong?
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > >
> > >
>
>
Re: Adding source folders programmatically [message #134944 is a reply to message #134917] Thu, 15 January 2004 07:44 Go to previous messageGo to next message
Eclipse UserFriend
Initially, I have a normal eclipse project, no source folders.
Then I execute my plugin.
Result:
still no source folders, but: project - properties - java build path -
projects: each source folder (that should be a source path) is listed as
project (as project required in the build path, but these projects do not
exist).

Chris


Jerome Lanneluc wrote:

> I'm confused. In your original post you said 'my project is now dependent on
> another project'. What did you mean?

> Jerome

> "Chris" <christoph.schwitter@elca.ch> wrote in message
> news:bu6019$e65$1@eclipse.org...
> > No, in the test setup there is no other project. The other project's name
> > is just the folder's name, a project with the same name does not exist.
> > There is only the folder..
> >
> > Christoph
> >
> >
> > Jerome Lanneluc wrote:
> >
> > > You said it was creating a project dependency. I assume then you have
> > > another project, don't you?
> >
> > > Jerome
> >
> > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > news:bu5t84$as7$1@eclipse.org...
> > > >
> > > > The project is a test project I use for testing this plugin. Project
> > > > location is:
> > > >
> > > > D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1
> > > >
> > > > It has subfolders for modules, for testing only one:
> > > >
> > > D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1m odule1sr
> > > c
> > > >
> > > > In src we have the real source folders that should be added to the
> > > project.
> > > > srccejb
> > > > srcTestProject
> > > > srcanything
> > > >
> > > > When creating the classpath, I have "module1srcTestProject" as
> IPath
> > > > (I also have tried "testProject1module1srcTestProject").
> > > >
> > > > What other information do you need?
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > > Jerome Lanneluc wrote:
> > > >
> > > > > So ecjb is a project? It is still not clear what's your workspace
> > > layout.Can
> > > > > you describe it in more details?
> > > >
> > > > > Jerome
> > > >
> > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > news:bu5r35$7vs$1@eclipse.org...
> > > > > > yes, its an external project.
> > > > > >
> > > > > > It does not work. Thew new classpath entry is created like this
> (new
> > > path
> > > > > > argument is copied from debug).
> > > > > >
> > > > > > IPath path = new Path("module1srcTestProject");
> > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > >
> > > > > > > > Project root = .../myproject
> > > > > > > > Source folder to add = ../myproject/module1/src/TestProject
> > > > > >
> > > > > > That still creates project dependencies (to "TestProject"), not
> new
> > > source
> > > > > > folders.
> > > > > >
> > > > > > From existing source folders, the classpath includes the myproject
> > > > > > element, but even if I add that, it does not help.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Jerome Lanneluc wrote:
> > > > > >
> > > > > > > Right the source folder path should be /modulename/src/cejb. So
> > > this
> > > > > should
> > > > > > > work. However just to make sure I understand your layout: your
> > > project
> > > > > is
> > > > > > > external to your workspace, right?
> > > > > >
> > > > > > > Jerome
> > > > > >
> > > > > > > "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in
> message
> > > > > > > news:bu5h1e$rba$1@eclipse.org...
> > > > > > > > Thanks for your hint, but I do not understand what I have to
> do.
> > > > > > > >
> > > > > > > > Just to be sure about an "absolute workspace relative path":
> > > > > > > > Project root = d:/myproject
> > > > > > > > Source folder to add = d:/myproject/modulename/src/cejb
> > > > > > > > The path variable used in the code below should contain:
> > > > > > > > /modulename/src/cejb
> > > > > > > >
> > > > > > > > That is how it is done, except hat on windows I have instead
> of
> > > /.
> > > > > > > >
> > > > > > > > I do not see what I have to change.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > Jerome Lanneluc wrote:
> > > > > > > >
> > > > > > > > > Use an absolute workspace-relative path for your source
> folder,
> > > not
> > > > > a
> > > > > > > > > 1-segment path.
> > > > > > > >
> > > > > > > > > Jerome
> > > > > > > >
> > > > > > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > > > > > news:bu3ptn$tbn$1@eclipse.org...
> > > > > > > > > > Hi
> > > > > > > > > >
> > > > > > > > > > I want to automatically add new (unknown) source folders
> to an
> > > > > eclipse
> > > > > > > > > > project. (CVS update - include new modules created by
> others
> > > > > > > > > > automatically).
> > > > > > > > > > For that I use the following code:
> > > > > > > > > >
> > > > > > > > > > // new source folder = path
> > > > > > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > > > > > >
> > > > > > > > > > /** put current classpath (IClasspathEntry[] oldClasspath
> =
> > > > > > > > > > project.getRawClasspath(); )
> > > > > > > > > > together with new folder (cpe) in IClasspathEntry[]
> classpath.
> > > > > then
> > > > > > > set
> > > > > > > > > > it: */
> > > > > > > > > >
> > > > > > > > > > project.setRawClasspath(classpath, new
> NullProgressMonitor());
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not have
> a
> > > new
> > > > > source
> > > > > > > > > > folder, but my project is now dependent on another project
> > > (name =
> > > > > > > path
> > > > > > > > > > name).
> > > > > > > > > >
> > > > > > > > > > What's wrong here?
> > > > > > > > > >
> > > > > > > > > > Thanks in advance for help how to do this
> > > > > > > > > >
> > > > > > > > > > Chris
> > > > > > > > > >
> > > > > > > > > > PS: I found 1 posting
> > > > > > > > > >
> > > > > ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> > > > > > > where
> > > > > > > > > > the same solution was suggested, and the other guy seemed
> to
> > > be
> > > > > happy
> > > > > > > with
> > > > > > > > > > it. What am I doing wrong?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > >
> > > >
> >
> >
Re: Adding source folders programmatically [message #134990 is a reply to message #134694] Thu, 15 January 2004 08:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jparks.noteworthyms.com

You have to create the source folder (or, as the case may be, create a
source folder reference) in the project, and then you have to update the
classpath entries of the project. You're only performing the latter.

This is adapted from the book "Contributing to Eclipse":

private IPackageFragmentRoot createSourceFolder(String path) throws
CoreException {
IFolder folder = project.getFolder(path);
folder.create(false, true, null);
IJavaProject javaProject = (IJavaProject) project; // not sure if this
is correct
IPackageFragmentRoot root =
javaProject.getPackageFragmentRoot(folder);
IClasspathEntry [] oldEntries = javaProject.getRawClasspath();
IClasspathEntry [] newEntries =
new IClasspathEntry [oldEntries.length + 1];
System.arraycopy(oldEntries, 0, newEntries, 0, oldEntries.length);
newEntries[oldEntries.length + 1] =
JavaCore.newSourceEntry(root.getPath());
javaProject.setRawClasspath(newEntries, null);
return root;
}


"Chris" <christoph.schwitter@elca.ch> wrote in message
news:bu3ptn$tbn$1@eclipse.org...
> Hi
>
> I want to automatically add new (unknown) source folders to an eclipse
> project. (CVS update - include new modules created by others
> automatically).
> For that I use the following code:
>
> // new source folder = path
> IClasspathEntry cpe = JavaCore.newSourceEntry(path);
>
> /** put current classpath (IClasspathEntry[] oldClasspath =
> project.getRawClasspath(); )
> together with new folder (cpe) in IClasspathEntry[] classpath. then set
> it: */
>
> project.setRawClasspath(classpath, new NullProgressMonitor());
>
>
> As a result (with elicpse 2.1.1 and 2.1.2), I do not have a new source
> folder, but my project is now dependent on another project (name = path
> name).
>
> What's wrong here?
>
> Thanks in advance for help how to do this
>
> Chris
>
> PS: I found 1 posting
> ( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html), where
> the same solution was suggested, and the other guy seemed to be happy with
> it. What am I doing wrong?
>
>
Re: Adding source folders programmatically [message #135014 is a reply to message #134944] Thu, 15 January 2004 09:51 Go to previous message
Eclipse UserFriend
I understand now, but I cannot reproduce in 2.1.2. Have you tried creating
the folder as Joe suggested?

Jerome

"Chris" <christoph.schwitter@elca.ch> wrote in message
news:bu61uk$gl5$1@eclipse.org...
> Initially, I have a normal eclipse project, no source folders.
> Then I execute my plugin.
> Result:
> still no source folders, but: project - properties - java build path -
> projects: each source folder (that should be a source path) is listed as
> project (as project required in the build path, but these projects do not
> exist).
>
> Chris
>
>
> Jerome Lanneluc wrote:
>
> > I'm confused. In your original post you said 'my project is now
dependent on
> > another project'. What did you mean?
>
> > Jerome
>
> > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > news:bu6019$e65$1@eclipse.org...
> > > No, in the test setup there is no other project. The other project's
name
> > > is just the folder's name, a project with the same name does not
exist.
> > > There is only the folder..
> > >
> > > Christoph
> > >
> > >
> > > Jerome Lanneluc wrote:
> > >
> > > > You said it was creating a project dependency. I assume then you
have
> > > > another project, don't you?
> > >
> > > > Jerome
> > >
> > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > news:bu5t84$as7$1@eclipse.org...
> > > > >
> > > > > The project is a test project I use for testing this plugin.
Project
> > > > > location is:
> > > > >
> > > > > D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1
> > > > >
> > > > > It has subfolders for modules, for testing only one:
> > > > >
> > > > D:CSCprojectsleafeclipseIntegrationTestProjectstestProject1m odule1sr
> > > > c
> > > > >
> > > > > In src we have the real source folders that should be added to the
> > > > project.
> > > > > srccejb
> > > > > srcTestProject
> > > > > srcanything
> > > > >
> > > > > When creating the classpath, I have "module1srcTestProject" as
> > IPath
> > > > > (I also have tried "testProject1module1srcTestProject").
> > > > >
> > > > > What other information do you need?
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > >
> > > > > Jerome Lanneluc wrote:
> > > > >
> > > > > > So ecjb is a project? It is still not clear what's your
workspace
> > > > layout.Can
> > > > > > you describe it in more details?
> > > > >
> > > > > > Jerome
> > > > >
> > > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > > news:bu5r35$7vs$1@eclipse.org...
> > > > > > > yes, its an external project.
> > > > > > >
> > > > > > > It does not work. Thew new classpath entry is created like
this
> > (new
> > > > path
> > > > > > > argument is copied from debug).
> > > > > > >
> > > > > > > IPath path = new Path("module1srcTestProject");
> > > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > > >
> > > > > > > > > Project root = .../myproject
> > > > > > > > > Source folder to add =
.../myproject/module1/src/TestProject
> > > > > > >
> > > > > > > That still creates project dependencies (to "TestProject"),
not
> > new
> > > > source
> > > > > > > folders.
> > > > > > >
> > > > > > > From existing source folders, the classpath includes the
myproject
> > > > > > > element, but even if I add that, it does not help.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Jerome Lanneluc wrote:
> > > > > > >
> > > > > > > > Right the source folder path should be
/modulename/src/cejb. So
> > > > this
> > > > > > should
> > > > > > > > work. However just to make sure I understand your layout:
your
> > > > project
> > > > > > is
> > > > > > > > external to your workspace, right?
> > > > > > >
> > > > > > > > Jerome
> > > > > > >
> > > > > > > > "Christoph schwitter" <christoph.schwitter@elca.ch> wrote in
> > message
> > > > > > > > news:bu5h1e$rba$1@eclipse.org...
> > > > > > > > > Thanks for your hint, but I do not understand what I have
to
> > do.
> > > > > > > > >
> > > > > > > > > Just to be sure about an "absolute workspace relative
path":
> > > > > > > > > Project root = d:/myproject
> > > > > > > > > Source folder to add = d:/myproject/modulename/src/cejb
> > > > > > > > > The path variable used in the code below should contain:
> > > > > > > > > /modulename/src/cejb
> > > > > > > > >
> > > > > > > > > That is how it is done, except hat on windows I have
instead
> > of
> > > > /.
> > > > > > > > >
> > > > > > > > > I do not see what I have to change.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Jerome Lanneluc wrote:
> > > > > > > > >
> > > > > > > > > > Use an absolute workspace-relative path for your source
> > folder,
> > > > not
> > > > > > a
> > > > > > > > > > 1-segment path.
> > > > > > > > >
> > > > > > > > > > Jerome
> > > > > > > > >
> > > > > > > > > > "Chris" <christoph.schwitter@elca.ch> wrote in message
> > > > > > > > > > news:bu3ptn$tbn$1@eclipse.org...
> > > > > > > > > > > Hi
> > > > > > > > > > >
> > > > > > > > > > > I want to automatically add new (unknown) source
folders
> > to an
> > > > > > eclipse
> > > > > > > > > > > project. (CVS update - include new modules created by
> > others
> > > > > > > > > > > automatically).
> > > > > > > > > > > For that I use the following code:
> > > > > > > > > > >
> > > > > > > > > > > // new source folder = path
> > > > > > > > > > > IClasspathEntry cpe = JavaCore.newSourceEntry(path);
> > > > > > > > > > >
> > > > > > > > > > > /** put current classpath (IClasspathEntry[]
oldClasspath
> > =
> > > > > > > > > > > project.getRawClasspath(); )
> > > > > > > > > > > together with new folder (cpe) in IClasspathEntry[]
> > classpath.
> > > > > > then
> > > > > > > > set
> > > > > > > > > > > it: */
> > > > > > > > > > >
> > > > > > > > > > > project.setRawClasspath(classpath, new
> > NullProgressMonitor());
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > As a result (with elicpse 2.1.1 and 2.1.2), I do not
have
> > a
> > > > new
> > > > > > source
> > > > > > > > > > > folder, but my project is now dependent on another
project
> > > > (name =
> > > > > > > > path
> > > > > > > > > > > name).
> > > > > > > > > > >
> > > > > > > > > > > What's wrong here?
> > > > > > > > > > >
> > > > > > > > > > > Thanks in advance for help how to do this
> > > > > > > > > > >
> > > > > > > > > > > Chris
> > > > > > > > > > >
> > > > > > > > > > > PS: I found 1 posting
> > > > > > > > > > >
> > > > > >
( http://dev.eclipse.org/newslists/news.eclipse.tools/msg60431 .html),
> > > > > > > > where
> > > > > > > > > > > the same solution was suggested, and the other guy
seemed
> > to
> > > > be
> > > > > > happy
> > > > > > > > with
> > > > > > > > > > > it. What am I doing wrong?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > >
> > >
>
>
Previous Topic:go back to Java Perspective after Debug
Next Topic:Java syntax extensions in Eclipse
Goto Forum:
  


Current Time: Wed May 28 15:59:21 EDT 2025

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

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

Back to the top