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
Tue Mar 27 07:55:35 PDT 2018


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.b-
> mir.protege.web.server.dispatch.impl.DispatchServiceExecutorImpl.exec-
> ute 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.Perspecti-
>         veDataCopier.copyDefaultPerspectiveData(PerspectiveDataCopier-
>         .java:38)>         at edu.stanford.bmir.protege.web.server.perspective.Perspecti-
>         veFileManager.copyDefaultPerspectiveDataIfNecessary(Perspecti-
>         veFileManager.java:54)>         at edu.stanford.bmir.protege.web.server.perspective.Perspecti-
>         veFileManager.getDefaultPerspectiveLayout(PerspectiveFileMana-
>         ger.java:46)>         at edu.stanford.bmir.protege.web.server.perspective.Perspecti-
>         veLayoutStoreImpl.getPerspectiveFile(PerspectiveLayoutStoreIm-
>         pl.java:80)>         at edu.stanford.bmir.protege.web.server.perspective.Perspecti-
>         veLayoutStoreImpl.getPerspectiveFile(PerspectiveLayoutStoreIm-
>         pl.java:72)>         at edu.stanford.bmir.protege.web.server.perspective.Perspecti-
>         veLayoutStoreImpl.getPerspectiveLayout(PerspectiveLayoutStore-
>         Impl.java:40)>         at edu.stanford.bmir.protege.web.server.perspective.GetPerspe-
>         ctiveLayoutActionHandler.execute(GetPerspectiveLayoutActionHa-
>         ndler.java:50)>         at edu.stanford.bmir.protege.web.server.perspective.GetPerspe-
>         ctiveLayoutActionHandler.execute(GetPerspectiveLayoutActionHa-
>         ndler.java:23)>         at edu.stanford.bmir.protege.web.server.dispatch.impl.Dispatc-
>         hServiceExecutorImpl.execute(DispatchServiceExecutorImpl.java-
>         :67)>         at edu.stanford.bmir.protege.web.server.dispatch.DispatchServ-
>         let.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

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


More information about the protege-dev mailing list