mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Ignore not existing paths and does not show an error message.
This commit is contained in:
parent
acd8a4ca9d
commit
43ae520d5a
@ -104,7 +104,10 @@ public class WasmRule extends TemporaryFolder {
|
||||
final String[] libraries = System.getProperty("java.class.path").split(File.pathSeparator);
|
||||
for( String lib : libraries ) {
|
||||
if( lib.endsWith( ".jar" ) || lib.toLowerCase().contains( "jwebassembly-api" ) ) {
|
||||
compiler.addLibrary( new File(lib) );
|
||||
File library = new File(lib);
|
||||
if( library.exists() ) {
|
||||
compiler.addLibrary( library );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user