Re: [Need-Help][Eclipse][Windows] Problem
Thanks Lee! Il giorno lun 19 set 2016 alle ore 21:32 moon soo Lee ha scritto: > Hi Andrea, > > I don't know is there a way live debug without rebuild. > > To reduce build time, i leverage IDE, (intellij, eclipse), they can quickly > build single file change into class without rebuild whole modules. > > In case of you need to build module, using -pl switch supported by maven > could help a lot. You can include maven modules like -pl > 'module1,module2,...' or exclude modules like -pl '!module1,!module2...' . > So using -pl flag, you can build only part of the project. > > For example when i change backend and want to test, i usually build the > project > > mvn -DskipTests -pl 'zeppelin-interpreter,zeppelin-zengine,zeppelin-server' > > which saves time spending on building interpreters and front-end, which i > don't need to rebuild. > > Hope this helps. > > Thanks, > moon > > > On Sun, Sep 18, 2016 at 8:28 AM Andrea Santurbano > wrote: > > > Hi Moon, > > thanks it works! > > If want to live debug the application how can i do this without rebuild > > every time the project? > > > > Thanks again! > > Andrea > > > > Il giorno sab 17 set 2016 alle ore 03:57 moon soo Lee > ha > > scritto: > > > > > Hi Andrea, > > > > > > I think you can try > > > > > > mvn -pl 'zeppelin-server' exec:java > > > -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" > > -Dexec.args="" > > > > > > from project root directory (not zeppelin-server) > > > > > > Thanks, > > > moon > > > > > > On Thu, Sep 15, 2016 at 5:43 AM Andrea Santurbano > > > wrote: > > > > > > > Hi to all, > > > > i'm trying to execute Zeppelin via Eclipse, using this steps: > > > > 1) *mvn clean install -DskipTests *(in Zeppelin root) > > > > 2) *cd zeppelin-server* > > > > 3) *mvn exec:java > > > > -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" > > > > -Dexec.args=""* > > > > > > > > But i get the following exception: > > > > *java.io.FileNotFoundException: .\conf\shiro.ini (The system cannot > > find > > > > the path specified)* > > > > > > > > Where am i wrong? > > > > Is there some issue with Windows? > > > > > > > > I'm developing an interpreter and i need to debug both java and > > > javascript > > > > code. How i can proceed? > > > > > > > > Thanks > > > > Andrea > > > > > > > > > >
Re: [Need-Help][Eclipse][Windows] Problem
Hi Andrea, I don't know is there a way live debug without rebuild. To reduce build time, i leverage IDE, (intellij, eclipse), they can quickly build single file change into class without rebuild whole modules. In case of you need to build module, using -pl switch supported by maven could help a lot. You can include maven modules like -pl 'module1,module2,...' or exclude modules like -pl '!module1,!module2...' . So using -pl flag, you can build only part of the project. For example when i change backend and want to test, i usually build the project mvn -DskipTests -pl 'zeppelin-interpreter,zeppelin-zengine,zeppelin-server' which saves time spending on building interpreters and front-end, which i don't need to rebuild. Hope this helps. Thanks, moon On Sun, Sep 18, 2016 at 8:28 AM Andrea Santurbano wrote: > Hi Moon, > thanks it works! > If want to live debug the application how can i do this without rebuild > every time the project? > > Thanks again! > Andrea > > Il giorno sab 17 set 2016 alle ore 03:57 moon soo Lee ha > scritto: > > > Hi Andrea, > > > > I think you can try > > > > mvn -pl 'zeppelin-server' exec:java > > -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" > -Dexec.args="" > > > > from project root directory (not zeppelin-server) > > > > Thanks, > > moon > > > > On Thu, Sep 15, 2016 at 5:43 AM Andrea Santurbano > > wrote: > > > > > Hi to all, > > > i'm trying to execute Zeppelin via Eclipse, using this steps: > > > 1) *mvn clean install -DskipTests *(in Zeppelin root) > > > 2) *cd zeppelin-server* > > > 3) *mvn exec:java > > > -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" > > > -Dexec.args=""* > > > > > > But i get the following exception: > > > *java.io.FileNotFoundException: .\conf\shiro.ini (The system cannot > find > > > the path specified)* > > > > > > Where am i wrong? > > > Is there some issue with Windows? > > > > > > I'm developing an interpreter and i need to debug both java and > > javascript > > > code. How i can proceed? > > > > > > Thanks > > > Andrea > > > > > >
Re: [Need-Help][Eclipse][Windows] Problem
Hi Moon, thanks it works! If want to live debug the application how can i do this without rebuild every time the project? Thanks again! Andrea Il giorno sab 17 set 2016 alle ore 03:57 moon soo Lee ha scritto: > Hi Andrea, > > I think you can try > > mvn -pl 'zeppelin-server' exec:java > -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" -Dexec.args="" > > from project root directory (not zeppelin-server) > > Thanks, > moon > > On Thu, Sep 15, 2016 at 5:43 AM Andrea Santurbano > wrote: > > > Hi to all, > > i'm trying to execute Zeppelin via Eclipse, using this steps: > > 1) *mvn clean install -DskipTests *(in Zeppelin root) > > 2) *cd zeppelin-server* > > 3) *mvn exec:java > > -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" > > -Dexec.args=""* > > > > But i get the following exception: > > *java.io.FileNotFoundException: .\conf\shiro.ini (The system cannot find > > the path specified)* > > > > Where am i wrong? > > Is there some issue with Windows? > > > > I'm developing an interpreter and i need to debug both java and > javascript > > code. How i can proceed? > > > > Thanks > > Andrea > > >
Re: [Need-Help][Eclipse][Windows] Problem
Hi Andrea, I think you can try mvn -pl 'zeppelin-server' exec:java -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" -Dexec.args="" from project root directory (not zeppelin-server) Thanks, moon On Thu, Sep 15, 2016 at 5:43 AM Andrea Santurbano wrote: > Hi to all, > i'm trying to execute Zeppelin via Eclipse, using this steps: > 1) *mvn clean install -DskipTests *(in Zeppelin root) > 2) *cd zeppelin-server* > 3) *mvn exec:java > -Dexec.mainClass="org.apache.zeppelin.server.ZeppelinServer" > -Dexec.args=""* > > But i get the following exception: > *java.io.FileNotFoundException: .\conf\shiro.ini (The system cannot find > the path specified)* > > Where am i wrong? > Is there some issue with Windows? > > I'm developing an interpreter and i need to debug both java and javascript > code. How i can proceed? > > Thanks > Andrea >