Can't build Java project that uses linked source folder [message #1256959] |
Wed, 26 February 2014 00:30 |
Andy Junius Messages: 8 Registered: February 2014 |
Junior Member |
|
|
Hi All,
I just started to use RSE for a new project. It did work perfectly fine for about a week until yesterday. Suddenly I'm unable to do a clean/build. The message is:
The project was not built since the source file /path/to/code.java could not be read ProjectName Unknown Java Problem
What I did:
I've set up a connection to a remote box using the Remote Systems view (SSH Only). I created two Java projects, one holding a few library classes and another one for a Swing application. The latter depends on the first one. Both projects have a folder src, that points to the remote location using RSE. This folder has been marked as a source code folder for both the projects. This way I was able to work with the remote source code files if they were local ones - a really great feature.
Suddenly I got a red cross on the project folder for the Swing project and the message saying the no build has been made, because the source can't be read. This is funny, because the remote connection is working fine. I can see, it's open, I'm able to open, edit and save the source files, etc, etc. It's just not possible to do a build and run the program. The library project can be build as ever, no problems at all.
So I thought it might be a problem with line breaks, because I'm working on both Linux and Windows. I've set the IDE to use only Unix line breaks and fixed every file, but this wasn't the cause.
I know the code is fine, because if local it works fine. No errors, even no warnings.
I've got the problem on both machines, one running windows7 and Eclipse Kepler, the other running xubuntu 13.1 and Eclipse Kepler.
So my question: what else can I do to track down the problem? Any ideas? Thanks in anticipation!
Cheers,
Andy
|
|
|
Re: Can't build Java project that uses linked source folder [message #1257656 is a reply to message #1256959] |
Wed, 26 February 2014 17:18 |
David McKnight Messages: 244 Registered: July 2009 |
Senior Member |
|
|
When you run into this problem, is the RSE system connected and are you able to access the code directly from RSE? Can you access the code via the project (i.e. via the linked folder)?
Andy Junius wrote on Tue, 25 February 2014 19:30Hi All,
I just started to use RSE for a new project. It did work perfectly fine for about a week until yesterday. Suddenly I'm unable to do a clean/build. The message is:
The project was not built since the source file /path/to/code.java could not be read ProjectName Unknown Java Problem
What I did:
I've set up a connection to a remote box using the Remote Systems view (SSH Only). I created two Java projects, one holding a few library classes and another one for a Swing application. The latter depends on the first one. Both projects have a folder src, that points to the remote location using RSE. This folder has been marked as a source code folder for both the projects. This way I was able to work with the remote source code files if they were local ones - a really great feature.
Suddenly I got a red cross on the project folder for the Swing project and the message saying the no build has been made, because the source can't be read. This is funny, because the remote connection is working fine. I can see, it's open, I'm able to open, edit and save the source files, etc, etc. It's just not possible to do a build and run the program. The library project can be build as ever, no problems at all.
So I thought it might be a problem with line breaks, because I'm working on both Linux and Windows. I've set the IDE to use only Unix line breaks and fixed every file, but this wasn't the cause.
I know the code is fine, because if local it works fine. No errors, even no warnings.
I've got the problem on both machines, one running windows7 and Eclipse Kepler, the other running xubuntu 13.1 and Eclipse Kepler.
So my question: what else can I do to track down the problem? Any ideas? Thanks in anticipation!
Cheers,
Andy
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06799 seconds