error importing libraries into eclipse #54
|
What are the contents of the |
|
@bussell, you can try to correct the |
|
Here is my strongback.properties contents: wpilib.home=${user.home}/wpilib strongback.version=1.1.0 |
|
@bussell: Thanks for supplying your I'm not convinced that workaround will solve all of the problems, but it should allow you to manually import the user library so that your projects can compile. If the problem is where I suspect, the We'll try to get this fixed in the next day or two, though. |
|
I tried to set my paths by hand and now the Import button in eclipse seems inert. I reboot just in case (this is Windows after all), but to no avail. I appreciate your time in looking into this issue. I will review this again after you have a chance to check out the command line tool. |
|
@bussell: I've found the problem (see #55 for the changes), and have released a new version of Strongback with the fix. I've updated the book, so please remove the existing |
|
I am attempting to test this, but the process of running the initial batch has left my Eclipse setup in disarray. I removed the entire folder where Eclipse lived and reinstalled it, but I still get the following error: From you understanding of the original script could you help me find out where the bad path entry is coming from? |
|
@bussell: are you sure you are using 1.1.1? |
|
This is an Eclipse fail that occurs prior to selecting the library to import. Just hitting the Import button results in this error. |
|
I verified that build.properties displays 1.1.1 |
|
I do not understand your request to create a temp project. I have run the strongback.bat file to create a new project and verified that the strongback references are not working in that project. There is some artifact that is preventing the act of starting the import dialog. This same error occurs on a students machine as well. If I wanted to start fresh, what do I have to delete other than the Eclipse and Strongback folders? |
|
"strongback.bat version" yields a newline with no data. |
|
Make sure that the Then check the |
See the "Adding Strongback to your project" section of the (Getting Started chapter)[https://strongback.gitbooks.io/using-strongback/content/getting_started.html].
With the
Again, check the contents of the
Delete the |
|
@bussell wrote:
What |
|
the userlibraries file was missing some slashes. I removed the file and reran the batch. The result was that the dialog appeared on my next attempt. I will have to remember that to clean this up on the student machine I will have to remove strongback\java\eclipse\Strongback.userlibraries and rerun the project builder. Thanks for your time and attention. This trouble ticket is closed from my perspective. |
|
The strange thing is that if you completely removed the Regardless, I think most of that was leftover from your previous attempts. Glad you got it working and thanks for your patience -- it shouldn't have been that difficult. |
|
Clearly my initial cleanup was not as complete as I thought. Looking back I think I removed eclipse twice, but ran the older version for the batch file. In any case, the fix for string replacement got me to the next step. |
|
Thanks again for logging this and working with me to verify your problem was indeed fixed. Best of luck to your team! |
We have tried to get Strongback working in eclipse on multiple Windows machines with the same failure. When we get to the point where we import Strongback.userlibraries there is a path error. It appears that there is a slash missing. I have not been able to identify where the path is set.
Here is the relevant error:
org.eclipse.jdt.internal.core.ClasspathEntry$Asser tionFailedException: Path for IClasspathEntry must be absolute: C:Usersjoe_bstrongback/java/lib/strongback.jar
My username is joe_b on this machine, you will note the missing '/' before 'strongback'.
We were able to get things working with ease on a Mac, but most of our team's machines are Windows.
I submit this issue on Chief Delphi in case others run into it as a reply to the introduction post at: http://www.chiefdelphi.com/forums/showpost.php?p=1521168&postcount=17