Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You will next need to build OFBiz with Ant. To do this, go to the Naviagator Navigator panel and do the following:

...

  • see Installation Instructions for Eclipse 3.xThen x Then connect to the repository:

...

Changing Eclipse's JVM

Wiki Markup
If you are running Eclipse using JDK 1.5 then you will also need to ensure Eclipse knows where to find your JDK 1.4 install: "Windows - Preferences - Java - Installed JREs" add it and make sure it is checked as the default. *Although this says JREs make sure you add the JDK and not the JRE install\!*
[javac]\[ BUILD FAILED: file:<Project Dir>/build.xml:32: Unable to find a javac compiler;
If you have received the above error, you most likely have more than one JVM (e.g. a JRE and a JDK) installed. Eclipse uses the first Java VM it finds on your computer's PATH variable. In this case, it is most likely a JRE, not a JDK. Ant uses the same Java environment as Eclipse, no matter what you may specify in the compiler attribute. Because it is a JRE, you will not be able to compile.
\\
\\
To correct this, you must tell Eclipse to use the SDK. To do this, modify the shortcut you use to launch Eclipse and change the target to the following:
\\
\\
<ECLIPSE_DIR>\eclipse.exe \-vm <SDK_DIR>\bin\javaw.exe
\\
\\
Original source: [http://www.ryanlowe.ca/blog/archives/000386.php]

...

For more on tuning Eclipse JVM heap size, you can refer to this IBM article : http://www-128.ibm.com/developerworks/websphere/library/techarticles/0204_searle/searle.htmlImage Removed

...

Getting Rid of Annoying Tabs

Wiki MarkupYou can set up your Eclipse so that identations are done in tabs rather than spaces. See convert spaces to tabs. In older versions of Eclipse, the button is "Show" rather than "Edit". Here is a sample screenshot&nbsp;\[\] !eclipse_spaces_for_tabs.png! &nbsp; If you want some scripts to help you check and clean up tabs in your files, go to [screenshot Image Added
 
If you want some scripts to help you check and clean up tabs in your files, go to http://www.opensourcestrategies.com/ofbiz/downloads.php]. I'm told by the real Unix gurus that "this takes one line in sed." Yeah, I've heard that one before...