SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:logicaj:svncheckout [2010/03/30 15:30]
127.0.0.1 external edit
research:logicaj:svncheckout [2018/05/09 01:59] (current)
Line 1: Line 1:
 +==== SVN Checkout ====
 +
 +To contribute to the development of LogicAJ or run it from the SVN you need the //Plug-in Developer// or the //Classic// version of Eclipse Europa (version 3.3.x.x).
 +
 +You need to check out first the code for [[https://​sewiki.iai.uni-bonn.de/​research/​jtransformer/​jtsvn|JTransformer and PDT]], on which LogicAJ depends.
 +
 +Make sure to check out st.logicaj from the JTransformer repository. This will be moved to the LogicAJ repository in the near future.
 +
 +LogicAJ repository path: [[https://​svn.iai.uni-bonn.de/​repos/​IAI_Software/​logicaj/​trunk/​]]. Checkout the projects:
 +  * LogicAJ ​
 +  * LogicAJFeature (optional)
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +==== Optional ====
 +For CSLogicAJ you will need Ditrios, too:\\
 +Ditrios repository path: [[https://​svn.iai.uni-bonn.de/​repos/​IAI_Software/​ditrios/​]]\\ ​
 +Checkout projects:
 +
 +  * Ditrios
 +  * PrologInterface ​
 +
 +Use the {{:​research:​logicaj:​ditrios_team_set.psf|Ditrios Team Set}} to import the current set of plugins.
 +/*
 +Install the knopflerfish OSGi plugin from the following update site:
 +  http://​www.knopflerfish.org/​eclipse-update/​
 +
 +and you will need knopflerfish 2.0.5: [[  http://​www.knopflerfish.org/​download.html#​2.0.5| download]]
 +
 +To setup the CSLogicAJ/​Ditrios development environment follow the [[http://​www.ditrios.org/​index.php?​link=readme/​README|instructions]] on [[http://​ditrios.org]].
 +*/
 +
 +\\
 +
 +If any of these projects contain errors after checking them out.
 +
 +  * Process a clean (Project->​Clean->​Clean all projects
 +  * Restart eclipse
 +  * Process a clean (Project->​Clean->​Clean all projects
 +
 +==== Creating deployable Plugins ====
 +
 +Run the build-laj-jt-pdt.xml ant build. It will create the file dist/​laj-jt-pdt-cvs.zip
 +containing the current version of the PDT, JTransformer,​ LogicAJ.
 +
 +Be aware that there might be incompatibilities with the PDT on the HEAD!
 +
 +
 +
 +==== Running Eclipse + LogicAJ ====
 +
 +Run eclipse with more memory, at least 512 MB. JTransformer consumes a lot of
 +memory on larger projects. The option -consoleLog logs exceptions directly to the console additionally to the .log file
 +in the .metadata project.
 +Of course you have to start eclipse from a console (cmd, gnome-terminal,​ etc.) to see the messages.
 +
 +  eclipse -consoleLog -clean -vmargs -Xmx512M -Xms512M
 +
 +For more eclipse command line option see the [[http://​help.eclipse.org/​help32/​index.jsp?​topic=/​org.eclipse.platform.doc.isv/​reference/​misc/​runtime-options.html| documentation]].
 +
 +==== Testing LogicAJ ​ ====
 +
 +Run->​JUnitPluginTest \\ 
 +
 +Test:​\\ ​
 +Project: LogicAJ\\ ​
 +Test Class: org.aspectj.compiler.test.LogicAJTestsuite\\ ​
 +
 +Main:​\\ ​
 +Program to Run: Run an Application:​ No Application-Headles Mode\\ ​
 +Command Line Settings: default.\\ ​
 +Runtime JRE: <Java 1.**5**>​\\ ​
 +
 +
 +**Note**: make sure that you've put the ''​tools.jar''​ file in the Java ''​CLASSPATH''​. Otherwise the tests will not run.
 +
  
research/logicaj/svncheckout.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019