install
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | install [2025/01/15 21:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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]]. | ||
| + | |||
| + | |||
| + | |||
| + | ===== 1. Environment ===== | ||
| + | |||
| + | This guide based on the experience on Ecilpes 3.5 in WindowsXP and Fedora Eclipse released with FC11. It should work with any Eclipse version but you must install the [[https:// | ||
| + | |||
| + | ===== 2. Checking out the Ptidej Projects ===== | ||
| + | |||
| + | You need an account to access [[https:// | ||
| + | |||
| + | ===== 3. Running in Eclipse ===== | ||
| + | |||
| + | ==== 3.1 Ptidej UI Viewer Swing Standalone ==== | ||
| + | |||
| + | Even if some projects fail to build, the '' | ||
| + | |||
| + | |||
| + | |||
| + | ==== 3.2 Batch Mode ==== | ||
| + | |||
| + | Make sure the project '' | ||
| + | |||
| + | ===== 4. Running as a JAR ===== | ||
| + | |||
| + | The classes necessary to identify occurrences of design motifs can be packaged into a runnable JAR using '' | ||
| + | |||
| + | < | ||
| + | padl.FileAccessException | ||
| + | at padl.util.repository.file.ClassFileRepository.storeFiles(ClassFileRepository.java: | ||
| + | at padl.util.repository.file.ClassFileRepository.getMetaModelFiles(ClassFileRepository.java: | ||
| + | at padl.util.repository.file.ClassFileRepository.getFiles(ClassFileRepository.java: | ||
| + | at padl.util.repository.constituent.ConstituentRepository.& | ||
| + | at padl.util.repository.constituent.ConstituentRepository.getInstance(ConstituentRepository.java: | ||
| + | at ptidej.solver.helper.DesignMotifIdentificationCaller.analyseCodeLevelModelFromJAR(DesignMotifIdentificationCaller.java: | ||
| + | at ptidej.solver.helper.DesignMotifIdentificationCaller.main(DesignMotifIdentificationCaller.java: | ||
| + | Loading class files in: ./ | ||
| + | Exception in thread " | ||
| + | at padl.creator.AbstractClassFileCreator.createElements(AbstractClassFileCreator.java: | ||
| + | at padl.creator.AbstractClassFileCreator.create(AbstractClassFileCreator.java: | ||
| + | at padl.kernel.impl.CodeLevelModel.create(CodeLevelModel.java: | ||
| + | at ptidej.solver.helper.DesignMotifIdentificationCaller.analyseCodeLevelModelFromJAR(DesignMotifIdentificationCaller.java: | ||
| + | at ptidej.solver.helper.DesignMotifIdentificationCaller.main(DesignMotifIdentificationCaller.java: | ||
| + | </ | ||
| + | |||
| + | 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 ===== | ||
| + | |||
| + | When analysing large JAR files or large sets of class files, give enough memory to the JVM, with '' | ||
