java - Eclipse - Setting .classpath file for existing project -


I have a Java project I'm working from another project of Eklips (this is a propono symphonic project I think).

In my eclipse I created a new Java project and asked it to use the existing code. It seems that it has brought in all code.

However, after loading the project, I get this error:

  Project 'My Project' is missing the required Java project: 'Weka 3-7'  

There is one with these materials in it. The slashpath file is:

  & lt ;? Xml version = "1.0" encoding = "UTF-8" & gt; & Lt; Classpath & gt; & Lt; Classpathentry kind = "src" path = "src" /> & Lt; Classpathentry kind = "con" path = "org.eclipse.jdt.launching.JRE_CONTAINER" /> & Lt; Classpathentry combineaccessrules = "false" type = "src" path = "/ wca-3-7" /> & Lt; Classpathentry kind = "Output" path = "bin" /> & Lt; / Classpath & gt;  

What have I tried so far:

I have established Vaika 3-7 and then I have to say the following. Updated slashpath file and reloaded the project.

  & lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Classpath & gt; & Lt; Classpathentry kind = "src" path = "src" /> & Lt; Classpathentry kind = "con" path = "org.eclipse.jdt.launching.JRE_CONTAINER" /> & Lt; Classpathentry combineaccessrules = "false" type = "src" path = "c | / program files / waka-3-7" /> & Lt; Classpathentry kind = "Output" path = "bin" /> & Lt; / Classpath & gt;  

But now I get an error message:

  The required source folder in Project 'My Project' is missing: 'c. / Program Files / Wake-3 -7 ' 

Please help me get trapped.

You want to use context menu: My project :: (right mouse click) :: build Path: Configure the Build Path. It gives you the option of adding / removing projects, jars, source folders, etc., which you need to provide those project references that your project reference. You can do manually get the same effect by hacking .classpath , but you have to know very to know what you are doing Always use frontend, unless it is absolutely necessary for you.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -