Commit 3c92417b authored by Lukáš Marek's avatar Lukáš Marek
Browse files

Changed format of DiSL-Classes in MANIFEST.MF

parent 2edc0b99
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/example/fieldsImmutabilityAnalysis/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.example.fieldsImmutabilityAnalysis.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/example/jp2/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.example.jp2.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/example/jraf2/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.example.jraf2.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/example/map/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.example.map.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/example/senseo/DiSLClass.class:ch/usi/dag/disl/example/senseo/ArgumentProcessor.class
DiSL-Classes: ch.usi.dag.disl.example.senseo.DiSLClass:ch.usi.dag.disl.example.senseo.ArgumentProcessor
......@@ -21,6 +21,9 @@ public abstract class ClassByteLoader {
public static final String ATTR_DISL_CLASSES = "DiSL-Classes";
public static final String DISL_CLASSES_DELIM = ":";
public static final String DISL_CLASSES_EXT = ".class";
public static final char CLASS_DELIM = '.';
public static final char FILE_DELIM = '/';
// How to use jar support
// 1) Create jar with a name specified in build.properties (instr.jar.name)
......@@ -85,8 +88,12 @@ public abstract class ClassByteLoader {
List<InputStream> dislClasses = new LinkedList<InputStream>();
for (String fileName : classesList.split(DISL_CLASSES_DELIM)) {
for (String className : classesList.split(DISL_CLASSES_DELIM)) {
// create file name from class name
String fileName = className.replace(CLASS_DELIM, FILE_DELIM)
+ DISL_CLASSES_EXT;
dislClasses.add(cl.getResourceAsStream(fileName));
}
......
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/after/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.after.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/after2/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.after2.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/after3/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.after3.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/afterinit/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.afterinit.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/args/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.args.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/bbmarker/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.bbmarker.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/bodymarker/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.bodymarker.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/bytecodemarker/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.bytecodemarker.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/cflow/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.cflow.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/dynamicinfo/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.dynamicinfo.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/exception/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.exception.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/exceptionhandler/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.exceptionhandler.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/getTarget/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.getTarget.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/guard/DiSLClass.class:ch/usi/dag/disl/test/guard/ProcessorTest.class:ch/usi/dag/disl/test/guard/ProcessorTest2.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.guard.DiSLClass:ch.usi.dag.disl.test.guard.ProcessorTest
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/loop/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.loop.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/newobjmarker/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.newobjmarker.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/pe/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.pe.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/processor/DiSLClass.class:ch/usi/dag/disl/test/processor/ProcessorTest.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.processor.DiSLClass:ch.usi.dag.disl.test.processor.ProcessorTest
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/scope/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.scope.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/stack/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.stack.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/staticinfo/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.staticinfo.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/symbolic/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.symbolic.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/syntheticlocal/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.syntheticlocal.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/threadlocal/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.threadlocal.DiSLClass
\ No newline at end of file
Manifest-Version: 1.0
DiSL-Classes: ch/usi/dag/disl/test/tryclause/DiSLClass.class
\ No newline at end of file
DiSL-Classes: ch.usi.dag.disl.test.tryclause.DiSLClass
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment