Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bibsco project setup/compilation #35

Closed
UBy opened this issue Apr 15, 2016 · 4 comments
Closed

Bibsco project setup/compilation #35

UBy opened this issue Apr 15, 2016 · 4 comments

Comments

@UBy
Copy link

UBy commented Apr 15, 2016

Could we get some instructions about how to compile Bibisco ourselves?

I can see this is a XUL application and that Eclipse is used as the IDE. Any other details about setting up a project, running and testing would be appreciated.

@UdeRecife
Copy link

UdeRecife commented Apr 15, 2016

I also want to ask for this very same thing. I add this comment here as a kind of voting up UBy's request.

@ryanswrt
Copy link

Would be useful here too!

@delebash
Copy link

delebash commented Sep 15, 2016

This works for me

Windows 7 x64
Mars2 Eclipse IDE for Java EE Developers x86
Java sdk 1.7 x86

http://www.eclipse.org/downloads/packages/release/Mars/2

  1. Import bibisco File/Import/General/Exising Projects into Workspace. Browse to your bibisco root folder and click finish. <win basePath="C:\bibiscotest\bibisco\" />

  2. Change perspective to EE via toolbar Window/perspective/open perspective/other/Java EE.

  3. Righ click on file src/bibiscoConfig.xml then open Open With/Text Editor change basePath for your environment path to point to your bibisco folder

  4. Dbl Click bibisco.product file in root

  5. Select contents tab and click Add Required Plugins

  6. Close and Save

  7. With bibisco.product still selected click on your run button in the tool bar, this will automatically create the correct run as configuration

A few things to watch out for

If you have another version of java say 1.8 then you need to
click the launching tab in the bibisco.product and make sure it is set to 1.7

Also heck your build properties, Window/preferences/Java/compiler make sure it is set to 1.7 and also Java/Installed JRE's you need to have it set to 1.7 as well. I find it easiest to use the search button and select your java folder in program files x86, it will pull up your runetime or sdk, choose 1.7 version of either of them

That should take care of it

I could not get this working with Mars x64 even after changing target path
Also could not get it working using Neon.

If anyone can get this working in Neon please post the directions!

If you still have problems try making sure you only have jdk 1.7 installed, also I find Mars a little unstable so after doing the above if you still get errors just try relaunching eclipse

UPDATE: NEON WORKING
Figured out how to run the project using Neon instead of Mars which for me doesn't seem to have any memory problems that I was getting

You need to create a new target platform that include the mars plugins and bibisco's lib folder
Instructions:

File/New/Other/Plugin Development/Target DefinitionS
Select Parent folder bibisco
Name -- bibiscomars -- or whatever you want
Finish

Add Directory -- navigate to Mars plugins folder
Finish

Add Directory -- navigate to bibisco lib folder
Finish

Click Set as Target Platform in upper right conner
Save

Open you Run Configuration
Select Plugins
Deselect All
Select bibisco
Add Required Plug-ins

I am sure this also can be done using sofware installation pointing to the mars repository but using Directory was easy to do and it worked

@jcamins jcamins mentioned this issue Sep 17, 2016
@lordofscripts
Copy link

I have Oxygen 2 but it does not have the Java EE perspective...
I modified the base path but can't figure out how to add plugins to bibisco.product. I see a bunch of errors like "AbstractUIPlugin cannot be resolved to a type", same fr AtionBarAdvisor, Browser, BundleContent, Clipboard, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants