What is the new way to build and include custom modules on a dev machine? | Leo Dashevskiy | 2013-08-23 19:42 |
Status: Closed | ||
Ok, I compiled a fresh copy of the trunk fine. 1) I am having difficulties starting a debug run from IntelliJ, I get the following error: /usr/lib/jvm/java-7-oracle/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:37362,suspend=y,server=n -ea -Xmx1G -XX:MaxPermSize=512M -Dsun.io.useCanonCaches=false -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath /usr/lib/jvm/java-7-oracle/lib/tools.jar;/usr/local/tomcat/bin/bootstrap.jar;/home/ldashevs/Labkey/idea-IU-117.117/lib/idea_rt.jar;./bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat/ -Dcatalina.home=/usr/local/tomcat/ -Djava.io.tmpdir=/usr/local/tomcat/temp -Ddevmode=true -javaagent:/home/ldashevs/Labkey/idea-IU-117.117/plugins/Groovy/lib/agent/gragent.jar -Dfile.encoding=UTF-8 org.apache.catalina.startup.Bootstrap start Connected to the target VM, address: '127.0.0.1:37362', transport: 'socket' Error: Could not find or load main class org.apache.catalina.startup.Bootstrap Disconnected from the target VM, address: '127.0.0.1:37362', transport: 'socket' Process finished with exit code 1 (I can start the server fine by just starting tomcat, though) 2) I have 3 modules, 2 of them depend on the 3rd one. This third one installed fine, but the other two, even though the build says, that they are built and I can see before firing up the server that <labkey root>/build/deploy/modules contains the *.module files, then when I fire up the server, those *.module files get unzipped into folders, but their folder structure seems incomplete and does not contain actual files, for example, the module folder contains the following: "config lib META-INF schemas web" and 'web' and 'schemas' are empty, 'lib' has <module name>.jar file and 'config' has module.xml file, 'META-INF' contains 'MANIFEST.MF' file -- no queries, reports or views. What's going on and how to fix that? Thanks. |
||