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) {
510510 folder .mkdirs ();
511511 }
512512 }
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 ());
515516 continue ;
516517 }
517518 Object inst = clazz .newInstance ();
@@ -544,6 +545,7 @@ public static void main(String[] args) {
544545 System .out .println (javaFile .getAbsolutePath ());
545546 }
546547 } catch (Throwable e ) {
548+ System .out .println ("Error: " + j2sSimpleClazz );
547549 e .printStackTrace ();
548550 }
549551 }
You can’t perform that action at this time.
0 commit comments