Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-dev] Building webprotege 3 from source

Matthew Horridge matthew.horridge at stanford.edu
Wed Mar 28 10:23:42 PDT 2018


Hi Marin,

The project structure and set of build artefacts has changed since the 3.0.0 release of WebProtege.  GitHub provides the latest “official” version.

With regards to the error below, do you get this with the released .war file or with the build from GitHub?

Cheers,

Matthew


On 28 Mar 2018, at 05:13, Marin Pranjic <mpranjic at fastmail.com<mailto:mpranjic at fastmail.com>> wrote:

I have noticed that contents of my webprotege-server-VERSION.war is much different than the war file downloaded via github.

So I'm interested in steps needed to produce the  .war file as the official one.

--
  Marin Pranjic
  mpranjic at fastmail.com<mailto:mpranjic at fastmail.com>



On Tue, 27 Mar 2018, at 16:55, Marin Pranjic wrote:
Hey Matthew,

the instructions were clear and simple :)

However, I made a fresh install with the .war file, bootstrapped admin, and am getting  the following error when I enter a project page (blank project I just created):

27-Mar-2018 14:39:40.189 SEVERE [http-nio-8080-exec-2] edu.stanford.bmir.protege.web.server.dispatch.impl.DispatchServiceExecutorImpl.execute An error occurred whilst executing an action
java.lang.IllegalArgumentException: URI is not hierarchical
        at java.io.File.<init>(File.java:418)
        at edu.stanford.bmir.protege.web.server.perspective.PerspectiveDataCopier.copyDefaultPerspectiveData(PerspectiveDataCopier.java:38)
        at edu.stanford.bmir.protege.web.server.perspective.PerspectiveFileManager.copyDefaultPerspectiveDataIfNecessary(PerspectiveFileManager.java:54)
        at edu.stanford.bmir.protege.web.server.perspective.PerspectiveFileManager.getDefaultPerspectiveLayout(PerspectiveFileManager.java:46)
        at edu.stanford.bmir.protege.web.server.perspective.PerspectiveLayoutStoreImpl.getPerspectiveFile(PerspectiveLayoutStoreImpl.java:80)
        at edu.stanford.bmir.protege.web.server.perspective.PerspectiveLayoutStoreImpl.getPerspectiveFile(PerspectiveLayoutStoreImpl.java:72)
        at edu.stanford.bmir.protege.web.server.perspective.PerspectiveLayoutStoreImpl.getPerspectiveLayout(PerspectiveLayoutStoreImpl.java:40)
        at edu.stanford.bmir.protege.web.server.perspective.GetPerspectiveLayoutActionHandler.execute(GetPerspectiveLayoutActionHandler.java:50)
        at edu.stanford.bmir.protege.web.server.perspective.GetPerspectiveLayoutActionHandler.execute(GetPerspectiveLayoutActionHandler.java:23)
        at edu.stanford.bmir.protege.web.server.dispatch.impl.DispatchServiceExecutorImpl.execute(DispatchServiceExecutorImpl.java:67)
        at edu.stanford.bmir.protege.web.server.dispatch.DispatchServlet.executeAction(DispatchServlet.java:49)



Does that sound familiar? Did I forget something?


--
  Marin Pranjic
  mpranjic at fastmail.com<mailto:mpranjic at fastmail.com>



On Mon, 12 Mar 2018, at 03:24, Matthew Horridge wrote:
Hi Marin,

Make sure your working directory is the project root.  To build, you can type

mvn clean package

The .war file will be in the webprotege-server/target directory.

You can run dev mode by opening a fresh terminal and typing

mvn gwt:codeserver

This will run the GWT code server.  In another fresh terminal window you can start the WebProtege server by tying

mvn jetty:run -Denv=dev

Browse to http://localhost:8080/ in a web browser of you choice.

Cheers,

Matthew

p.s. I’ll update the build instructions.


On 11 Mar 2018, at 16:28, Marin Pranjic <mpranjic at fastmail.com<mailto:mpranjic at fastmail.com>> wrote:

Hello,

it seems that webprotege 3.0 build instructions are missing from the project repo and wiki.

Which steps are needed to produce webprotege.war?

I managed to build webprotege-client.war and webprotege-server.war, but honestly, no idea how to build a combined one.

I tried executing "mvn gwt:compile" in the project root, but the task failed.

Any help is appreciated.

Regards,

--
 Marin Pranjic
 mpranjic at fastmail.com<mailto:mpranjic at fastmail.com>
_______________________________________________
protege-dev mailing list
protege-dev at lists.stanford.edu<mailto:protege-dev at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
protege-dev at lists.stanford.edu<mailto:protege-dev at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
protege-dev at lists.stanford.edu<mailto:protege-dev at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
protege-dev at lists.stanford.edu<mailto:protege-dev at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/protege-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-dev/attachments/20180328/e96830b9/attachment.html>


More information about the protege-dev mailing list