Mail Archive Home | fractal-commits List | August 2008 Index
| <-- Date Index --> | <-- Thread Index --> |
Run Juliac even if there is no ADL nor membrane descriptors to compile.
--- trunk/juliac/compiler/src/main/java/org/objectweb/fractal/juliac/Juliac.java 2008-08-29 16:35:47 UTC (rev 8419)
+++ trunk/juliac/compiler/src/main/java/org/objectweb/fractal/juliac/Juliac.java 2008-08-29 16:39:07 UTC (rev 8420)
@@ -133,13 +133,10 @@
}
/*
- * Retrieve the ADL files which must be compiled.
+ * Retrieve the ADL files or membrane descriptors which must be
+ * generated.
*/
List<String> files = cla.getFiles();
- if( files.size() == 0 ) {
- reportError("Missing ADL files");
- System.exit(1);
- }
/*
* Initialize Juliac.
@@ -201,7 +198,9 @@
jc.generate(file);
}
catch( NoSuchControllerDescriptorException nscde ) {
- String msg = file+" is neither an ADL type, nor a membrane descriptor";
+ String msg =
+ file+
+ " is neither an ADL type, nor a membrane descriptor";
throw new IllegalArgumentException(msg,nscde);
}
}
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.