Home » Language IDEs » Java Development Tools (JDT) » Content Assist gives "Compilation unit not on build path of Java project"
Content Assist gives "Compilation unit not on build path of Java project" [message #170691] |
Wed, 28 July 2004 22:44 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dingodave.edingo.net
I've just installed Eclipse 3.0 (info pasted below).
I imported a project from an existing development tree, and am in the
process of modifying some code.
When I type in "java.lang.", when I pause after the last period, the
message pops up saying "This compilation unit is not on the build path of
a Java project.", and no code assist appears.
What have I done wrong? Is there a setting somewhere in the preferences
that I need to change? I looked through every one, but nothing seemed to
match what was happening.
My configuration details are below.
Thanks for any help!
*** Date: 7/28/04 1:46 PM
*** Platform Details:
*** System properties:
catalina.base=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
catalina.home=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
catalina.useNaming=true
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=I200406192000
eclipse.commands=-os
linux
-ws
gtk
-arch
x86
-showsplash
/opt/eclipse/eclipse -showsplash 600
-exitdata
/opt/eclipse/eclipse -exitdata cf0012
-vm
/jdk/bin/java
eclipse.product=org.eclipse.platform
eclipse.startTime=1091031472722
eclipse.vm=/jdk/bin/java
eclipse.vmargs=-cp
/opt/eclipse/startup.jar
org.eclipse.core.launcher.Main
eof=eof
file.encoding=ISO-8859-1
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/opt/eclipse/startup.jar
java.class.version=48.0
java.endorsed.dirs=/data/java/j2sdk1.4.2_02/jre/lib/endorsed
java.ext.dirs=/data/java/j2sdk1.4.2_02/jre/lib/ext
java.home=/data/java/j2sdk1.4.2_02/jre
java.io.tmpdir=/tmp
java.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386/clie nt:
/data/java/j2sdk1.4.2_02/jre/lib/i386:/data/java/j2sdk1.4.2_ 02
/jre/../lib/i386:/usr/lib/mozilla-1.6
java.naming.factory.initial=org.apache.naming.java.javaURLCo ntextFactory
java.naming.factory.url.pkgs=org.apache.naming java.runtime.name=Java(TM)
2 Runtime Environment, Standard Edition java.runtime.version=1.4.2_02-b03
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.4
java.util.prefs.PreferencesFactory=
java.util.prefs.FileSystemPreferencesFactory
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.4.2_02
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java
Virtual Machine Specification java.vm.specification.vendor=Sun
Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun
Microsystems Inc.
java.vm.version=1.4.2_02-b03
line.separator=
org.eclipse.jdt.debug.ui.scrapbookActive=false
org.osgi.framework.executionenvironment=
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=2.6.3-13mdk
org.osgi.framework.processor=i386
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.2.0
org.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl
os.arch=i386
os.name=Linux
os.version=2.6.3-13mdk
osgi.arch=x86
osgi.bundles=org.eclipse.core.runtime@2:start,
org.eclipse.update.configurator@3:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore=/opt/eclipse/configuration/org.eclipse.osgi /bundles
osgi.configuration.area=file:/opt/eclipse/configuration/
osgi.framework=file:/opt/eclipse/plugins/org.eclipse.osgi_3. 0.0/
osgi.framework.beginningstartlevel=1
osgi.framework.version=3.0.0
osgi.frameworkClassPath=core.jar, console.jar, osgi.jar, resolver.jar,
defaultAdaptor.jar, eclipseAdaptor.jar
osgi.install.area=file:/opt/eclipse/
osgi.instance.area=file:/devsite/
osgi.logfile=/devsite/.metadata/.log
osgi.manifest.cache=/opt/eclipse/configuration/org.eclipse.o sgi/manifests
osgi.nl=en_US
osgi.os=linux
osgi.splashLocation=/opt/eclipse/plugins/org.eclipse.platfor m_3.0.0/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.ws=gtk
path.separator=:
sun.arch.data.model=32
sun.boot.class.path=/data/java/j2sdk1.4.2_02/jre/lib/rt.jar:
/data/java/j2sdk1.4.2_02/jre/lib/i18n.jar:/data/java/j2sdk1. 4.2_02/
jre/lib/sunrsasign.jar:/data/java/j2sdk1.4.2_02/jre/lib/jsse .jar:
/data/java/j2sdk1.4.2_02/jre/lib/jce.jar:/data/java/j2sdk1.4 .2_02/
jre/lib/charsets.jar:/data/java/j2sdk1.4.2_02/jre/classes
sun.boot.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386
sun.cpu.endian=little
sun.cpu.isalist=
sun.io.unicode.encoding=UnicodeLittle sun.java2d.fontpath=
sun.net.client.defaultConnectTimeout=60000
sun.net.client.defaultReadTimeout=60000 sun.os.patch.level=unknown
user.country=US
user.dir=/home/dingodave
user.home=/home/dingodave
user.language=en
user.name=dingodave
user.timezone=America/Shiprock
vendor=Apache Software Foundation
vendor-url=http://xml.apache.org/xalan-j version=2.4.1
*** Features:
org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
org.eclipse.platform (3.0.0) "Eclipse Platform"
org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
Resources"
*** Plug-in Registry:
com.iw.plugins.jettylauncher (1.0.12) "Jetty Launcher Plug-in"
com.iw.plugins.spindle.core (0.0.53) "Spindle Core Plugin"
com.iw.plugins.spindle.docs (0.0.2) "com.iw.plugins.spindle.docs"
com.iw.plugins.spindle.ui (0.0.53) "Spindle UI plugin"
net.sf.solareclipse.ui (0.4.0.spindle-dep-4) "SolarEclipse UI"
net.sf.solareclipse.xml.ui (0.4.0.spindle-dep-4) "XML Development Tools UI"
org.apache.ant (1.6.1) "Apache Ant"
org.apache.lucene (1.3.0) "Apache Lucene"
org.apache.xalan (2.4.1) "Apache Xalan Plug-in"
org.apache.xerces (4.0.13) ""
org.eclipse.ant.core (3.0.0) "Ant Build Tool Core"
org.eclipse.ant.ui (3.0.0) "Ant UI"
org.eclipse.compare (3.0.0) "Compare Support"
org.eclipse.core.boot (3.0.0) "Core Boot"
org.eclipse.core.expressions (3.0.0) "Expression Language"
org.eclipse.core.filebuffers (3.0.0) "File Buffers"
org.eclipse.core.resources (3.0.0) "Core Resource Management"
org.eclipse.core.resources.linux (3.0.0) "Core Resource Management Linux
Fragment"
org.eclipse.core.runtime (3.0.0) "Core Runtime"
org.eclipse.core.runtime.compatibility (3.0.0) "Core Runtime Plug-in
Compatibility"
org.eclipse.core.variables (3.0.0) "Core Variables"
org.eclipse.debug.core (3.0.0) "Debug Core"
org.eclipse.debug.ui (3.0.0) "Debug UI"
org.eclipse.help (3.0.0) "Help System Core"
org.eclipse.help.appserver (3.0.0) "Help Application Server"
org.eclipse.help.base (3.0.0) "Help System Base"
org.eclipse.help.ide (3.0.0) "Help System IDE"
org.eclipse.help.ui (3.0.0) "Help System UI"
org.eclipse.help.webapp (3.0.0) "Help System Webapp"
org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
org.eclipse.jdt.core (3.0.0) "Java Development Tools Core"
org.eclipse.jdt.debug (3.0.0) "JDI Debug Model"
org.eclipse.jdt.debug.ui (3.0.0) "JDI Debug UI"
org.eclipse.jdt.doc.user (3.0.0) "Eclipse Java Development User Guide"
org.eclipse.jdt.junit (3.0.0) "Java Development Tools JUnit support"
org.eclipse.jdt.junit.runtime (3.0.0) "Java Development Tools JUnit runtime
support"
org.eclipse.jdt.launching (3.0.0) "Java Development Tools Launching Support"
org.eclipse.jdt.ui (3.0.0) "Java Development Tools UI"
org.eclipse.jface (3.0.0) "JFace"
org.eclipse.jface.text (3.0.0) "JFace Text"
org.eclipse.ltk.core.refactoring (3.0.0) "Refactoring Core"
org.eclipse.ltk.ui.refactoring (3.0.0) "Refactoring UI"
org.eclipse.osgi (3.0.0) "OSGi System Bundle"
org.eclipse.osgi.services (3.0.0) "OSGi Release 3 Services"
org.eclipse.osgi.util (3.0.0) "OSGi R3 Utility Classes"
org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
org.eclipse.pde.build (3.0.0) "Plug-in Development Environment Build Support"
org.eclipse.pde.core (3.0.0) "Plug-in Development Core"
org.eclipse.pde.doc.user (3.0.0) "Eclipse Plug-in Development User Guide"
org.eclipse.pde.junit.runtime (3.0.0) "PDE JUnit Plug-in Test"
org.eclipse.pde.runtime (3.0.0) "Plug-in Development Environment Runtime"
org.eclipse.pde.ui (3.0.0) "Plug-in Development UI"
org.eclipse.platform (3.0.0) "Eclipse Platform"
org.eclipse.platform.doc.isv (3.0.0) "Eclipse Platform Plug-in Developer Guide"
org.eclipse.platform.doc.user (3.0.0) "Eclipse Workbench User Guide"
org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
Resources"
org.eclipse.platform.source.linux.gtk.x86 (3.0.0) "Eclipse Platform Plug-in
Developer Resources"
org.eclipse.search (3.0.0) "Search Support"
org.eclipse.swt (3.0.0) "Standard Widget Toolkit"
org.eclipse.swt.gtk (3.0.0) "Standard Widget Toolkit for GTK 2.0"
org.eclipse.team.core (3.0.0) "Team Support Core"
org.eclipse.team.cvs.core (3.0.0) "CVS Team Provider Core"
org.eclipse.team.cvs.ssh (3.0.0) "CVS SSH Core"
org.eclipse.team.cvs.ssh2 (3.0.0) "CVS SSH2"
org.eclipse.team.cvs.ui (3.0.0) "CVS Team Provider UI"
org.eclipse.team.ui (3.0.0) "Team Support UI"
org.eclipse.text (3.0.0) "Text"
org.eclipse.tomcat (4.1.30) "Tomcat Wrapper"
org.eclipse.ui (3.0.0) "Eclipse UI"
org.eclipse.ui.cheatsheets (3.0.0) "Cheat Sheets"
org.eclipse.ui.console (3.0.0) "Console"
org.eclipse.ui.editors (3.0.0) "Default Text Editor"
org.eclipse.ui.externaltools (3.0.0) "External Tools"
org.eclipse.ui.forms (3.0.0) "Eclipse Forms"
org.eclipse.ui.ide (3.0.0) "Eclipse IDE UI"
org.eclipse.ui.intro (3.0.0) "Intro Plugin"
org.eclipse.ui.presentations.r21 (3.0.0) "R21 Presentation Plug-in"
org.eclipse.ui.views (3.0.0) "Views"
org.eclipse.ui.workbench (3.0.0) "Workbench"
org.eclipse.ui.workbench.compatibility (3.0.0) "Workbench Compatibility"
org.eclipse.ui.workbench.texteditor (3.0.0) "Text Editor Framework"
org.eclipse.update.configurator (3.0.0) "Install/Update Configurator"
org.eclipse.update.core (3.0.0) "Install/Update Core"
org.eclipse.update.core.linux (3.0.0) "Install/Update Core for Linux"
org.eclipse.update.scheduler (3.0.0) "Automatic Updates Scheduler"
org.eclipse.update.ui (3.0.0) "Install/Update UI"
org.jboss.ide.eclipse.core (1.3.30) "JBoss Core Plug-in"
org.jboss.ide.eclipse.deployer.core (1.3.30) "JBoss Deployer Core Plug-in"
org.jboss.ide.eclipse.deployer.ui (1.3.30) "JBoss Deployer UI Plug-in"
org.jboss.ide.eclipse.jdt.core (1.3.30) "JBoss Development Core Plug-in"
org.jboss.ide.eclipse.jdt.j2ee.core (1.3.30) "JBoss Development J2EE Core
Plug-in"
org.jboss.ide.eclipse.jdt.j2ee.ui (1.3.30) "JBoss Development J2EE UI Plug-in"
org.jboss.ide.eclipse.jdt.test.core (1.3.30) "JBoss Development Test Core
Plug-in"
org.jboss.ide.eclipse.jdt.test.ui (1.3.30) "JBoss Development Test UI Plug-in"
org.jboss.ide.eclipse.jdt.ui (1.3.30) "JBoss Development UI Plug-in"
org.jboss.ide.eclipse.jdt.ws.core (1.3.30) "JBoss Development Web Services Core
Plug-in"
org.jboss.ide.eclipse.jdt.ws.ui (1.3.30) "JBoss Development Web Services UI
Plug-in"
org.jboss.ide.eclipse.launcher.core (1.3.30) "JBoss Launcher Core Plug-in"
org.jboss.ide.eclipse.launcher.ui (1.3.30) "JBoss Launcher UI Plug-in"
org.jboss.ide.eclipse.packaging.core (1.3.30) "JBoss Packaging Core Plug-in"
org.jboss.ide.eclipse.packaging.ui (1.3.30) "JBoss Packaging UI Plug-in"
org.jboss.ide.eclipse.ui (1.3.30) "JBoss UI Plug-in"
org.jboss.ide.eclipse.xdoclet.assist (1.3.30) "XDoclet Assist Plug-in"
org.jboss.ide.eclipse.xdoclet.core (1.3.30) "XDoclet Core Plug-in"
org.jboss.ide.eclipse.xdoclet.run (1.3.30) "XDoclet Runner Plug-in"
org.jboss.ide.eclipse.xdoclet.ui (1.3.30) "XDoclet UI Plug-in"
org.junit (3.8.1) "JUnit Testing Framework"
org.tigris.subversion.javahl.linux (0.9.12) "Linux Fragment"
org.tigris.subversion.subclipse.core (0.9.12) "SVN Team Provider Core"
org.tigris.subversion.subclipse.ui (0.9.12) "SVN Team Provider UI"
|
|
|
Re: Content Assist gives "Compilation unit not on build path of Java project" [message #170745 is a reply to message #170691] |
Thu, 29 July 2004 13:44 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akiezun.cutthis.mit.this.edu.andthis
does the project build properly?
seems like, hmm, the file is not on the buildpath:
- is the project a Java project?
- is the file in a package that looks correct?
a.
Dave Bartmess wrote:
> I've just installed Eclipse 3.0 (info pasted below).
>
> I imported a project from an existing development tree, and am in the
> process of modifying some code.
>
> When I type in "java.lang.", when I pause after the last period, the
> message pops up saying "This compilation unit is not on the build path of
> a Java project.", and no code assist appears.
>
> What have I done wrong? Is there a setting somewhere in the preferences
> that I need to change? I looked through every one, but nothing seemed to
> match what was happening.
>
> My configuration details are below.
>
> Thanks for any help!
>
> *** Date: 7/28/04 1:46 PM
>
> *** Platform Details:
>
> *** System properties:
> catalina.base=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
> catalina.home=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
> catalina.useNaming=true
> eclipse.application=org.eclipse.ui.ide.workbench
> eclipse.buildId=I200406192000
> eclipse.commands=-os
> linux
> -ws
> gtk
> -arch
> x86
> -showsplash
> /opt/eclipse/eclipse -showsplash 600
> -exitdata
> /opt/eclipse/eclipse -exitdata cf0012
> -vm
> /jdk/bin/java
>
> eclipse.product=org.eclipse.platform
> eclipse.startTime=1091031472722
> eclipse.vm=/jdk/bin/java
> eclipse.vmargs=-cp
> /opt/eclipse/startup.jar
> org.eclipse.core.launcher.Main
>
> eof=eof
> file.encoding=ISO-8859-1
> file.encoding.pkg=sun.io
> file.separator=/
> java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> java.awt.printerjob=sun.print.PSPrinterJob
> java.class.path=/opt/eclipse/startup.jar
> java.class.version=48.0
> java.endorsed.dirs=/data/java/j2sdk1.4.2_02/jre/lib/endorsed
> java.ext.dirs=/data/java/j2sdk1.4.2_02/jre/lib/ext
> java.home=/data/java/j2sdk1.4.2_02/jre
> java.io.tmpdir=/tmp
> java.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386/clie nt:
> /data/java/j2sdk1.4.2_02/jre/lib/i386:/data/java/j2sdk1.4.2_ 02
> /jre/../lib/i386:/usr/lib/mozilla-1.6
> java.naming.factory.initial=org.apache.naming.java.javaURLCo ntextFactory
> java.naming.factory.url.pkgs=org.apache.naming java.runtime.name=Java(TM)
> 2 Runtime Environment, Standard Edition java.runtime.version=1.4.2_02-b03
> java.specification.name=Java Platform API Specification
> java.specification.vendor=Sun Microsystems Inc.
> java.specification.version=1.4
> java.util.prefs.PreferencesFactory=
> java.util.prefs.FileSystemPreferencesFactory
> java.vendor=Sun Microsystems Inc.
> java.vendor.url=http://java.sun.com/
> java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
> java.version=1.4.2_02
> java.vm.info=mixed mode
> java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java
> Virtual Machine Specification java.vm.specification.vendor=Sun
> Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun
> Microsystems Inc.
> java.vm.version=1.4.2_02-b03
> line.separator=
>
> org.eclipse.jdt.debug.ui.scrapbookActive=false
> org.osgi.framework.executionenvironment=
> org.osgi.framework.language=en
> org.osgi.framework.os.name=Linux
> org.osgi.framework.os.version=2.6.3-13mdk
> org.osgi.framework.processor=i386
> org.osgi.framework.vendor=Eclipse
> org.osgi.framework.version=1.2.0
> org.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl
> os.arch=i386
> os.name=Linux
> os.version=2.6.3-13mdk
> osgi.arch=x86
> osgi.bundles=org.eclipse.core.runtime@2:start,
> org.eclipse.update.configurator@3:start
> osgi.bundles.defaultStartLevel=4
> osgi.bundlestore=/opt/eclipse/configuration/org.eclipse.osgi /bundles
> osgi.configuration.area=file:/opt/eclipse/configuration/
> osgi.framework=file:/opt/eclipse/plugins/org.eclipse.osgi_3. 0.0/
> osgi.framework.beginningstartlevel=1
> osgi.framework.version=3.0.0
> osgi.frameworkClassPath=core.jar, console.jar, osgi.jar, resolver.jar,
> defaultAdaptor.jar, eclipseAdaptor.jar
> osgi.install.area=file:/opt/eclipse/
> osgi.instance.area=file:/devsite/
> osgi.logfile=/devsite/.metadata/.log
> osgi.manifest.cache=/opt/eclipse/configuration/org.eclipse.o sgi/manifests
> osgi.nl=en_US
> osgi.os=linux
> osgi.splashLocation=/opt/eclipse/plugins/org.eclipse.platfor m_3.0.0/splash.bmp
> osgi.splashPath=platform:/base/plugins/org.eclipse.platform
> osgi.ws=gtk
> path.separator=:
> sun.arch.data.model=32
> sun.boot.class.path=/data/java/j2sdk1.4.2_02/jre/lib/rt.jar:
> /data/java/j2sdk1.4.2_02/jre/lib/i18n.jar:/data/java/j2sdk1. 4.2_02/
> jre/lib/sunrsasign.jar:/data/java/j2sdk1.4.2_02/jre/lib/jsse .jar:
> /data/java/j2sdk1.4.2_02/jre/lib/jce.jar:/data/java/j2sdk1.4 .2_02/
> jre/lib/charsets.jar:/data/java/j2sdk1.4.2_02/jre/classes
> sun.boot.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386
> sun.cpu.endian=little
> sun.cpu.isalist=
> sun.io.unicode.encoding=UnicodeLittle sun.java2d.fontpath=
> sun.net.client.defaultConnectTimeout=60000
> sun.net.client.defaultReadTimeout=60000 sun.os.patch.level=unknown
> user.country=US
> user.dir=/home/dingodave
> user.home=/home/dingodave
> user.language=en
> user.name=dingodave
> user.timezone=America/Shiprock
> vendor=Apache Software Foundation
> vendor-url=http://xml.apache.org/xalan-j version=2.4.1
>
> *** Features:
> org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
> org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
> org.eclipse.platform (3.0.0) "Eclipse Platform"
> org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
> Resources"
>
> *** Plug-in Registry:
> com.iw.plugins.jettylauncher (1.0.12) "Jetty Launcher Plug-in"
> com.iw.plugins.spindle.core (0.0.53) "Spindle Core Plugin"
> com.iw.plugins.spindle.docs (0.0.2) "com.iw.plugins.spindle.docs"
> com.iw.plugins.spindle.ui (0.0.53) "Spindle UI plugin"
> net.sf.solareclipse.ui (0.4.0.spindle-dep-4) "SolarEclipse UI"
> net.sf.solareclipse.xml.ui (0.4.0.spindle-dep-4) "XML Development Tools UI"
> org.apache.ant (1.6.1) "Apache Ant"
> org.apache.lucene (1.3.0) "Apache Lucene"
> org.apache.xalan (2.4.1) "Apache Xalan Plug-in"
> org.apache.xerces (4.0.13) ""
> org.eclipse.ant.core (3.0.0) "Ant Build Tool Core"
> org.eclipse.ant.ui (3.0.0) "Ant UI"
> org.eclipse.compare (3.0.0) "Compare Support"
> org.eclipse.core.boot (3.0.0) "Core Boot"
> org.eclipse.core.expressions (3.0.0) "Expression Language"
> org.eclipse.core.filebuffers (3.0.0) "File Buffers"
> org.eclipse.core.resources (3.0.0) "Core Resource Management"
> org.eclipse.core.resources.linux (3.0.0) "Core Resource Management Linux
> Fragment"
> org.eclipse.core.runtime (3.0.0) "Core Runtime"
> org.eclipse.core.runtime.compatibility (3.0.0) "Core Runtime Plug-in
> Compatibility"
> org.eclipse.core.variables (3.0.0) "Core Variables"
> org.eclipse.debug.core (3.0.0) "Debug Core"
> org.eclipse.debug.ui (3.0.0) "Debug UI"
> org.eclipse.help (3.0.0) "Help System Core"
> org.eclipse.help.appserver (3.0.0) "Help Application Server"
> org.eclipse.help.base (3.0.0) "Help System Base"
> org.eclipse.help.ide (3.0.0) "Help System IDE"
> org.eclipse.help.ui (3.0.0) "Help System UI"
> org.eclipse.help.webapp (3.0.0) "Help System Webapp"
> org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
> org.eclipse.jdt.core (3.0.0) "Java Development Tools Core"
> org.eclipse.jdt.debug (3.0.0) "JDI Debug Model"
> org.eclipse.jdt.debug.ui (3.0.0) "JDI Debug UI"
> org.eclipse.jdt.doc.user (3.0.0) "Eclipse Java Development User Guide"
> org.eclipse.jdt.junit (3.0.0) "Java Development Tools JUnit support"
> org.eclipse.jdt.junit.runtime (3.0.0) "Java Development Tools JUnit runtime
> support"
> org.eclipse.jdt.launching (3.0.0) "Java Development Tools Launching Support"
> org.eclipse.jdt.ui (3.0.0) "Java Development Tools UI"
> org.eclipse.jface (3.0.0) "JFace"
> org.eclipse.jface.text (3.0.0) "JFace Text"
> org.eclipse.ltk.core.refactoring (3.0.0) "Refactoring Core"
> org.eclipse.ltk.ui.refactoring (3.0.0) "Refactoring UI"
> org.eclipse.osgi (3.0.0) "OSGi System Bundle"
> org.eclipse.osgi.services (3.0.0) "OSGi Release 3 Services"
> org.eclipse.osgi.util (3.0.0) "OSGi R3 Utility Classes"
> org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
> org.eclipse.pde.build (3.0.0) "Plug-in Development Environment Build Support"
> org.eclipse.pde.core (3.0.0) "Plug-in Development Core"
> org.eclipse.pde.doc.user (3.0.0) "Eclipse Plug-in Development User Guide"
> org.eclipse.pde.junit.runtime (3.0.0) "PDE JUnit Plug-in Test"
> org.eclipse.pde.runtime (3.0.0) "Plug-in Development Environment Runtime"
> org.eclipse.pde.ui (3.0.0) "Plug-in Development UI"
> org.eclipse.platform (3.0.0) "Eclipse Platform"
> org.eclipse.platform.doc.isv (3.0.0) "Eclipse Platform Plug-in Developer Guide"
> org.eclipse.platform.doc.user (3.0.0) "Eclipse Workbench User Guide"
> org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
> Resources"
> org.eclipse.platform.source.linux.gtk.x86 (3.0.0) "Eclipse Platform Plug-in
> Developer Resources"
> org.eclipse.search (3.0.0) "Search Support"
> org.eclipse.swt (3.0.0) "Standard Widget Toolkit"
> org.eclipse.swt.gtk (3.0.0) "Standard Widget Toolkit for GTK 2.0"
> org.eclipse.team.core (3.0.0) "Team Support Core"
> org.eclipse.team.cvs.core (3.0.0) "CVS Team Provider Core"
> org.eclipse.team.cvs.ssh (3.0.0) "CVS SSH Core"
> org.eclipse.team.cvs.ssh2 (3.0.0) "CVS SSH2"
> org.eclipse.team.cvs.ui (3.0.0) "CVS Team Provider UI"
> org.eclipse.team.ui (3.0.0) "Team Support UI"
> org.eclipse.text (3.0.0) "Text"
> org.eclipse.tomcat (4.1.30) "Tomcat Wrapper"
> org.eclipse.ui (3.0.0) "Eclipse UI"
> org.eclipse.ui.cheatsheets (3.0.0) "Cheat Sheets"
> org.eclipse.ui.console (3.0.0) "Console"
> org.eclipse.ui.editors (3.0.0) "Default Text Editor"
> org.eclipse.ui.externaltools (3.0.0) "External Tools"
> org.eclipse.ui.forms (3.0.0) "Eclipse Forms"
> org.eclipse.ui.ide (3.0.0) "Eclipse IDE UI"
> org.eclipse.ui.intro (3.0.0) "Intro Plugin"
> org.eclipse.ui.presentations.r21 (3.0.0) "R21 Presentation Plug-in"
> org.eclipse.ui.views (3.0.0) "Views"
> org.eclipse.ui.workbench (3.0.0) "Workbench"
> org.eclipse.ui.workbench.compatibility (3.0.0) "Workbench Compatibility"
> org.eclipse.ui.workbench.texteditor (3.0.0) "Text Editor Framework"
> org.eclipse.update.configurator (3.0.0) "Install/Update Configurator"
> org.eclipse.update.core (3.0.0) "Install/Update Core"
> org.eclipse.update.core.linux (3.0.0) "Install/Update Core for Linux"
> org.eclipse.update.scheduler (3.0.0) "Automatic Updates Scheduler"
> org.eclipse.update.ui (3.0.0) "Install/Update UI"
> org.jboss.ide.eclipse.core (1.3.30) "JBoss Core Plug-in"
> org.jboss.ide.eclipse.deployer.core (1.3.30) "JBoss Deployer Core Plug-in"
> org.jboss.ide.eclipse.deployer.ui (1.3.30) "JBoss Deployer UI Plug-in"
> org.jboss.ide.eclipse.jdt.core (1.3.30) "JBoss Development Core Plug-in"
> org.jboss.ide.eclipse.jdt.j2ee.core (1.3.30) "JBoss Development J2EE Core
> Plug-in"
> org.jboss.ide.eclipse.jdt.j2ee.ui (1.3.30) "JBoss Development J2EE UI Plug-in"
> org.jboss.ide.eclipse.jdt.test.core (1.3.30) "JBoss Development Test Core
> Plug-in"
> org.jboss.ide.eclipse.jdt.test.ui (1.3.30) "JBoss Development Test UI Plug-in"
> org.jboss.ide.eclipse.jdt.ui (1.3.30) "JBoss Development UI Plug-in"
> org.jboss.ide.eclipse.jdt.ws.core (1.3.30) "JBoss Development Web Services Core
> Plug-in"
> org.jboss.ide.eclipse.jdt.ws.ui (1.3.30) "JBoss Development Web Services UI
> Plug-in"
> org.jboss.ide.eclipse.launcher.core (1.3.30) "JBoss Launcher Core Plug-in"
> org.jboss.ide.eclipse.launcher.ui (1.3.30) "JBoss Launcher UI Plug-in"
> org.jboss.ide.eclipse.packaging.core (1.3.30) "JBoss Packaging Core Plug-in"
> org.jboss.ide.eclipse.packaging.ui (1.3.30) "JBoss Packaging UI Plug-in"
> org.jboss.ide.eclipse.ui (1.3.30) "JBoss UI Plug-in"
> org.jboss.ide.eclipse.xdoclet.assist (1.3.30) "XDoclet Assist Plug-in"
> org.jboss.ide.eclipse.xdoclet.core (1.3.30) "XDoclet Core Plug-in"
> org.jboss.ide.eclipse.xdoclet.run (1.3.30) "XDoclet Runner Plug-in"
> org.jboss.ide.eclipse.xdoclet.ui (1.3.30) "XDoclet UI Plug-in"
> org.junit (3.8.1) "JUnit Testing Framework"
> org.tigris.subversion.javahl.linux (0.9.12) "Linux Fragment"
> org.tigris.subversion.subclipse.core (0.9.12) "SVN Team Provider Core"
> org.tigris.subversion.subclipse.ui (0.9.12) "SVN Team Provider UI"
>
|
|
|
Re: Content Assist gives "Compilation unit not on build path of Java project" [message #170778 is a reply to message #170745] |
Thu, 29 July 2004 16:22 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dingodave.edingo.net
Actually, I just found out, it's not documented (that I could find),
but in the case of Team repository projects, you ahve to create the
project as the type you are going to be working in, i.e., Java Project,
then create the Team repository location, and checkout the code to
the existing Project.
This definitely needs to be documented, because I spent two days
poring over the documentation, and it was never mentioned that a
Team Project would not have a "source type", such as Java Project,
and that unless it did, it basically won't work...
Thanks!
On Thu, 29 Jul 2004 09:44:51 -0400, adam kiezun wrote:
> does the project build properly?
> seems like, hmm, the file is not on the buildpath:
> - is the project a Java project?
> - is the file in a package that looks correct?
>
> a.
>
> Dave Bartmess wrote:
>
>> I've just installed Eclipse 3.0 (info pasted below).
>>
>> I imported a project from an existing development tree, and am in the
>> process of modifying some code.
>>
>> When I type in "java.lang.", when I pause after the last period, the
>> message pops up saying "This compilation unit is not on the build path of
>> a Java project.", and no code assist appears.
>>
>> What have I done wrong? Is there a setting somewhere in the preferences
>> that I need to change? I looked through every one, but nothing seemed to
>> match what was happening.
>>
>> My configuration details are below.
>>
>> Thanks for any help!
>>
>> *** Date: 7/28/04 1:46 PM
>>
>> *** Platform Details:
>>
>> *** System properties:
>> catalina.base=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
>> catalina.home=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
>> catalina.useNaming=true
>> eclipse.application=org.eclipse.ui.ide.workbench
>> eclipse.buildId=I200406192000
>> eclipse.commands=-os
>> linux
>> -ws
>> gtk
>> -arch
>> x86
>> -showsplash
>> /opt/eclipse/eclipse -showsplash 600
>> -exitdata
>> /opt/eclipse/eclipse -exitdata cf0012
>> -vm
>> /jdk/bin/java
>>
>> eclipse.product=org.eclipse.platform
>> eclipse.startTime=1091031472722
>> eclipse.vm=/jdk/bin/java
>> eclipse.vmargs=-cp
>> /opt/eclipse/startup.jar
>> org.eclipse.core.launcher.Main
>>
>> eof=eof
>> file.encoding=ISO-8859-1
>> file.encoding.pkg=sun.io
>> file.separator=/
>> java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
>> java.awt.printerjob=sun.print.PSPrinterJob
>> java.class.path=/opt/eclipse/startup.jar
>> java.class.version=48.0
>> java.endorsed.dirs=/data/java/j2sdk1.4.2_02/jre/lib/endorsed
>> java.ext.dirs=/data/java/j2sdk1.4.2_02/jre/lib/ext
>> java.home=/data/java/j2sdk1.4.2_02/jre
>> java.io.tmpdir=/tmp
>> java.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386/clie nt:
>> /data/java/j2sdk1.4.2_02/jre/lib/i386:/data/java/j2sdk1.4.2_ 02
>> /jre/../lib/i386:/usr/lib/mozilla-1.6
>> java.naming.factory.initial=org.apache.naming.java.javaURLCo ntextFactory
>> java.naming.factory.url.pkgs=org.apache.naming java.runtime.name=Java(TM)
>> 2 Runtime Environment, Standard Edition java.runtime.version=1.4.2_02-b03
>> java.specification.name=Java Platform API Specification
>> java.specification.vendor=Sun Microsystems Inc.
>> java.specification.version=1.4
>> java.util.prefs.PreferencesFactory=
>> java.util.prefs.FileSystemPreferencesFactory
>> java.vendor=Sun Microsystems Inc.
>> java.vendor.url=http://java.sun.com/
>> java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
>> java.version=1.4.2_02
>> java.vm.info=mixed mode
>> java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java
>> Virtual Machine Specification java.vm.specification.vendor=Sun
>> Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun
>> Microsystems Inc.
>> java.vm.version=1.4.2_02-b03
>> line.separator=
>>
>> org.eclipse.jdt.debug.ui.scrapbookActive=false
>> org.osgi.framework.executionenvironment=
>> org.osgi.framework.language=en
>> org.osgi.framework.os.name=Linux
>> org.osgi.framework.os.version=2.6.3-13mdk
>> org.osgi.framework.processor=i386
>> org.osgi.framework.vendor=Eclipse
>> org.osgi.framework.version=1.2.0
>> org.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl
>> os.arch=i386
>> os.name=Linux
>> os.version=2.6.3-13mdk
>> osgi.arch=x86
>> osgi.bundles=org.eclipse.core.runtime@2:start,
>> org.eclipse.update.configurator@3:start
>> osgi.bundles.defaultStartLevel=4
>> osgi.bundlestore=/opt/eclipse/configuration/org.eclipse.osgi /bundles
>> osgi.configuration.area=file:/opt/eclipse/configuration/
>> osgi.framework=file:/opt/eclipse/plugins/org.eclipse.osgi_3. 0.0/
>> osgi.framework.beginningstartlevel=1
>> osgi.framework.version=3.0.0
>> osgi.frameworkClassPath=core.jar, console.jar, osgi.jar, resolver.jar,
>> defaultAdaptor.jar, eclipseAdaptor.jar
>> osgi.install.area=file:/opt/eclipse/
>> osgi.instance.area=file:/devsite/
>> osgi.logfile=/devsite/.metadata/.log
>> osgi.manifest.cache=/opt/eclipse/configuration/org.eclipse.o sgi/manifests
>> osgi.nl=en_US
>> osgi.os=linux
>> osgi.splashLocation=/opt/eclipse/plugins/org.eclipse.platfor m_3.0.0/splash.bmp
>> osgi.splashPath=platform:/base/plugins/org.eclipse.platform
>> osgi.ws=gtk
>> path.separator=:
>> sun.arch.data.model=32
>> sun.boot.class.path=/data/java/j2sdk1.4.2_02/jre/lib/rt.jar:
>> /data/java/j2sdk1.4.2_02/jre/lib/i18n.jar:/data/java/j2sdk1. 4.2_02/
>> jre/lib/sunrsasign.jar:/data/java/j2sdk1.4.2_02/jre/lib/jsse .jar:
>> /data/java/j2sdk1.4.2_02/jre/lib/jce.jar:/data/java/j2sdk1.4 .2_02/
>> jre/lib/charsets.jar:/data/java/j2sdk1.4.2_02/jre/classes
>> sun.boot.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386
>> sun.cpu.endian=little
>> sun.cpu.isalist=
>> sun.io.unicode.encoding=UnicodeLittle sun.java2d.fontpath=
>> sun.net.client.defaultConnectTimeout=60000
>> sun.net.client.defaultReadTimeout=60000 sun.os.patch.level=unknown
>> user.country=US
>> user.dir=/home/dingodave
>> user.home=/home/dingodave
>> user.language=en
>> user.name=dingodave
>> user.timezone=America/Shiprock
>> vendor=Apache Software Foundation
>> vendor-url=http://xml.apache.org/xalan-j version=2.4.1
>>
>> *** Features:
>> org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
>> org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
>> org.eclipse.platform (3.0.0) "Eclipse Platform"
>> org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
>> Resources"
>>
>> *** Plug-in Registry:
>> com.iw.plugins.jettylauncher (1.0.12) "Jetty Launcher Plug-in"
>> com.iw.plugins.spindle.core (0.0.53) "Spindle Core Plugin"
>> com.iw.plugins.spindle.docs (0.0.2) "com.iw.plugins.spindle.docs"
>> com.iw.plugins.spindle.ui (0.0.53) "Spindle UI plugin"
>> net.sf.solareclipse.ui (0.4.0.spindle-dep-4) "SolarEclipse UI"
>> net.sf.solareclipse.xml.ui (0.4.0.spindle-dep-4) "XML Development Tools UI"
>> org.apache.ant (1.6.1) "Apache Ant"
>> org.apache.lucene (1.3.0) "Apache Lucene"
>> org.apache.xalan (2.4.1) "Apache Xalan Plug-in"
>> org.apache.xerces (4.0.13) ""
>> org.eclipse.ant.core (3.0.0) "Ant Build Tool Core"
>> org.eclipse.ant.ui (3.0.0) "Ant UI"
>> org.eclipse.compare (3.0.0) "Compare Support"
>> org.eclipse.core.boot (3.0.0) "Core Boot"
>> org.eclipse.core.expressions (3.0.0) "Expression Language"
>> org.eclipse.core.filebuffers (3.0.0) "File Buffers"
>> org.eclipse.core.resources (3.0.0) "Core Resource Management"
>> org.eclipse.core.resources.linux (3.0.0) "Core Resource Management Linux
>> Fragment"
>> org.eclipse.core.runtime (3.0.0) "Core Runtime"
>> org.eclipse.core.runtime.compatibility (3.0.0) "Core Runtime Plug-in
>> Compatibility"
>> org.eclipse.core.variables (3.0.0) "Core Variables"
>> org.eclipse.debug.core (3.0.0) "Debug Core"
>> org.eclipse.debug.ui (3.0.0) "Debug UI"
>> org.eclipse.help (3.0.0) "Help System Core"
>> org.eclipse.help.appserver (3.0.0) "Help Application Server"
>> org.eclipse.help.base (3.0.0) "Help System Base"
>> org.eclipse.help.ide (3.0.0) "Help System IDE"
>> org.eclipse.help.ui (3.0.0) "Help System UI"
>> org.eclipse.help.webapp (3.0.0) "Help System Webapp"
>> org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
>> org.eclipse.jdt.core (3.0.0) "Java Development Tools Core"
>> org.eclipse.jdt.debug (3.0.0) "JDI Debug Model"
>> org.eclipse.jdt.debug.ui (3.0.0) "JDI Debug UI"
>> org.eclipse.jdt.doc.user (3.0.0) "Eclipse Java Development User Guide"
>> org.eclipse.jdt.junit (3.0.0) "Java Development Tools JUnit support"
>> org.eclipse.jdt.junit.runtime (3.0.0) "Java Development Tools JUnit runtime
>> support"
>> org.eclipse.jdt.launching (3.0.0) "Java Development Tools Launching Support"
>> org.eclipse.jdt.ui (3.0.0) "Java Development Tools UI"
>> org.eclipse.jface (3.0.0) "JFace"
>> org.eclipse.jface.text (3.0.0) "JFace Text"
>> org.eclipse.ltk.core.refactoring (3.0.0) "Refactoring Core"
>> org.eclipse.ltk.ui.refactoring (3.0.0) "Refactoring UI"
>> org.eclipse.osgi (3.0.0) "OSGi System Bundle"
>> org.eclipse.osgi.services (3.0.0) "OSGi Release 3 Services"
>> org.eclipse.osgi.util (3.0.0) "OSGi R3 Utility Classes"
>> org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
>> org.eclipse.pde.build (3.0.0) "Plug-in Development Environment Build Support"
>> org.eclipse.pde.core (3.0.0) "Plug-in Development Core"
>> org.eclipse.pde.doc.user (3.0.0) "Eclipse Plug-in Development User Guide"
>> org.eclipse.pde.junit.runtime (3.0.0) "PDE JUnit Plug-in Test"
>> org.eclipse.pde.runtime (3.0.0) "Plug-in Development Environment Runtime"
>> org.eclipse.pde.ui (3.0.0) "Plug-in Development UI"
>> org.eclipse.platform (3.0.0) "Eclipse Platform"
>> org.eclipse.platform.doc.isv (3.0.0) "Eclipse Platform Plug-in Developer Guide"
>> org.eclipse.platform.doc.user (3.0.0) "Eclipse Workbench User Guide"
>> org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
>> Resources"
>> org.eclipse.platform.source.linux.gtk.x86 (3.0.0) "Eclipse Platform Plug-in
>> Developer Resources"
>> org.eclipse.search (3.0.0) "Search Support"
>> org.eclipse.swt (3.0.0) "Standard Widget Toolkit"
>> org.eclipse.swt.gtk (3.0.0) "Standard Widget Toolkit for GTK 2.0"
>> org.eclipse.team.core (3.0.0) "Team Support Core"
>> org.eclipse.team.cvs.core (3.0.0) "CVS Team Provider Core"
>> org.eclipse.team.cvs.ssh (3.0.0) "CVS SSH Core"
>> org.eclipse.team.cvs.ssh2 (3.0.0) "CVS SSH2"
>> org.eclipse.team.cvs.ui (3.0.0) "CVS Team Provider UI"
>> org.eclipse.team.ui (3.0.0) "Team Support UI"
>> org.eclipse.text (3.0.0) "Text"
>> org.eclipse.tomcat (4.1.30) "Tomcat Wrapper"
>> org.eclipse.ui (3.0.0) "Eclipse UI"
>> org.eclipse.ui.cheatsheets (3.0.0) "Cheat Sheets"
>> org.eclipse.ui.console (3.0.0) "Console"
>> org.eclipse.ui.editors (3.0.0) "Default Text Editor"
>> org.eclipse.ui.externaltools (3.0.0) "External Tools"
>> org.eclipse.ui.forms (3.0.0) "Eclipse Forms"
>> org.eclipse.ui.ide (3.0.0) "Eclipse IDE UI"
>> org.eclipse.ui.intro (3.0.0) "Intro Plugin"
>> org.eclipse.ui.presentations.r21 (3.0.0) "R21 Presentation Plug-in"
>> org.eclipse.ui.views (3.0.0) "Views"
>> org.eclipse.ui.workbench (3.0.0) "Workbench"
>> org.eclipse.ui.workbench.compatibility (3.0.0) "Workbench Compatibility"
>> org.eclipse.ui.workbench.texteditor (3.0.0) "Text Editor Framework"
>> org.eclipse.update.configurator (3.0.0) "Install/Update Configurator"
>> org.eclipse.update.core (3.0.0) "Install/Update Core"
>> org.eclipse.update.core.linux (3.0.0) "Install/Update Core for Linux"
>> org.eclipse.update.scheduler (3.0.0) "Automatic Updates Scheduler"
>> org.eclipse.update.ui (3.0.0) "Install/Update UI"
>> org.jboss.ide.eclipse.core (1.3.30) "JBoss Core Plug-in"
>> org.jboss.ide.eclipse.deployer.core (1.3.30) "JBoss Deployer Core Plug-in"
>> org.jboss.ide.eclipse.deployer.ui (1.3.30) "JBoss Deployer UI Plug-in"
>> org.jboss.ide.eclipse.jdt.core (1.3.30) "JBoss Development Core Plug-in"
>> org.jboss.ide.eclipse.jdt.j2ee.core (1.3.30) "JBoss Development J2EE Core
>> Plug-in"
>> org.jboss.ide.eclipse.jdt.j2ee.ui (1.3.30) "JBoss Development J2EE UI Plug-in"
>> org.jboss.ide.eclipse.jdt.test.core (1.3.30) "JBoss Development Test Core
>> Plug-in"
>> org.jboss.ide.eclipse.jdt.test.ui (1.3.30) "JBoss Development Test UI Plug-in"
>> org.jboss.ide.eclipse.jdt.ui (1.3.30) "JBoss Development UI Plug-in"
>> org.jboss.ide.eclipse.jdt.ws.core (1.3.30) "JBoss Development Web Services Core
>> Plug-in"
>> org.jboss.ide.eclipse.jdt.ws.ui (1.3.30) "JBoss Development Web Services UI
>> Plug-in"
>> org.jboss.ide.eclipse.launcher.core (1.3.30) "JBoss Launcher Core Plug-in"
>> org.jboss.ide.eclipse.launcher.ui (1.3.30) "JBoss Launcher UI Plug-in"
>> org.jboss.ide.eclipse.packaging.core (1.3.30) "JBoss Packaging Core Plug-in"
>> org.jboss.ide.eclipse.packaging.ui (1.3.30) "JBoss Packaging UI Plug-in"
>> org.jboss.ide.eclipse.ui (1.3.30) "JBoss UI Plug-in"
>> org.jboss.ide.eclipse.xdoclet.assist (1.3.30) "XDoclet Assist Plug-in"
>> org.jboss.ide.eclipse.xdoclet.core (1.3.30) "XDoclet Core Plug-in"
>> org.jboss.ide.eclipse.xdoclet.run (1.3.30) "XDoclet Runner Plug-in"
>> org.jboss.ide.eclipse.xdoclet.ui (1.3.30) "XDoclet UI Plug-in"
>> org.junit (3.8.1) "JUnit Testing Framework"
>> org.tigris.subversion.javahl.linux (0.9.12) "Linux Fragment"
>> org.tigris.subversion.subclipse.core (0.9.12) "SVN Team Provider Core"
>> org.tigris.subversion.subclipse.ui (0.9.12) "SVN Team Provider UI"
>>
|
|
|
Re: Content Assist gives "Compilation unit not on build path of Java project" [message #170849 is a reply to message #170778] |
Thu, 29 July 2004 18:19 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akiezun.cutthis.mit.this.edu.andthis
why didn't you check it out as a Java Project?
a.
Dave Bartmess wrote:
> Actually, I just found out, it's not documented (that I could find),
> but in the case of Team repository projects, you ahve to create the
> project as the type you are going to be working in, i.e., Java Project,
> then create the Team repository location, and checkout the code to
> the existing Project.
>
> This definitely needs to be documented, because I spent two days
> poring over the documentation, and it was never mentioned that a
> Team Project would not have a "source type", such as Java Project,
> and that unless it did, it basically won't work...
>
> Thanks!
>
> On Thu, 29 Jul 2004 09:44:51 -0400, adam kiezun wrote:
>
>
>>does the project build properly?
>>seems like, hmm, the file is not on the buildpath:
>> - is the project a Java project?
>> - is the file in a package that looks correct?
>>
>>a.
>>
>>Dave Bartmess wrote:
>>
>>
>>>I've just installed Eclipse 3.0 (info pasted below).
>>>
>>>I imported a project from an existing development tree, and am in the
>>>process of modifying some code.
>>>
>>>When I type in "java.lang.", when I pause after the last period, the
>>>message pops up saying "This compilation unit is not on the build path of
>>>a Java project.", and no code assist appears.
>>>
>>>What have I done wrong? Is there a setting somewhere in the preferences
>>>that I need to change? I looked through every one, but nothing seemed to
>>>match what was happening.
>>>
>>>My configuration details are below.
>>>
>>>Thanks for any help!
>>>
>>>*** Date: 7/28/04 1:46 PM
>>>
>>>*** Platform Details:
>>>
>>>*** System properties:
>>> catalina.base=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
>>> catalina.home=/opt/eclipse/plugins/org.eclipse.tomcat_4.1.30 /
>>>catalina.useNaming=true
>>>eclipse.application=org.eclipse.ui.ide.workbench
>>>eclipse.buildId=I200406192000
>>>eclipse.commands=-os
>>>linux
>>>-ws
>>>gtk
>>>-arch
>>>x86
>>>-showsplash
>>>/opt/eclipse/eclipse -showsplash 600
>>>-exitdata
>>>/opt/eclipse/eclipse -exitdata cf0012
>>>-vm
>>>/jdk/bin/java
>>>
>>>eclipse.product=org.eclipse.platform
>>>eclipse.startTime=1091031472722
>>>eclipse.vm=/jdk/bin/java
>>>eclipse.vmargs=-cp
>>>/opt/eclipse/startup.jar
>>>org.eclipse.core.launcher.Main
>>>
>>>eof=eof
>>>file.encoding=ISO-8859-1
>>>file.encoding.pkg=sun.io
>>>file.separator=/
>>>java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
>>>java.awt.printerjob=sun.print.PSPrinterJob
>>>java.class.path=/opt/eclipse/startup.jar
>>>java.class.version=48.0
>>> java.endorsed.dirs=/data/java/j2sdk1.4.2_02/jre/lib/endorsed
>>>java.ext.dirs=/data/java/j2sdk1.4.2_02/jre/lib/ext
>>>java.home=/data/java/j2sdk1.4.2_02/jre
>>>java.io.tmpdir=/tmp
>>> java.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386/clie nt:
>>> /data/java/j2sdk1.4.2_02/jre/lib/i386:/data/java/j2sdk1.4.2_ 02
>>> /jre/../lib/i386:/usr/lib/mozilla-1.6
>>> java.naming.factory.initial=org.apache.naming.java.javaURLCo ntextFactory
>>>java.naming.factory.url.pkgs=org.apache.naming java.runtime.name=Java(TM)
>>>2 Runtime Environment, Standard Edition java.runtime.version=1.4.2_02-b03
>>>java.specification.name=Java Platform API Specification
>>>java.specification.vendor=Sun Microsystems Inc.
>>>java.specification.version=1.4
>>>java.util.prefs.PreferencesFactory=
>>> java.util.prefs.FileSystemPreferencesFactory
>>>java.vendor=Sun Microsystems Inc.
>>>java.vendor.url=http://java.sun.com/
>>>java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
>>>java.version=1.4.2_02
>>>java.vm.info=mixed mode
>>>java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java
>>>Virtual Machine Specification java.vm.specification.vendor=Sun
>>>Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun
>>>Microsystems Inc.
>>>java.vm.version=1.4.2_02-b03
>>>line.separator=
>>>
>>>org.eclipse.jdt.debug.ui.scrapbookActive=false
>>>org.osgi.framework.executionenvironment=
>>>org.osgi.framework.language=en
>>>org.osgi.framework.os.name=Linux
>>>org.osgi.framework.os.version=2.6.3-13mdk
>>>org.osgi.framework.processor=i386
>>>org.osgi.framework.vendor=Eclipse
>>>org.osgi.framework.version=1.2.0
>>>org.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl
>>>os.arch=i386
>>>os.name=Linux
>>>os.version=2.6.3-13mdk
>>>osgi.arch=x86
>>>osgi.bundles=org.eclipse.core.runtime@2:start,
>>> org.eclipse.update.configurator@3:start
>>>osgi.bundles.defaultStartLevel=4
>>> osgi.bundlestore=/opt/eclipse/configuration/org.eclipse.osgi /bundles
>>>osgi.configuration.area=file:/opt/eclipse/configuration/
>>> osgi.framework=file:/opt/eclipse/plugins/org.eclipse.osgi_3. 0.0/
>>>osgi.framework.beginningstartlevel=1
>>>osgi.framework.version=3.0.0
>>>osgi.frameworkClassPath=core.jar, console.jar, osgi.jar, resolver.jar,
>>> defaultAdaptor.jar, eclipseAdaptor.jar
>>>osgi.install.area=file:/opt/eclipse/
>>>osgi.instance.area=file:/devsite/
>>>osgi.logfile=/devsite/.metadata/.log
>>> osgi.manifest.cache=/opt/eclipse/configuration/org.eclipse.o sgi/manifests
>>>osgi.nl=en_US
>>>osgi.os=linux
>>> osgi.splashLocation=/opt/eclipse/plugins/org.eclipse.platfor m_3.0.0/splash.bmp
>>>osgi.splashPath=platform:/base/plugins/org.eclipse.platform
>>>osgi.ws=gtk
>>>path.separator=:
>>>sun.arch.data.model=32
>>> sun.boot.class.path=/data/java/j2sdk1.4.2_02/jre/lib/rt.jar:
>>> /data/java/j2sdk1.4.2_02/jre/lib/i18n.jar:/data/java/j2sdk1. 4.2_02/
>>> jre/lib/sunrsasign.jar:/data/java/j2sdk1.4.2_02/jre/lib/jsse .jar:
>>> /data/java/j2sdk1.4.2_02/jre/lib/jce.jar:/data/java/j2sdk1.4 .2_02/
>>> jre/lib/charsets.jar:/data/java/j2sdk1.4.2_02/jre/classes
>>>sun.boot.library.path=/data/java/j2sdk1.4.2_02/jre/lib/i386
>>>sun.cpu.endian=little
>>>sun.cpu.isalist=
>>>sun.io.unicode.encoding=UnicodeLittle sun.java2d.fontpath=
>>>sun.net.client.defaultConnectTimeout=60000
>>>sun.net.client.defaultReadTimeout=60000 sun.os.patch.level=unknown
>>>user.country=US
>>>user.dir=/home/dingodave
>>>user.home=/home/dingodave
>>>user.language=en
>>>user.name=dingodave
>>>user.timezone=America/Shiprock
>>>vendor=Apache Software Foundation
>>>vendor-url=http://xml.apache.org/xalan-j version=2.4.1
>>>
>>>*** Features:
>>>org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
>>>org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
>>>org.eclipse.platform (3.0.0) "Eclipse Platform"
>>>org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
>>> Resources"
>>>
>>>*** Plug-in Registry:
>>>com.iw.plugins.jettylauncher (1.0.12) "Jetty Launcher Plug-in"
>>>com.iw.plugins.spindle.core (0.0.53) "Spindle Core Plugin"
>>>com.iw.plugins.spindle.docs (0.0.2) "com.iw.plugins.spindle.docs"
>>>com.iw.plugins.spindle.ui (0.0.53) "Spindle UI plugin"
>>>net.sf.solareclipse.ui (0.4.0.spindle-dep-4) "SolarEclipse UI"
>>>net.sf.solareclipse.xml.ui (0.4.0.spindle-dep-4) "XML Development Tools UI"
>>>org.apache.ant (1.6.1) "Apache Ant"
>>>org.apache.lucene (1.3.0) "Apache Lucene"
>>>org.apache.xalan (2.4.1) "Apache Xalan Plug-in"
>>>org.apache.xerces (4.0.13) ""
>>>org.eclipse.ant.core (3.0.0) "Ant Build Tool Core"
>>>org.eclipse.ant.ui (3.0.0) "Ant UI"
>>>org.eclipse.compare (3.0.0) "Compare Support"
>>>org.eclipse.core.boot (3.0.0) "Core Boot"
>>>org.eclipse.core.expressions (3.0.0) "Expression Language"
>>>org.eclipse.core.filebuffers (3.0.0) "File Buffers"
>>>org.eclipse.core.resources (3.0.0) "Core Resource Management"
>>>org.eclipse.core.resources.linux (3.0.0) "Core Resource Management Linux
>>> Fragment"
>>>org.eclipse.core.runtime (3.0.0) "Core Runtime"
>>>org.eclipse.core.runtime.compatibility (3.0.0) "Core Runtime Plug-in
>>> Compatibility"
>>>org.eclipse.core.variables (3.0.0) "Core Variables"
>>>org.eclipse.debug.core (3.0.0) "Debug Core"
>>>org.eclipse.debug.ui (3.0.0) "Debug UI"
>>>org.eclipse.help (3.0.0) "Help System Core"
>>>org.eclipse.help.appserver (3.0.0) "Help Application Server"
>>>org.eclipse.help.base (3.0.0) "Help System Base"
>>>org.eclipse.help.ide (3.0.0) "Help System IDE"
>>>org.eclipse.help.ui (3.0.0) "Help System UI"
>>>org.eclipse.help.webapp (3.0.0) "Help System Webapp"
>>>org.eclipse.jdt (3.0.0) "Eclipse Java Development Tools"
>>>org.eclipse.jdt.core (3.0.0) "Java Development Tools Core"
>>>org.eclipse.jdt.debug (3.0.0) "JDI Debug Model"
>>>org.eclipse.jdt.debug.ui (3.0.0) "JDI Debug UI"
>>>org.eclipse.jdt.doc.user (3.0.0) "Eclipse Java Development User Guide"
>>>org.eclipse.jdt.junit (3.0.0) "Java Development Tools JUnit support"
>>>org.eclipse.jdt.junit.runtime (3.0.0) "Java Development Tools JUnit runtime
>>> support"
>>>org.eclipse.jdt.launching (3.0.0) "Java Development Tools Launching Support"
>>>org.eclipse.jdt.ui (3.0.0) "Java Development Tools UI"
>>>org.eclipse.jface (3.0.0) "JFace"
>>>org.eclipse.jface.text (3.0.0) "JFace Text"
>>>org.eclipse.ltk.core.refactoring (3.0.0) "Refactoring Core"
>>>org.eclipse.ltk.ui.refactoring (3.0.0) "Refactoring UI"
>>>org.eclipse.osgi (3.0.0) "OSGi System Bundle"
>>>org.eclipse.osgi.services (3.0.0) "OSGi Release 3 Services"
>>>org.eclipse.osgi.util (3.0.0) "OSGi R3 Utility Classes"
>>>org.eclipse.pde (3.0.0) "Eclipse Plug-in Development Environment"
>>>org.eclipse.pde.build (3.0.0) "Plug-in Development Environment Build Support"
>>>org.eclipse.pde.core (3.0.0) "Plug-in Development Core"
>>>org.eclipse.pde.doc.user (3.0.0) "Eclipse Plug-in Development User Guide"
>>>org.eclipse.pde.junit.runtime (3.0.0) "PDE JUnit Plug-in Test"
>>>org.eclipse.pde.runtime (3.0.0) "Plug-in Development Environment Runtime"
>>>org.eclipse.pde.ui (3.0.0) "Plug-in Development UI"
>>>org.eclipse.platform (3.0.0) "Eclipse Platform"
>>>org.eclipse.platform.doc.isv (3.0.0) "Eclipse Platform Plug-in Developer Guide"
>>>org.eclipse.platform.doc.user (3.0.0) "Eclipse Workbench User Guide"
>>>org.eclipse.platform.source (3.0.0) "Eclipse Platform Plug-in Developer
>>> Resources"
>>>org.eclipse.platform.source.linux.gtk.x86 (3.0.0) "Eclipse Platform Plug-in
>>> Developer Resources"
>>>org.eclipse.search (3.0.0) "Search Support"
>>>org.eclipse.swt (3.0.0) "Standard Widget Toolkit"
>>>org.eclipse.swt.gtk (3.0.0) "Standard Widget Toolkit for GTK 2.0"
>>>org.eclipse.team.core (3.0.0) "Team Support Core"
>>>org.eclipse.team.cvs.core (3.0.0) "CVS Team Provider Core"
>>>org.eclipse.team.cvs.ssh (3.0.0) "CVS SSH Core"
>>>org.eclipse.team.cvs.ssh2 (3.0.0) "CVS SSH2"
>>>org.eclipse.team.cvs.ui (3.0.0) "CVS Team Provider UI"
>>>org.eclipse.team.ui (3.0.0) "Team Support UI"
>>>org.eclipse.text (3.0.0) "Text"
>>>org.eclipse.tomcat (4.1.30) "Tomcat Wrapper"
>>>org.eclipse.ui (3.0.0) "Eclipse UI"
>>>org.eclipse.ui.cheatsheets (3.0.0) "Cheat Sheets"
>>>org.eclipse.ui.console (3.0.0) "Console"
>>>org.eclipse.ui.editors (3.0.0) "Default Text Editor"
>>>org.eclipse.ui.externaltools (3.0.0) "External Tools"
>>>org.eclipse.ui.forms (3.0.0) "Eclipse Forms"
>>>org.eclipse.ui.ide (3.0.0) "Eclipse IDE UI"
>>>org.eclipse.ui.intro (3.0.0) "Intro Plugin"
>>>org.eclipse.ui.presentations.r21 (3.0.0) "R21 Presentation Plug-in"
>>>org.eclipse.ui.views (3.0.0) "Views"
>>>org.eclipse.ui.workbench (3.0.0) "Workbench"
>>>org.eclipse.ui.workbench.compatibility (3.0.0) "Workbench Compatibility"
>>>org.eclipse.ui.workbench.texteditor (3.0.0) "Text Editor Framework"
>>>org.eclipse.update.configurator (3.0.0) "Install/Update Configurator"
>>>org.eclipse.update.core (3.0.0) "Install/Update Core"
>>>org.eclipse.update.core.linux (3.0.0) "Install/Update Core for Linux"
>>>org.eclipse.update.scheduler (3.0.0) "Automatic Updates Scheduler"
>>>org.eclipse.update.ui (3.0.0) "Install/Update UI"
>>>org.jboss.ide.eclipse.core (1.3.30) "JBoss Core Plug-in"
>>>org.jboss.ide.eclipse.deployer.core (1.3.30) "JBoss Deployer Core Plug-in"
>>>org.jboss.ide.eclipse.deployer.ui (1.3.30) "JBoss Deployer UI Plug-in"
>>>org.jboss.ide.eclipse.jdt.core (1.3.30) "JBoss Development Core Plug-in"
>>>org.jboss.ide.eclipse.jdt.j2ee.core (1.3.30) "JBoss Development J2EE Core
>>> Plug-in"
>>>org.jboss.ide.eclipse.jdt.j2ee.ui (1.3.30) "JBoss Development J2EE UI Plug-in"
>>>org.jboss.ide.eclipse.jdt.test.core (1.3.30) "JBoss Development Test Core
>>> Plug-in"
>>>org.jboss.ide.eclipse.jdt.test.ui (1.3.30) "JBoss Development Test UI Plug-in"
>>>org.jboss.ide.eclipse.jdt.ui (1.3.30) "JBoss Development UI Plug-in"
>>>org.jboss.ide.eclipse.jdt.ws.core (1.3.30) "JBoss Development Web Services Core
>>> Plug-in"
>>>org.jboss.ide.eclipse.jdt.ws.ui (1.3.30) "JBoss Development Web Services UI
>>> Plug-in"
>>>org.jboss.ide.eclipse.launcher.core (1.3.30) "JBoss Launcher Core Plug-in"
>>>org.jboss.ide.eclipse.launcher.ui (1.3.30) "JBoss Launcher UI Plug-in"
>>>org.jboss.ide.eclipse.packaging.core (1.3.30) "JBoss Packaging Core Plug-in"
>>>org.jboss.ide.eclipse.packaging.ui (1.3.30) "JBoss Packaging UI Plug-in"
>>>org.jboss.ide.eclipse.ui (1.3.30) "JBoss UI Plug-in"
>>>org.jboss.ide.eclipse.xdoclet.assist (1.3.30) "XDoclet Assist Plug-in"
>>>org.jboss.ide.eclipse.xdoclet.core (1.3.30) "XDoclet Core Plug-in"
>>>org.jboss.ide.eclipse.xdoclet.run (1.3.30) "XDoclet Runner Plug-in"
>>>org.jboss.ide.eclipse.xdoclet.ui (1.3.30) "XDoclet UI Plug-in"
>>>org.junit (3.8.1) "JUnit Testing Framework"
>>>org.tigris.subversion.javahl.linux (0.9.12) "Linux Fragment"
>>>org.tigris.subversion.subclipse.core (0.9.12) "SVN Team Provider Core"
>>>org.tigris.subversion.subclipse.ui (0.9.12) "SVN Team Provider UI"
>>>
>
>
|
|
| |
Goto Forum:
Current Time: Sat Aug 17 13:14:26 GMT 2024
Powered by FUDForum. Page generated in 0.03778 seconds
|