-
Notifications
You must be signed in to change notification settings - Fork 0
Git, Maven and Netbeans Tips
git branch --no-merged master
set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m
mvn -N site
SET MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compile=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005
Windows - set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m All others -
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
mvn dependency:resolve -Dclassifier=javadoc dependency:sources dependency:resolve-plugins -fn
mvn -X <targets>
New version of tomcat! great, edit these files to make the build happy again
- .travis.yml
- apache.tomcat/pom.xml
- fgsms-server/fgsms-tomcat/assembly.xml
- fgsms-server/fgsms-tomcat/package.properties
- pom.xml
After syncing all dependenices, also download apache tomcat, apache juddi and jboss esb server. Host these on a local web server that you can reach (or localhost), then add -DforceHttp to your mvn build goals
mvn clean install -DforceHttp
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 -jar ... args
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 -cp ... my.MainClass args
On occasion it goes bonkers and will literally max out the I/O of your drive. No idea what it's doing but it's quite annoying
Potential fixes:
purge the cache (see below) disable or add exclusions for antivirus software change the maven indexing frequency (Tools > Options > Java > Indexing Tools/Options/Miscellaneous/Files => ❑ Enable auto-scanning of sources
Stop netbeans and blow up the cache. usually in one of the following
C:\Users\AppData\Local\NetBeans\Cache\7.2\ on Windows /Users//Library/Caches/NetBeans/7.2/ on Mac OS X /home//.cache/netbeans/7.2 on Unix-like systems
You probably didn't install the "EE" version of Netbeans, go back and install that one and try again
- TODO Highlight http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/extra/org-netbeans-modules-showtodos.nbm
- Markdown support http://plugins.netbeans.org/plugin/50964/markdown-support Excel
=((B5/1000)/86400)+DATEVALUE("1-1-1970") - DATEVALUE("1-1-1900")
In your maven site descriptor src/site/site.xml, add the following in xpath location project/body/footer
<footer>
<![CDATA[
<div style="top:0px; left:0px; background-color: #00FF00; width: 100%; background-image: none; position: fixed; z-index: 9000; ">
<div style="width: 100%; text-align: center;">
TOP BAR
</div>
</div>
<div style="bottom:0px; left:0px; background-color: #00FF00; width: 100%; background-image: none; position: fixed; z-index: 9000; ">
<div style="width: 100%; text-align: center;">
BOTTOM BAR
</div>
</div>
]]>
</footer>