Hmmm. I didn't think I'd built my own project, but maybe it did. Here's
the project and classpath files I'm using:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>jpa-trunk</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
                <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        <name>org.maven.ide.eclipse.maven2Builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.jdt.core.javanature</nature>
                <nature>org.maven.ide.eclipse.maven2Nature</nature>
        </natures>
</projectDescription>

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="src" path="openjpa-kernel/src/main/java"/>
        <classpathentry kind="src" path="openjpa-lib-5/src/main/java"/>
        <classpathentry kind="src" path="openjpa-kernel-5/src/main/java"/>
        <classpathentry kind="src" path="openjpa-lib/src/main/java"/>
        <classpathentry kind="src" path="openjpa-persistence/src/main/java"/>
        <classpathentry kind="src" path="openjpa-jdbc-5/src/main/java"/>
        <classpathentry kind="src" path="openjpa-jdbc/src/main/java"/>
        <classpathentry kind="src"
path="openjpa-persistence-jdbc/src/test/java"/>
        <classpathentry kind="src"
path="openjpa-persistence-jdbc/src/main/java"/>
        <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="output" path="bin"/>
</classpath>

HTH,

  Tim

On Sun, 2008-02-03 at 00:38 -0800, Avinash Nayak wrote:
> Hi,
> I was trying to load the source code into the eclipse.
> I have maven plugin installed with eclipse and imported the code as a maven 
> project.
> But its not able to detect the java files as the java files are not inclued 
> in the build path.
>  
> I am new to all these.
> Is there any doc available for the purpose which could help me?
> Sorry if it sounds naive.
>  
> Thanks,
> Avinash
> 
>        
> ---------------------------------
> Never miss a thing.   Make Yahoo your homepage.

Reply via email to