[ 
https://issues.apache.org/jira/browse/ISIS-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15287473#comment-15287473
 ] 

Dan Haywood commented on ISIS-1358:
-----------------------------------

That's because there's a <profile> to do that... 

{code}
        <profile>
            <id>intellij</id>
            <activation>
                <property>
                    <name>idea.version</name>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.apache.isis.core</groupId>
                    <artifactId>isis-core-webserver</artifactId>
                </dependency>
            </dependencies>
        </profile>
{code}

It's there because the org.apache.isis.WebServer class requires them, and that 
idea.version variable is a convenient way to distinguish cmd line vs IDE usage.

> Simpleapp created from archetype and packaged to war fails when deploying to 
> Tomcat
> -----------------------------------------------------------------------------------
>
>                 Key: ISIS-1358
>                 URL: https://issues.apache.org/jira/browse/ISIS-1358
>             Project: Isis
>          Issue Type: Bug
>          Components: Archetype: SimpleApp
>    Affects Versions: 1.12.1
>         Environment: Windows 10, Windows 7
> Tomcat version: Apache Tomcat/8.0.33
> JVM: 1.8.0_77-b03
>            Reporter: Vladimir Nisevic
>            Assignee: Dan Haywood
>             Fix For: 1.13.0
>
>         Attachments: catalina.2016-03-31.log, 
> restfulServicesWhenLaunchingWithTomcat.png, swagger.issue.png
>
>
> Steps to reproduce:
> * Created simpleapp from archetype (Version 1.12.0)
> * Execute mvn clean package
> * Take the file \webapp\target\simpleapp.war and deploy to tomcat thru e.g. 
> manager UI (http://localhost:8080/manager/html) 
> Attached the catalina.log



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to