Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Java Build Path
Java Build Path [message #515722] Fri, 19 February 2010 17:08 Go to next message
Eclipse UserFriend
I haven't used Eclipse since 3.1, and downloaded galileo Java EE bundle.
however a lot of things seem to have changed.
I am looking for Java Build Path, under Project->Properties and only see
Resource
Builders
Project References
Run/Debug Settings
Server...
and so on.
I am looking for what it used to be
Info
Builders
Java Build Path
Java code Style
Java compiler
Project References

Is the Projects Properties tab different for plain java version of eclipse
versus JEE ?
Re: Java Build Path [message #515739 is a reply to message #515722] Fri, 19 February 2010 22:45 Go to previous messageGo to next message
Eclipse UserFriend
sasha wrote:
> I haven't used Eclipse since 3.1, and downloaded galileo Java EE bundle.
> however a lot of things seem to have changed.
> I am looking for Java Build Path, under Project->Properties and only see
> Resource
> Builders
> Project References
> Run/Debug Settings
> Server...
> and so on.
> I am looking for what it used to be
> Info
> Builders
> Java Build Path
> Java code Style
> Java compiler
> Project References
>
> Is the Projects Properties tab different for plain java version of eclipse
> versus JEE ?
>
>
If the Build Path entry isn't available, then my guess is you don't have
a Java project (Doesn't have the Java Nature).
Re: Java Build Path [message #515774 is a reply to message #515722] Sat, 20 February 2010 12:18 Go to previous messageGo to next message
Eclipse UserFriend
As the other responder indicated, your project appears to not have the Java "nature". How did you create the project?

You could recreate the project as a "Java Project" (type "java project" into the "Select a wizard" dialog (press Ctrl-n to bring this up, or select File->New->Other from the main menu)).

If recreating the project is awkward, you might be able to directly edit the ".project" file for your project.

For instance, this is the ".project" file for a plain Java project in my workspace:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>timings</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.wst.common.project.facet.core.builder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
	</natures>
</projectDescription>


If you're unsure, make a copy of your .project file before doing this, but if you add the "org.eclipse.jdt.core.javanature" nature to the "natures" list, and the "org.eclipse.jdt.core.javabuilder" build command, it will probably make it a Java project just as if you had created it as one.
Re: Java Build Path [message #516114 is a reply to message #515774] Mon, 22 February 2010 14:01 Go to previous message
Eclipse UserFriend
Thanks! Yes, that was the problem- I had checked out a directory with a
..project file which did not have a java nature...
Now I am stuck with proxy setting problems...
"David M. Karr" <davidmichaelkarr@gmail.com> wrote in message
news:hlp5i6$1fr$1@build.eclipse.org...
> As the other responder indicated, your project appears to not have the
> Java "nature". How did you create the project?
>
> You could recreate the project as a "Java Project" (type "java project"
> into the "Select a wizard" dialog (press Ctrl-n to bring this up, or
> select File->New->Other from the main menu)).
>
> If recreating the project is awkward, you might be able to directly edit
> the ".project" file for your project.
>
> For instance, this is the ".project" file for a plain Java project in my
> workspace:
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
> <name>timings</name>
> <comment></comment>
> <projects>
> </projects>
> <buildSpec>
> <buildCommand>
> <name>org.eclipse.wst.common.project.facet.core.builder</name >
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>org.eclipse.jdt.core.javabuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> </buildSpec>
> <natures>
> <nature>org.eclipse.jdt.core.javanature</nature>
> <nature>org.eclipse.wst.common.project.facet.core.nature</nature >
> </natures>
> </projectDescription>
>
> If you're unsure, make a copy of your .project file before doing this, but
> if you add the "org.eclipse.jdt.core.javanature" nature to the "natures"
> list, and the "org.eclipse.jdt.core.javabuilder" build command, it will
> probably make it a Java project just as if you had created it as one.
Previous Topic:Compiles too many files when add one method
Next Topic:Parameters code style options
Goto Forum:
  


Current Time: Sun Mar 16 07:50:47 EDT 2025

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

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

Back to the top