Edit eclipse.ini and set:
-vmargs -Xms1024m -Xmx2048m
-vmargs -Xms1024m -Xmx2048m
$ eclipse -debug -console -clean
Reposiroty Address: http://veloeclipse.googlecode.com/svn/trunk/update/
solution: Window > Preferences > General > Workspace > Refresh using native hooks or polling
Assume Project B needs Project A to compile and execute... We want whenever we modify code in A then B to get updated...An easy solution would be to add the jar of A in WEB-INF/lib of B but every time we changed A we would need a manual "mvn package".
<project ... <groupId>CORE</groupId> <artifactId>CORE</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>CORE</name> ... </project>
on A: mvn clean install
<dependency> <groupId>CORE</groupId> <artifactId>CORE</artifactId> <version>0.0.1-SNAPSHOT</version> <scope>compile</scope> </dependency>
$ mvn eclipse:eclipse
<classpath> <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/test/java" output="target/test-classes"/> <classpathentry kind="output" path="target/classes"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="var" path="M2_REPO/com/maventest/mytest/1.0-SNAPSHOT/mytest-1.0-SNAPSHOT.jar"/> <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/> </classpath>The above .classpath has been taken from the references...
Also check Java Build Path > Libraries and
Deployment Assembly
<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <runtime name="Apache Tomcat v7.0"/> <fixed facet="jst.web"/> <fixed facet="wst.jsdt.web"/> <fixed facet="java"/> <installed facet="jst.web" version="3.0"/> <installed facet="wst.jsdt.web" version="1.0"/> <installed facet="jst.jsf" version="2.0"/> <installed facet="java" version="1.6"/> </faceted-project>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<!-- <configuration> -->
<!-- <useDefaultManifestFile>true</useDefaultManifestFile> -->
<!-- </configuration> -->
<configuration>
<archive>
<index>true</index>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
<manifestEntries>
<mode>development</mode>
<url>${pom.url}</url>
<key>value</key>
</manifestEntries>
</archive>
</configuration>
</plugin>
AmaterasUML is an Eclipse plug-in for drawing UML class-diagram, and UML sequence-diagram.
Requirements: in Eclipse: Help > Install new software ... > Indigo): GEF
Install EMF
Help > Install new software... > Work with: Indigo - http://download.eclipse.org/releases/indigo > "Modeling" > select "EMF - Eclipse Modeling Framework SDK" and "Ecore Tools"
scenario: backup eclipse plugins > remove eclipse > install eclipse > install eclipse plugins
how to backup (export) eclipse plugins
File > Export > Install > Installed Software Items to File
how to restore (import) eclipse plugins
File > Import > Install > Install Software Items from File
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener
-vm /usr/bin/javaassuming that java executable is on /usr/bin/java (execute 'whereis java' to wee where it is)
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
* C/C++ Build
* Settings
* Tool Settings
* GCC C++ Compiler
* Includes
+ Include paths (-l)
- /usr/local/include/OGRE
- /usr/include/OIS
* GCC C++ Linker
* Libraries
+ Libraries (-l)
- OgreMain- OgreTerrain
- OgrePaging
- OgreRTShaderSystem
- OIS
//- BulletCollision
//- BulletDynamics
//- LinearMath
+ Libraries (-L)
- /usr/local/lib
- /usr/lib
(/usr/local/lib/ must be before /usr/lib because in Ubuntu
in /usr/lib is the deb libogre-dev v.1.6.4 and
in /usr/local/lib is the manual installation and
we want the second one to take precedence)