-
1. Re: Regarding creating a custom module
nickarls Mar 18, 2013 6:04 AM (in response to vismay2011)How is the module defined (folder hierarchy + module.xml)?
-
2. Re: Regarding creating a custom module
vismay2011 Mar 18, 2013 6:43 AM (in response to nickarls)Hi Nick,
Below is my folder structure
C:\jboss-7.1.2.Final\modules\system\layers\base\piweb\lib\main
module.xml looks like below
C:\jboss-7.1.2.Final\modules\system\layers\base\piweb\lib\main\module.xml
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="piweb.lib" >
<resources>
<resource-root path="mbeans.jar" />
</resources>
<dependencies>
<module name="javaee.api"/>
</dependencies>
</module>
SAR package
/META-INF/jboss-deployment-structure.xml
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.jboss.common-core" />
<module name="piweb.lib" />
</dependencies>
</deployment>
</jboss-deployment-structure>
-
3. Re: Regarding creating a custom module
emmartins Mar 18, 2013 6:54 AM (in response to vismay2011)Which AS7 version are you using? If it is 7.1.2.Final then the module should go into C:\jboss-7.1.2.Final\modules\piweb\lib\main\module.xml
-
4. Re: Regarding creating a custom module
vismay2011 Mar 18, 2013 12:00 PM (in response to emmartins)Its jboss-7.1.2.Final (nightly build ..).. But I can see many modules have been defined under jboss-7.1.2.Final\modules\system\layers\base what is the difference?