Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] Build Path not in Java project?

If/when I get a chance I'll reproduce this more carefully and file a bug. It's entirely possible it was my error, as I'm sort of new to eclipse. But I gotta say I am really impressed with it...

dwh

Dave Bartmess wrote:

When you say you created the projects manually, then did a new checkout,
is that project now under Team control? I'd rather not have to manually
sync every time, but I will if I have to.

I'll check the bug database, and if there's not one already, I'll open a
defect for being able to set the type of project within a Team project.
Seems kinda silly to not be able to do this, since every Team project
WILL be another type of project too!

Thanks for the info, Denis!

On Thu, 2004-07-29 at 08:38, Denis Haskin wrote:
When you say "import", I assume this was a "Team Project Set" created by the Export wizard?

If so, I did this the other day and it looks like the imported project does not get created as a Java project, and thus isn't set up to be built by Java, etc...

I have not yet found a workaround (and there doesn't seem to be a bug filed like this (but I didn't look very hard)). I just created the projects manually and did a new checkout from CVS.

dwh


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.

Where do I set the "build path"? I've looked through all the
documentation, and there's one reference to build path, but it doesn't
really explain it very well.

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/client:
	/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.javaURLContextFactory
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.osgi/manifests
osgi.nl=en_US
osgi.os=linux
osgi.splashLocation=/opt/eclipse/plugins/org.eclipse.platform_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"



_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-dev




Back to the top