| Line 18... |
Line 18... |
| 18 |
* License along with this library; if not, write to the Free Software
|
18 |
* License along with this library; if not, write to the Free Software
|
| 19 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
19 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
| 20 |
* USA
|
20 |
* USA
|
| 21 |
*
|
21 |
*
|
| 22 |
* --------------------------------------------------------------------------
|
22 |
* --------------------------------------------------------------------------
|
| 23 |
* $Id: Jonas53.java 22396 2012-04-25 07:51:54Z cazauxj $
|
- |
|
| - |
|
23 |
* $Id: Jonas53.java 22426 2012-05-04 17:05:04Z cazauxj $
|
| 24 |
* --------------------------------------------------------------------------
|
24 |
* --------------------------------------------------------------------------
|
| 25 |
*/
|
25 |
*/
|
| 26 |
package org.ow2.jonas.tools.configurator.impl;
|
26 |
package org.ow2.jonas.tools.configurator.impl;
|
| 27 |
|
27 |
|
| 28 |
import java.io.File;
|
28 |
import java.io.File;
|
| Line 432... |
Line 432... |
| 432 |
*/
|
432 |
*/
|
| 433 |
public Jonas53() {
|
433 |
public Jonas53() {
|
| 434 |
this.createProject();
|
434 |
this.createProject();
|
| 435 |
this.jonasBase = new JOnASBaseTask();
|
435 |
this.jonasBase = new JOnASBaseTask();
|
| 436 |
this.jonasBase.setProject(this.project);
|
436 |
this.jonasBase.setProject(this.project);
|
| 437 |
this.jonasBase.setSkipDeployablesTemplateCopy(false);
|
- |
|
| - |
|
437 |
this.jonasBase.setSkipOptionalDeployablesCopy(true);
|
| 438 |
|
438 |
|
| 439 |
this.jonasProperties = new JonasProperties();
|
439 |
this.jonasProperties = new JonasProperties();
|
| 440 |
this.jonasProperties.setProject(this.project);
|
440 |
this.jonasProperties.setProject(this.project);
|
| 441 |
|
441 |
|
| 442 |
this.services = new Services();
|
442 |
this.services = new Services();
|
| Line 1814... |
Line 1814... |
| 1814 |
for (Method method : webContainer.getClass().getMethods()) {
|
1814 |
for (Method method : webContainer.getClass().getMethods()) {
|
| 1815 |
if (method.getName().equals("addConfiguredConnectors") && method.getParameterTypes().length == 1) {
|
1815 |
if (method.getName().equals("addConfiguredConnectors") && method.getParameterTypes().length == 1) {
|
| 1816 |
try {
|
1816 |
try {
|
| 1817 |
connectors = (Connectors) method.getParameterTypes()[0].newInstance();
|
1817 |
connectors = (Connectors) method.getParameterTypes()[0].newInstance();
|
| 1818 |
connectors.setProject(this.project);
|
1818 |
connectors.setProject(this.project);
|
| - |
|
1819 |
connectors.setSkipOptionalDeployablesCopy(true);
|
| 1819 |
} catch (Exception e) {
|
1820 |
} catch (Exception e) {
|
| 1820 |
throw new IllegalStateException("Cannot generate Web connector to configure", e);
|
1821 |
throw new IllegalStateException("Cannot generate Web connector to configure", e);
|
| 1821 |
}
|
1822 |
}
|
| 1822 |
connectorsMethod = method;
|
1823 |
connectorsMethod = method;
|
| 1823 |
break;
|
1824 |
break;
|