Sophie 2.0 Reader (#2) - source code checkout (#38) - Message List
Recently, I came accross some info on the source code and I am interested in checking it out, however, using the tortise gui svn client, I am getting no response from the sophie2 repository. Tried also SlikSVN command line version.
Can anyone tell me how to check out the source ?
Yep, I installed Eclipse 3.6 Helios, updated to the M2 eclipse thing, then clicked right and chose "import", then Maven something existing project, and things began to bump and grind a little, sputter, received msg "updating dependencies", then burped with a , hicc-up! Msg received ~ "...java.lang.NullPointerException" "an error has been enountered during your import Patrick", no kidding, it knew my name ? So I looked at the ide with amazement to see several individual projects with some warnings and some errors due to non-locatable things. The main sophie project did not have any errors at all and all the individual modules are listed under that. I corrected some things but I am still interested in how to get the entire system to bring itsself up without errors so I can click on it and watch things "run". I also right clicked on the main sophie project, and some of the individual projects listed above that and chose update dependencies maven, but it didn't seem to affect much. A while ago I was able to go from having approx 53000 errors or warnings down to 8000 or so, after what I did I don't remember. But it's back to the approx 50,000.survivor99912/21/10 02:12:34 (9 years ago)
Probably would help if my Eclipse knowledge were expanded some more. Which it just did. And is.survivor99912/18/10 03:18:44 (9 years ago)
No, it's not corrupted, the source download is ok. So I have some new things to try I am sure will lead me further. Has some success with the IDE of Eclipse.survivor99912/18/10 01:06:11 (9 years ago)
Oh, ya know, it's starting to look like I corrupted the source download some how, I don't know how, but maybe I will try at it again.survivor99912/18/10 01:01:56 (9 years ago)
Oh, well, the red "X's", some of them are for this "Description Resource Path Location Type AccessOptions cannot be resolved to a variable CommentPersistenceTest.java /org.sophie2.extra.comment/src/test/java/org/sophie2/extra/comment/persist line 73 Java Problem"
Oh, wait a minute, I see the warning now, the red "!'s", here's one : "Description Resource Path Location Type Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment. org.sophie2.author Build path JRE System Library Problem " Installed in the workspace ? I have jdk 6 on my machine . Hmmmmm.survivor99912/16/10 20:40:20 (9 years ago)
When I right click on a project node and select maven/update maven config,I get a "An internal error occurred during: "Updating Maven Configuration". java.lang.NullPointerException" error message. Update dependencies goes quick with no error msg though, but still the little red "X" is still beside the project icon. Oh, I just noticed that there is a small read "!" next to some project icons. Something to do with my misinterpretation of what all has to be done to bring it all up I am sure. : )survivor99912/16/10 20:33:37 (9 years ago)
Yes, after trying unsucessfully to get the M2 maven integration to work in eclipse v3.4, I went back to the version 3.6 Helios of eclipse(reinstalled it) and reinstalled the M2 maven integration from m2eclipse.sonatype.org. I have the actual maven from apache.org installed and setup with environment vars and all. I setup eclipse to use the JDK not a JRE, I assume M2 would not even show up in eclipse if the JDK item were not being used. Although at one point I got a message about that from M2 requiring the JDK it couldn't find, however, I remedied that by changing a line in the eclipse.ini file. The message went away, strangely enough, when I removed the line from the .ini file just to see, I did not again receive the "message" from M2. So I assume that is ok. I import in eclipse as an existing Maven project, and there is an error msg at the end of the import. I removed the files in the plugins folder for the POM editor and the plugin for JDT as mentioned in the comments in PLATFORM_INFRASTRUCTURE_OVERVIEW. I performed the right click on some items in the project explorer then and selected Maven/update dependencies, to no avail. And that's it so far. I just don't know what's in a POM file. Of course I am missing a few external libraries, .jar files that are needed. Here's a run msg :"Error resolving version for plugin 'org.apache.maven.plugins:maven-compiler-plugin' from the repositories [local (C:\Users\admin1\.m2\repository), central (http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]"
Also, I'm not sure if the very first time I tried importing that the eclipse version I was using may have done something to the trunk when I went to the next version of eclipse and used the same workspace and the whatever previous version of eclipse had done to the code base, so now I am trying to find what i did with the original source check out for starting from scratch. I may have the original SVN checkout without having to make a trip to another building where I can use the tortise s/w.
I can import it all as a regular project and all the classes are seen by the workbench, no missing classes. Just won't then run for me. So, I'm gonna go back and try to reimport a, I think, accurate backup copy of the tortise svn checkout. Reinstall eclipse and M2 in the helios version of eclipse v3.6survivor99912/16/10 19:31:13 (9 years ago)
Couple of questions. Do you have maven installed? You should have maven and the maven plugin installed. If so, have you run "Update dependencies"?deyan12/16/10 11:09:38 (9 years ago)
Well, I went back to the new version 3.6 eclipse and reinstalled the maven m2 plugin, the imported the sophie2 project and still, 52,000+ errors ? Don't know what else to try. Any hints ? If you have time for this. May restart with re-getting the SVN source again from the repository.survivor99912/16/10 01:00:33 (9 years ago)
My knowledge of maven and eclipse is, to this point, limited. Just finished trying eclipse 3.4, however, the m2eclipse is not gonna install in v3.4 with the update site link that works for eclipse v3.6, however, it seems there is no maven plugin as good as M2 for eclipse v3.4, so I am going back to try it all over with v3.6 again and see what I may have done wrong last go around with v3.6. Maybe I'll go in and remove by hand the pom editor and the AJDT integeration modules and see what happens.survivor99912/15/10 23:06:22 (9 years ago)
But I'm using Eclipse 3.6.1 with the newest maven plugin from sonatype. I am wondering since the sophie documentation mentions Eclipse 3.4, is that the version I need to use here ? I am going now to download the version 3.4 with the sonatype maven plugin for it.survivor99912/15/10 18:50:55 (9 years ago)
Still working on a few minor details in bringing up the development environment. Then I will know if I am following the instructions closely enough, or if it's my lack of knowledge of the Eclipse IDE which is probably affecting my getting along.survivor99912/15/10 01:30:15 (9 years ago)
Hi, do you mean you succeeded in building and running the project? If so, let me know in order to update/comment the wiki pages. If not, please give exact errors in order to be able to resolve them.deyan12/14/10 22:23:08 (9 years ago)
Note: Currently, one can merely look at my last message entered on here for the pertinent info, all previous messages are now obsolete ! Currently, I am looking at the below excerpt from the sophie docs :
" make sure that Eclipse runs with JDK not JRE (see Window-Preferences-Java-Installed JREs, edit eclipse.ini with -vm <path to javaw executable file> or set correct PATH and JAVA_HOME variables) "survivor99912/14/10 19:48:16 (9 years ago)
So, Basically, what I did was, checked out the trunk , installed eclipse, installed the M2 maven thing(incidentally, the installation GUI did not give me an option that I noticed for excluding AJDT integration or the POM editor as mentioned in sophie docs on here). Then I imported the eclipse project for sophie I previously got and tried to run the fakeauthor thing . Something is off, of course, all errors from now on. I imported the project as told how to in http://www.sophie2.org/trac/wiki/PLATFORM_DEPLOYMENT_BUILD_ECLIPSE, with a few variations because of the eclipse version differences but basically the same. Must be missing something ? Any input ?survivor99912/14/10 19:17:37 (9 years ago)
Yeah, still getting 53000 errors + : here is an excerpt (from an attempted run, also, still getting the import error messages Java null pointer exception) I followed the instructions that I read so far in the given sophie documents.
Description Resource Path Location Type AbstractHalo cannot be resolved to a type MainTitleBarHalo.java /org.sophie2.main.app.halos/src/main/java/org/sophie2/main/app/halos/frame line 65 Java Problem
Description Resource Path Location Type ACCELERATOR_PROP_ID cannot be resolved to a variable CloseBookItem.java /org.sophie2.main.app.menus/src/main/java/org/sophie2/main/app/menus/file line 29 Java Problem
Description Resource Path Location Type AccessCreateCollectionUtil cannot be resolved OldHotStyleDef.java /org.sophie2.base.model.text/src/main/java/org/sophie2/base/model/text/old line 52 Java Problem
Description Resource Path Location Type AccessOptions cannot be resolved to a type BookTemplate.java /org.sophie2.main.app.model/src/main/java/org/sophie2/main/app/model/book line 33 Java Problem
Description Resource Path Location Type AccessOptions cannot be resolved to a variable CommentTestUtil.java /org.sophie2.extra.comment/src/test/java/org/sophie2/extra/comment line 114 Java Problemsurvivor99912/14/10 03:43:32 (9 years ago)
I also found another document I am working on :survivor99912/14/10 03:06:41 (9 years ago)
Oops... ! Pause, I was using the Eclipse Galileo installation I already had, now I have gone back and am reinstalling now with the newly downloaded Helios Eclipse intallation EE, and I already see the reference to Equinox in that update list. : )survivor99912/14/10 02:42:51 (9 years ago)
I have successfully imported the SVN repository. Now, I installed
the eclipse EE. I pointed to the M2 Maven plugin and installed that, however I was not given any options, to my knowledge that allowed deselecting the POM Editor or the AJDT integration as suggested in the Platform Infrastructure Overview web page. I am receiving several errors related to something called Equinox when I attempt to import the Sophie 2 software. Any suggestions ? Also, of course numberous java errors upon trying to run the below mentioned thing that is mentioned in the web page Platform deployment build in Eclipse :
•Go to sophie2-platform/dev-tools. •To run Sophie2 Author right-click on author.FakeAuthorMain.launch and select Run as -> author.FakeAuthorMainsurvivor99912/14/10 02:11:28 (9 years ago)
Oh, it's "http://sophie2.org/trac/browser/trunk" working now. I have moved to another building's wireless network, I believe it is less crowded. The website came right up. I have had this same issue on other things in the past.survivor99912/10/10 00:57:16 (9 years ago)
Unless it's something to do with the wireless connection here : (here's what I get when I use the above zip file link) "Error: Forbidden Insufficient permissions to access /manage
TracGuide — The Trac User..."survivor99912/09/10 21:31:01 (9 years ago)
Message #140deyan12/09/10 00:11:39 (9 years ago)
Don't see the linke for downloading in zip format etc. I have seen it elsewhere, but only when I drill down to individual files. I have downloaded a rather larger zip file of something else at another link that I don't know what it was, "qt-win-opensource-src-4.5.2.tar", doesn't look like anything other than some Unix thing. But I haven't seen any links that look like an archive zip of the Sophie2 . The svn url you gave me above is still taking a breather right now and won't respond when I cut and paste it into tortise svn gui.survivor99912/08/10 22:34:34 (9 years ago)
Hi again, please retry with exact same address in tortoise svn. Alternatively you can donwload the source using trac http://sophie2.org/trac/browser/trunk Look below for the "Download in other formats: Zip Archive" option and use save target as.deyan12/08/10 21:14:53 (9 years ago)
Tried that URL you mentioned above , svn://sophie2.org/sophie2/trunk, however, I received this message :
Command: Export Error: Can't connect to host 'sophie2.org': A connection attempt failed because the Error: connected party did not properly respond after a period of time, or established Error: connection failed because connected host has failed to respond. Finished!:survivor99912/07/10 22:19:09 (9 years ago)
Thank you. Usually, it's instructive, to try and insert a foreign project into Netbeans and then chase down all the items that go awry. But, I'm away from that at this point. However, with the Eclipse project I am sure it would be possible to equate it to NB, if I wanted to.survivor99912/07/10 22:14:05 (9 years ago)
You can read more about eclipse setup here DEVELOPMENT_OVERVIEW
Consider checking out only trunk, svn://sophie2.org/sophie2/trunk since the separate branches are really huge.
Non of the developers used netbeans, so I'm pretty sure it won't work...deyan12/07/10 18:01:35 (9 years ago)
Yes , the first time I tried the SVN url you gave me it did work. I ran out of time and had to shut down and come back to it and start over. Seems to be rather large, how large I don't have that information. I see it is set up for wha they call "Eclipse". I have eclipse for other things, but have not widely usd it much.survivor99912/06/10 19:46:04 (9 years ago)
Would like to download it in its entirety and load in up into Netbeans an play around with it, compile it, etc. Are their quick and dirty intstructions somewhere on setting up the libs in Netbeans ? Nevermind the jDesktop imports I mentioned earlier.survivor99912/06/10 18:43:55 (9 years ago)
Oh, the imports are in there, I tried that SVN url above. However, the same url doesn't seem to be working today, namely, svn://sophie2.org/sophie2
Scottsurvivor99912/06/10 18:33:50 (9 years ago)
Actually, this link seems to have the jdesktop imports involved :survivor99912/04/10 22:22:24 (9 years ago)
You know, I am intereseted in a file for GradientPicker.java, which has the
Line 1 package org.sophie2.main.app.halos.huds.gradient; 2 3 import org.apache.batik.ext.awt.MultipleGradientPaint; 4 import org.jdesktop.swingx.JXGradientChooser; 5 import org.jdesktop.swingx.JXMultiThumbSlider; 6 import org.jdesktop.swingx.color.GradientPreviewPanel; 7 import org.jdesktop.swingx.color.GradientTrackRenderer; 8 import org.jdesktop.swingx.multislider.Thumb; 9 import org.jdesktop.swingx.multislider.ThumbListener;
The jdesktop code I am interested in perusing, however I noticed, and expected that the newer version didn't have the jdesktop imports. I am wondering what version has those in it ?survivor99912/04/10 22:18:59 (9 years ago)
Just tried with Tortoise SVN and it works using this as adress: svn://sophie2.org/sophie2
Please let me know if that worked for you.
Deyandeyan12/04/10 13:28:57 (9 years ago)