Skip to content

Set up your Development Environment

Leonardo Correa edited this page Feb 7, 2014 · 3 revisions

#Set up your Development Environment#

  • clone the project;
  • cd java2word. This is the repo root.
  • cd java2word again. This is the actual library code
  • Copy the file build.properties.EXAMPLE to build.properties.
  • In the java2word directory, run: mvn clean install

This is it! Simple like that!

My projects DO not have complex set ups. I seriously hate that. Some people are very proud of complex and difficult things but I am not!

##IDE setup##

Run mvn eclipse:eclipse in order to generate Eclipse project. Import it into Eclipse.

If you are under a proxy, locate your settings.xml and edit the proxy details. Regardless of proxy configuration, after importing the project to eclipse, edit the Eclipse environment variable M2_REPO to ~/.m2/repository.

Optionally, after a successful build with mvn clean install, you can take a look at your .m2 folder and you should be able to see the generated jar in : ~/.m2/repository/java2word/java2word/3.0/java2word-3.0.jar

  • I am not sure about this one: mvn idea:idea
  • or: sublime .; vim java2word

##Optional Steps## From the root of the repo

  • configure and run j2w-webtest project.
  • take a look at the JBoss Seam ans Struts examples
Clone this wiki locally