Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support launcher type: org.sonatype.m2e.webby.launchConfigType #21

Closed
bhamail opened this issue Feb 4, 2016 · 3 comments
Closed

Support launcher type: org.sonatype.m2e.webby.launchConfigType #21

bhamail opened this issue Feb 4, 2016 · 3 comments

Comments

@bhamail
Copy link

bhamail commented Feb 4, 2016

While using the IDEA 15.0.3 with Eclipser plugin v0.7.1, I tried to convert a .launch file and received the following error:
This is an unknown launch configuration. If you would like Eclipser to support it, please submit a ticket at eclipser/issues

Here's the launcher config:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.sonatype.m2e.webby.launchConfigType">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/insight-portal-webapp"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="insight-portal-webapp"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.sonatype.m2e.webby.sourcepathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dlogback.configurationFile=${project_loc:insight-portal-webapp}/src/test/resources/logback-test.xml -XX:MaxPermSize=256m -Xmx1g"/>
<stringAttribute key="org.sonatype.m2e.webby.containerHome" value=""/>
<stringAttribute key="org.sonatype.m2e.webby.containerId" value="jetty8x"/>
<intAttribute key="org.sonatype.m2e.webby.containerPort" value="8080"/>
<intAttribute key="org.sonatype.m2e.webby.containerTimeout" value="60"/>
<stringAttribute key="org.sonatype.m2e.webby.containerType" value="embedded"/>
<stringAttribute key="org.sonatype.m2e.webby.contextName" value="/insight-portal"/>
<stringAttribute key="org.sonatype.m2e.webby.logLevel" value="medium"/>
<stringAttribute key="org.sonatype.m2e.webby.sysPropFiles" value="${project_loc:insight-portal-webapp}/target/test-classes/config-dev.properties&#13;&#10;${project_loc:insight-portal-webapp}/target/test-classes/config-launch.properties"/>
</launchConfiguration>

Can Eclipser convert a launcher of type: org.sonatype.m2e.webby.launchConfigType ?

@kukido
Copy link
Owner

kukido commented Apr 29, 2016

Ecliser can support only runtime configurations existing in IntelliJ, AFAIK there's no Webby runtime configuration in latest version of IntelliJ. Until it exists, the conversion cannot be done. Sorry about that.

@kukido kukido closed this as completed Apr 29, 2016
@bhamail
Copy link
Author

bhamail commented Apr 29, 2016

Thanks very much for checking!

I found a workaround for my case: My project has the jetty-maven-plugin configured, so I can launch the web app via the 'Maven Projects' panel, under ... 'Modules' -> 'MyAppName' -> 'Plugins' -> 'jetty' -> right click 'jetty:run' and click 'Debug'.

@kukido
Copy link
Owner

kukido commented Apr 29, 2016

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants