Author: rgardler
Date: Thu Mar 24 23:00:54 2011
New Revision: 1085180
URL: http://svn.apache.org/viewvc?rev=1085180&view=rev
Log:
Allow widgets to be seeded and deployed in the scratchpad/widgets directory
Added:
incubator/wookie/trunk/scratchpad/widgets/build.xml (with props)
Modified:
incubator/wookie/trunk/widgets/build.xml
Added: incubator/wookie/trunk/scratchpad/widgets/build.xml
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/scratchpad/widgets/build.xml?rev=1085180&view=auto
==============================================================================
--- incubator/wookie/trunk/scratchpad/widgets/build.xml (added)
+++ incubator/wookie/trunk/scratchpad/widgets/build.xml Thu Mar 24 23:00:54 2011
@@ -0,0 +1,24 @@
+<?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 default="build-widget" basedir="." name="Wookie_widgets_build_file">
+ <property name="project.build.dir" location="../../build"/>
+ <property name="wookie.widgets.dir" location="."/>
+ <property name="widget.template.dir"
value="../../widgets/widget-template"/>
+
+ <import file="../../widgets/build.xml"/>
+</project>
\ No newline at end of file
Propchange: incubator/wookie/trunk/scratchpad/widgets/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/wookie/trunk/widgets/build.xml
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/build.xml?rev=1085180&r1=1085179&r2=1085180&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/build.xml (original)
+++ incubator/wookie/trunk/widgets/build.xml Thu Mar 24 23:00:54 2011
@@ -17,7 +17,7 @@
-->
<project default="build-widget" basedir="." name="Wookie_widgets_build_file">
<property name="project.build.dir" location="../build"/>
- <property name="widget.deploy.dir"
location="../build/webapp/wookie/deploy"/>
+ <property name="widget.deploy.dir"
location="${project.build.dir}/webapp/wookie/deploy"/>
<property name="wookie.widgets.dir" location="."/>
<property name="widget.template.dir"
value="${wookie.widgets.dir}/widget-template"/>
<property name="widget.build.dir" value="${project.build.dir}/widgets"/>
@@ -110,6 +110,6 @@
<target name="deploy-widget" depends="build-widget">
<copy tofile="${widget.deploy.dir}/${widget.shortname}.wgt"
file="${widget.build.dir}/${widget.shortname}.wgt"/>
- <echo>Deployed ${widget.shortname} to
${project.build.classes.dir}/${widget.deploy.dir}/${widget.shortname}.wgt</echo>
+ <echo>Deployed ${widget.shortname} to
${widget.deploy.dir}/${widget.deploy.dir}/${widget.shortname}.wgt</echo>
</target>
</project>