Open Namek opened 5 years ago
This might be due to Maven does not know where to get sources. It usually happens on multimodule projects. When building module A which depends on module B, both on the same project, A does not 'see' B content, it 'sees' B as a regular artifact, thus it's impossible to obrain B sources unless you set up maven-source-plugin. Instead, you can use IDEA code server, which is not documented yet.
This also happens when using optimizationLevel
SIMPLE
, as then it uses the lazyPipeline()
method for building, and this never sets the writtenClasses
field. This seems to have been fixed in the 0.7.x
dev branch, though.
Edit: Can confirm, with SIMPLE
it works in 0.7.0-dev-1128
.
version:
0.6.0-dev-816
Issue:
Mapping files exist but they point to non-existing URLs like:
http://localhost:8080/teavm/src/org/teavm/libgdx/emu/Matrix4Emulator.java
In fact, maven plugin does not copy the source files.Expected:
Directory
demos/superjumper/webapp/target/teavm-libgdx-superjumper-webapp-0.1.0-SNAPSHOT
containing index.html should also contain subfolderteavm/src
.Reproduction:
mvn package
demos/superjumper/webapp
:The configuration has:
while the
minifying
doesn't matter, source code does not appear anyway.