User Tools

Site Tools


install

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
install [2014/02/16 06:53]
yann
install [2014/02/19 11:42]
yann
Line 1: Line 1:
-====== How to Use Ptidej to Identify Occurrences of Design Motifs: A Quick Start ======+====== How to Use Ptidej to Identify Occurrences of Design Motifs ======
  
 By [[gaochushu@googlemail.com|Chushu Gao]] and [[yann-gael.gueheneuc@polymtl.ca|Yann-Gaël Guéhéneuc]]. By [[gaochushu@googlemail.com|Chushu Gao]] and [[yann-gael.gueheneuc@polymtl.ca|Yann-Gaël Guéhéneuc]].
Line 25: Line 25:
 Make sure the project ''​Ptidej Solver Tests''​ is successfully built. Some projects are not required though listed in the required projects section of the project properties, under Java Build Path. A working set of projects includes ''​CPL'',​ ''​JChoco'',​ ''​PADL'',​ ''​PADL Analyses'',​ ''​PADL Creator ClassFile'',​ ''​PADL Design Motifs'',​ ''​Ptidej'',​ and ''​Ptidej Solver 4'',​ see also the available [[http://​www.ptidej.net/​team/​development/​psf/​|Team Project Files]]. The path to the JAR or class files that you want to analyse must be set in class ''​ptidej.solver.helper.DesignMotifsIdentifer'':​ modify its code to fit your settings and run its main method. The path for the result files is also set in this class. Make sure the project ''​Ptidej Solver Tests''​ is successfully built. Some projects are not required though listed in the required projects section of the project properties, under Java Build Path. A working set of projects includes ''​CPL'',​ ''​JChoco'',​ ''​PADL'',​ ''​PADL Analyses'',​ ''​PADL Creator ClassFile'',​ ''​PADL Design Motifs'',​ ''​Ptidej'',​ and ''​Ptidej Solver 4'',​ see also the available [[http://​www.ptidej.net/​team/​development/​psf/​|Team Project Files]]. The path to the JAR or class files that you want to analyse must be set in class ''​ptidej.solver.helper.DesignMotifsIdentifer'':​ modify its code to fit your settings and run its main method. The path for the result files is also set in this class.
  
-===== 4. Run as JAR ===== +===== 4. Running ​as JAR ===== 
  
-I Compile the project ​into a runnable JAR with the Run Configuration in step 3.2 using Eclipse Export ​on Eclipse 3.5 in WinXP. You will get the error messages below when running this JAR in Fedora where default JDK is OpenJDK1.6:+The classes necessary to identify occurrences of design motifs can be packaged ​into a runnable JAR using ''​Run Configuration'' ​in Step 3.2 and the Eclipse Export ​in Eclipse 3.5 on Windows XP. You may get the error messages below when running this JAR on Fedorawhere the default JDK is OpenJDK1.6:
  
 <​code>​ <​code>​
Line 47: Line 47:
 </​code>​ </​code>​
  
-So you may consider to run this JAR in the java environment ​using SunJDK. +Please contact [[yann-gael.gueheneuc@polymtl.ca|Yann-Gaël Guéhéneuc]] if you run into this problem or consider running ​this JAR using Sun's JDK.
- +
  
 ===== 5. Memory Usage =====  ===== 5. Memory Usage ===== 
  
-For big JAR or class files, give enough memory to the JVM, wit -Xmx2048M ​you will be able to anlyse the UI part of JDT 3.0+When analysing large JAR files or large sets of class files, give enough memory to the JVM, with ''​-Xmx2048M''​Tests show that it is possible to analyse Eclipse entirely
install.txt · Last modified: 2019/10/06 20:37 (external edit)