ProtegeDevDocsGeneral

From Protege Wiki
Revision as of 10:38, September 22, 2009 by Tredmond (talk | contribs) (Building Java 6 on the PowerPC)

Jump to: navigation, search

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=${jars}/eclipse-ecj.jar \
            --with-xalan2-jar=${jars}/xalan.jar  \
            --with-xalan2-serializer-jar=${jars}/serializer.jar \
            --with-xerces2-jar=${jars}/xercesImpl.jar \
            --with-rhino=${jars}/js.jar

My current error is

./configure: line : syntax error near unexpected token `XPROTO,'
./configure: line 11028: `PKG_CHECK_MODULES(XPROTO, xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no)'