Difference between revisions of "ProtegeDevDocsGeneral"

From Protege Wiki
Jump to: navigation, search
(Building Java 6 on the PowerPC)
(Building Java 6 on the PowerPC)
Line 39: Line 39:
 
<pre>
 
<pre>
 
     ./configure --enable-zero=yes  --with-project=bsd \
 
     ./configure --enable-zero=yes  --with-project=bsd \
                 --with-gcj-home=/usr/local/lib/gcj-4.2.2 \  
+
                 --with-gcj-home=/usr/local/lib/gcj-4.2.2 \
                 --with-ecj-jar=/Users/tredmond/Desktop/Java6/eclipse-ecj.jar
+
                 --with-ecj-jar=/Users/tredmond/Desktop/Java6/eclipse-ecj.jar \
 +
                --with-xalan2-jar=/Users/tredmond/dev/packages/xalan-j_2_7_1/xalan.jar \
 +
                --with-xalan2-serializer-jar=/Users/tredmond/dev/packages/xalan-j_2_7_1/serializer.jar \
 +
                --with-xerces2-jar=/Users/tredmond/dev/packages/xalan-j_2_7_1/xercesImpl.jar
 
</pre>
 
</pre>

Revision as of 10:08, September 22, 2009

General Protege Developer Documentation




Using and Configuring Protege Ant Build Scripts

See Protege Ant Scripts.

Connect to the Protege Subversion repository from Eclipse

If you want to view and/or checkout Protege source code from the Eclipse IDE, the first step is to install the Subclipse plug-in. Subclipse provides support for Subversion from within Eclipse. Installation instructions are available on the Subclipse website.

Once you have successfully installed Subclipse, launch Eclipse and go to the SVN Repository Exploring perspective. Click the "Add SVN Repository" button to bring up the "Add SVN Repository" dialog. In the "Url" text box, type the following URL:

http://smi-protege.stanford.edu/repos/protege/

... and click Finish. Eclipse should look like the following screenshot:

Svn-repos-perspective.jpg

Building Java 6 on the PowerPC

I am working on solving the problem of Apple's missing Java 6. If I can succeed, the Protege team will consider the policy of not waiting for Apple once a java release reaches its end of life. The disadvantage of such a policy is that apple users will probably be unhappy about needing to install and run on X11.

This will probably get more detailed when I do it the next time. I am trying the build from icedtea which I got with the following mercurial command.

    hg clone http://icedtea.classpath.org/hg/icedtea6

I needed to get/install

Thus far my configure line looks like this:

    ./configure --enable-zero=yes  --with-project=bsd \
                --with-gcj-home=/usr/local/lib/gcj-4.2.2 \
                --with-ecj-jar=/Users/tredmond/Desktop/Java6/eclipse-ecj.jar \
                --with-xalan2-jar=/Users/tredmond/dev/packages/xalan-j_2_7_1/xalan.jar \
                --with-xalan2-serializer-jar=/Users/tredmond/dev/packages/xalan-j_2_7_1/serializer.jar \
                --with-xerces2-jar=/Users/tredmond/dev/packages/xalan-j_2_7_1/xercesImpl.jar