|
Re: Import svn netbeans project to eclipse [message #646406 is a reply to message #646403] |
Thu, 23 December 2010 18:51 |
Philip Langer Messages: 31 Registered: July 2009 |
Member |
|
|
Hi,
the Java build path should be configurable in the properties window of
your project. Please consult:
http://help.eclipse.org/helios/topic/org.eclipse.jdt.doc.use r/reference/ref-properties-build-path.htm
Hope that helps!
Cheers,
Philip
On 2010-12-23 19:35, sexus6 wrote:
> I configure eclipse to checkout a netbeans project, hosted at
> sourceforge. I select NEW -> SVN -> Project from SVN.
>
> All files was downloaded in a eclipse project. The filesystem's project
> like this:
> /project-svn
> /project-svn/lib => some jar files needed to add at build path
> /project-svn/nbproject => some configuration files from netbeans, I guess.
> /project-svn/Resources => some text files
> /project-svn/src => the java source
> /project-svn/test => empty
> build.xml
> manifest.mf
>
> If I try to ant the build.xml at the root directory, shows me several
> error, because the jar files at lib dir is not configured in build path.
>
> Then I try to configure build path, whith right click in the project
> and Properties, there is not any option to build path.
>
> There are not option in that menu that show java project options. How
> can I transform this for eclipse?
>
> Thanks
>
>
|
|
|
Re: Import svn netbeans project to eclipse [message #646407 is a reply to message #646403] |
Thu, 23 December 2010 19:02 |
Philip Langer Messages: 31 Registered: July 2009 |
Member |
|
|
Sorry, forgot to mention the ant specific point:
Eclipse invokes your ant file as if you would invoke it from your shell.
Therefore, Eclipse won't "inject" your build path settings to the ant
file execution.
Consequently, the class path to use in the javac call in your ant-file
has to be set manually. Maybe the path in your ant file is wrong/missing...
Cheers,
Philip
On 2010-12-23 19:35, sexus6 wrote:
> I configure eclipse to checkout a netbeans project, hosted at
> sourceforge. I select NEW -> SVN -> Project from SVN.
>
> All files was downloaded in a eclipse project. The filesystem's project
> like this:
> /project-svn
> /project-svn/lib => some jar files needed to add at build path
> /project-svn/nbproject => some configuration files from netbeans, I guess.
> /project-svn/Resources => some text files
> /project-svn/src => the java source
> /project-svn/test => empty
> build.xml
> manifest.mf
>
> If I try to ant the build.xml at the root directory, shows me several
> error, because the jar files at lib dir is not configured in build path.
>
> Then I try to configure build path, whith right click in the project
> and Properties, there is not any option to build path.
>
> There are not option in that menu that show java project options. How
> can I transform this for eclipse?
>
> Thanks
>
>
|
|
|
Re: Import svn netbeans project to eclipse [message #646410 is a reply to message #646403] |
Thu, 23 December 2010 19:38 |
David Wegener Messages: 1445 Registered: July 2009 |
Senior Member |
|
|
On Thu, 2010-12-23 at 13:35 -0500, sexus6 wrote:
> I configure eclipse to checkout a netbeans project, hosted at sourceforge.. I select NEW -> SVN -> Project from SVN.
>
> All files was downloaded in a eclipse project. The filesystem's project like this:
> /project-svn
> /project-svn/lib => some jar files needed to add at build path
> /project-svn/nbproject => some configuration files from netbeans, I guess.
> /project-svn/Resources => some text files
> /project-svn/src => the java source
> /project-svn/test => empty
> build.xml
> manifest.mf
>
> If I try to ant the build.xml at the root directory, shows me several error, because the jar files at lib dir is not configured in build path.
>
> Then I try to configure build path, whith right click in the project and Properties, there is not any option to build path.
>
> There are not option in that menu that show java project options. How can I transform this for eclipse?
>
> Thanks
>
>
A project has to be a Java project to configure the build path. Since
the project wasn't created in Eclipse, it doesn't have the configuration
files necessary to define it as a Java project. I believe that the SVN
plugin has the option to Checkout as.... This allows you to check the
project out as a Java project. You can then configure the build path
for the project.
|
|
|
Powered by
FUDForum. Page generated in 0.06568 seconds