File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sources/net.sf.j2s.ajax/generator/net/sf/j2s/ajax Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -510,8 +510,9 @@ public static void main(String[] args) {
510
510
folder .mkdirs ();
511
511
}
512
512
}
513
- SourceUtils .updateSourceContent (new File (targetPath , simpleName + ".java" ), javaSource );
514
- System .out .println (new File (targetFolder , simpleName + ".java" ).getAbsolutePath ());
513
+ File javaFile = new File (targetPath , simpleName + ".java" );
514
+ SourceUtils .updateSourceContent (javaFile , javaSource );
515
+ System .out .println (javaFile .getAbsolutePath ());
515
516
continue ;
516
517
}
517
518
Object inst = clazz .newInstance ();
@@ -544,6 +545,7 @@ public static void main(String[] args) {
544
545
System .out .println (javaFile .getAbsolutePath ());
545
546
}
546
547
} catch (Throwable e ) {
548
+ System .out .println ("Error: " + j2sSimpleClazz );
547
549
e .printStackTrace ();
548
550
}
549
551
}
You can’t perform that action at this time.
0 commit comments