Closed
Description
Steps to reproduce
- go to
sources/net.sf.j2s.lib
- make sure no directory
j2slib
exists. (runrm -r j2slib
if necessary) - run
ant -f build/build.xml
The build will report these errors for the target j2s.pack.core
:
[java] java.io.FileNotFoundException: /Users/ub/work/project/sd/thirdparty/java2script(java2script)/sources/net.sf.j2s.lib/build/../../net.sf.j2s.lib/j2slib/j2slib.z.js (No such file or directory)
[java] java.io.FileNotFoundException: /Users/ub/work/project/sd/thirdparty/java2script(java2script)/sources/net.sf.j2s.lib/build/../../net.sf.j2s.lib/j2slib/j2slib.src.z.js (No such file or directory)
[java] java.io.FileNotFoundException: /Users/ub/work/project/sd/thirdparty/java2script(java2script)/sources/net.sf.j2s.lib/build/../../net.sf.j2s.lib/j2slib/j2slib.swt.z.js (No such file or directory)
[java] java.io.FileNotFoundException: /Users/ub/work/project/sd/thirdparty/java2script(java2script)/sources/net.sf.j2s.lib/build/../../net.sf.j2s.lib/j2slib/j2slibcore.z.js (No such file or directory)
Workaround
When running ant -f build/build.xml
a second time the errors are gone.
Possible Solution
It looks like the order in the processing needs to be changed. The compacted files are referenced before they are created.
Metadata
Metadata
Assignees
Labels
No labels