powered by Jive Software

Ant build issues

Hi All,

It looks like there is an issue with the last twp versions of the build.xml file (1.93 & 1.94). If you use either one of those to complie a plugin with a jsp, the jsp no longer displays.

Thanks,

Ryan

Ryan,

Arg. Any idea what’'s going wrong?

-Matt

it is right in 1.94

Hi Matt,

Yup, I figured out what is going on. The web.xml for the plugins is now in the web/web-inf/ directory, before it was just in the web/ directory. The fix is to change line 184 in PluginManager from:

File webXML = new File(pluginDir, "web" + File.separator + "web.xml");

to:

File webXML = new File(pluginDir, "web" + File.separator + "WEB-INF" + File.separator + "web.xml");

and line 117 in PluginServlet from:

String pluginName = webXML.getParentFile().getParentFile().getName();

to:

String pluginName = webXML.getParentFile().getParentFile().getParentFile().getName();

Thanks,

Ryan