nguyenducnhaty / opengse

Automatically exported from code.google.com/p/opengse
Apache License 2.0
0 stars 0 forks source link

WAR deploy requires a WEB-INF/classes dir #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a webapp with no WEB-INF/classes dir
2. Try to deploy

What is the expected output? What do you see instead?

It should deploy correctly. Instead, GSE complains about the classes dir
not existing:

Exception in thread "main"
com.google.opengse.configuration.WebAppConfigurationException: Directory
'/Users/headius/projects/jruby/testapp2/testapp2/WEB-INF/classes' does not
exist
    at
com.google.opengse.webapp.WebAppFactory.checkDirectory(WebAppFactory.java:122)
    at com.google.opengse.webapp.WebAppFactory.createWebApp(WebAppFactory.java:59)
    at com.google.opengse.webapp.war.WarDeployer.deployWar(WarDeployer.java:110)
    at com.google.opengse.webapp.war.WarDeployer.deploy(WarDeployer.java:80)
    at com.google.opengse.webapp.war.Main.getWebApp(Main.java:155)
    at com.google.opengse.webapp.war.Main.getWebApps(Main.java:134)
    at com.google.opengse.webapp.war.Main.getWebAppCollection(Main.java:124)
    at com.google.opengse.webapp.war.Main.main(Main.java:67)

What version of the product are you using? On what operating system?

Current downloadable jar as of today. Does not appear to have a version number.

Please provide any additional information below.

App is a JRuby on Rails application, but I don't see that it should matter.

Original issue reported on code.google.com by head...@gmail.com on 28 Jan 2009 at 8:37