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

Marin Pranjic mpranjic at fastmail.com
Wed Mar 28 05:13:45 PDT 2018


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



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.ex-
>> ecute 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.Perspect-
>>         iveDataCopier.copyDefaultPerspectiveData(PerspectiveDataCopi-
>>         er.java:38)>>         at edu.stanford.bmir.protege.web.server.perspective.Perspect-
>>         iveFileManager.copyDefaultPerspectiveDataIfNecessary(Perspec-
>>         tiveFileManager.java:54)>>         at edu.stanford.bmir.protege.web.server.perspective.Perspect-
>>         iveFileManager.getDefaultPerspectiveLayout(PerspectiveFileMa-
>>         nager.java:46)>>         at edu.stanford.bmir.protege.web.server.perspective.Perspect-
>>         iveLayoutStoreImpl.getPerspectiveFile(PerspectiveLayoutStore-
>>         Impl.java:80)>>         at edu.stanford.bmir.protege.web.server.perspective.Perspect-
>>         iveLayoutStoreImpl.getPerspectiveFile(PerspectiveLayoutStore-
>>         Impl.java:72)>>         at edu.stanford.bmir.protege.web.server.perspective.Perspect-
>>         iveLayoutStoreImpl.getPerspectiveLayout(PerspectiveLayoutSto-
>>         reImpl.java:40)>>         at edu.stanford.bmir.protege.web.server.perspective.GetPersp-
>>         ectiveLayoutActionHandler.execute(GetPerspectiveLayoutAction-
>>         Handler.java:50)>>         at edu.stanford.bmir.protege.web.server.perspective.GetPersp-
>>         ectiveLayoutActionHandler.execute(GetPerspectiveLayoutAction-
>>         Handler.java:23)>>         at edu.stanford.bmir.protege.web.server.dispatch.impl.Dispat-
>>         chServiceExecutorImpl.execute(DispatchServiceExecutorImpl.ja-
>>         va:67)>>         at edu.stanford.bmir.protege.web.server.dispatch.DispatchSer-
>>         vlet.executeAction(DispatchServlet.java:49)>> 
> 
> 
> Does that sound familiar? Did I forget something?
> 
> 
> --
>   Marin Pranjic
>   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>
>>> 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
>>> _______________________________________________
>>> protege-dev mailing list
>>> protege-dev at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/protege-dev
>> _________________________________________________
>> protege-dev mailing list
>> protege-dev at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-dev
> 
> _________________________________________________
> protege-dev mailing list
> 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/2f92cd98/attachment.html>


More information about the protege-dev mailing list