Author: rdonkin
Date: Thu Aug 7 13:40:04 2008
New Revision: 683710
URL: http://svn.apache.org/viewvc?rev=683710&view=rev
Log:
Added util to base layer of build
Added:
james/server/trunk/build-tools/base-build.xml
- copied, changed from r683338,
james/server/trunk/build-tools/api-build.xml
james/server/trunk/build-tools/util-build.xml
Modified:
james/server/trunk/build-tools/api-build.xml
james/server/trunk/build-tools/build.xml
james/server/trunk/build.xml
Modified: james/server/trunk/build-tools/api-build.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/build-tools/api-build.xml?rev=683710&r1=683709&r2=683710&view=diff
==============================================================================
--- james/server/trunk/build-tools/api-build.xml (original)
+++ james/server/trunk/build-tools/api-build.xml Thu Aug 7 13:40:04 2008
@@ -23,30 +23,6 @@
Template build for API
</description>
- <import file='../build-tools/module-build.xml' optional='no'/>
-
- <target
- name='set-classpath'
- depends='check-environment, master-module-template.set-classpath'>
- <path id='classpath.main'>
- <path refid='classpath.base'/>
- </path>
- <path id='classpath.test'>
- <path refid='classpath.main'/>
- <path refid='classpath.base.test'/>
- </path>
- <path id='classpath.test.runtime'>
- <path refid='classpath.test'/>
- </path>
- </target>
-
- <target
- name='eclipse'
- depends='check-environment,set-classpath'>
- <GenerateEclipseProject
- name='${name.module}' dir='${basedir}'>
- <dependencies>
- </dependencies>
- </GenerateEclipseProject>
- </target>
+ <import file='../build-tools/base-build.xml' optional='no'/>
+
</project>
\ No newline at end of file
Copied: james/server/trunk/build-tools/base-build.xml (from r683338,
james/server/trunk/build-tools/api-build.xml)
URL:
http://svn.apache.org/viewvc/james/server/trunk/build-tools/base-build.xml?p2=james/server/trunk/build-tools/base-build.xml&p1=james/server/trunk/build-tools/api-build.xml&r1=683338&r2=683710&rev=683710&view=diff
==============================================================================
--- james/server/trunk/build-tools/api-build.xml (original)
+++ james/server/trunk/build-tools/base-build.xml Thu Aug 7 13:40:04 2008
@@ -18,9 +18,9 @@
under the License.
-->
-<project name='api-template'>
+<project name='base-template'>
<description>
-Template build for API
+Template build for modules in the lowest layer
</description>
<import file='../build-tools/module-build.xml' optional='no'/>
Modified: james/server/trunk/build-tools/build.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/build-tools/build.xml?rev=683710&r1=683709&r2=683710&view=diff
==============================================================================
--- james/server/trunk/build-tools/build.xml (original)
+++ james/server/trunk/build-tools/build.xml Thu Aug 7 13:40:04 2008
@@ -157,6 +157,13 @@
</target>
<target
+ name='generate-util-module'
+ description='Generates util module outline.
+ Usage: ant -DMODULE=<modulename> generate-util-module.'>
+ <GenerateModuleOfType type='util'/>
+ </target>
+
+ <target
name='generate-library-module'
description='Generates library module outline.
Usage: ant -DMODULE=<modulename> generate-library-module.'>
Added: james/server/trunk/build-tools/util-build.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/build-tools/util-build.xml?rev=683710&view=auto
==============================================================================
--- james/server/trunk/build-tools/util-build.xml (added)
+++ james/server/trunk/build-tools/util-build.xml Thu Aug 7 13:40:04 2008
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<project name='util-template'>
+ <description>
+Template build for utility modules
+ </description>
+
+ <import file='../build-tools/base-build.xml' optional='no'/>
+
+ </project>
\ No newline at end of file
Modified: james/server/trunk/build.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/build.xml?rev=683710&r1=683709&r2=683710&view=diff
==============================================================================
--- james/server/trunk/build.xml (original)
+++ james/server/trunk/build.xml Thu Aug 7 13:40:04 2008
@@ -42,14 +42,15 @@
</subant>
</sequential>
</macrodef>
-
+
<macrodef
- name='forapido'
+ name='forbasedo'
description='Executes a target for all deployment modules'>
<attribute name='do'/>
<attribute name='dir' default='.'/>
<sequential>
<fordo do='@{do}' dir='@{dir}' type='api'/>
+ <fordo do='@{do}' dir='@{dir}' type='util'/>
</sequential>
</macrodef>
@@ -88,7 +89,7 @@
description='Executes a target for all modules'>
<attribute name='do'/>
<sequential>
- <forapido do='@{do}'/>
+ <forbasedo do='@{do}'/>
<forlibrariesdo do='@{do}'/>
<forfunctionsdo do='@{do}'/>
<fordeploymentsdo do='@{do}'/>
@@ -148,7 +149,7 @@
description='Complete clean build, deployment and creates full
distributions'
depends='clean, clean-dist'>
<echo>Building, deploying and creating full distributions for
everything</echo>
- <forapido do='dist'/>
+ <forbasedo do='dist'/>
<forlibrariesdo do='dist'/>
<forfunctionsdo do='dist'/>
<fordeploymentsdo do='everything'/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]