Author: rgardler
Date: Fri Mar 25 23:35:19 2011
New Revision: 1085594

URL: http://svn.apache.org/viewvc?rev=1085594&view=rev
Log:
Add a build file for the osapi widgets.
Simply the way properties are set so we only need to change one now, to make 
widget build files work in any directory.

Added:
    incubator/wookie/trunk/scratchpad/osapi/widgets/build.xml   (with props)
Modified:
    incubator/wookie/trunk/scratchpad/widgets/build.xml

Added: incubator/wookie/trunk/scratchpad/osapi/widgets/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/scratchpad/osapi/widgets/build.xml?rev=1085594&view=auto
==============================================================================
--- incubator/wookie/trunk/scratchpad/osapi/widgets/build.xml (added)
+++ incubator/wookie/trunk/scratchpad/osapi/widgets/build.xml Fri Mar 25 
23:35:19 2011
@@ -0,0 +1,25 @@
+<?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="wookie.root.dir" location="../../.."/>
+       <property name="project.build.dir" location="${wookie.root.dir}/build"/>
+       <property name="wookie.widgets.dir" location="."/>
+       <property name="widget.template.dir" 
value="${wookie.root.dir}/widgets/widget-template"/>
+       
+       <import file="${wookie.root.dir}/widgets/build.xml"/>
+</project>
\ No newline at end of file

Propchange: incubator/wookie/trunk/scratchpad/osapi/widgets/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/wookie/trunk/scratchpad/widgets/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/scratchpad/widgets/build.xml?rev=1085594&r1=1085593&r2=1085594&view=diff
==============================================================================
--- incubator/wookie/trunk/scratchpad/widgets/build.xml (original)
+++ incubator/wookie/trunk/scratchpad/widgets/build.xml Fri Mar 25 23:35:19 2011
@@ -16,9 +16,10 @@
   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"/>
+    <property name="wookie.root.dir" location="../.."/>
+    <property name="project.build.dir" location="${wookie.root.dir}/build"/>
+    <property name="wookie.widgets.dir" location="."/>
+    <property name="widget.template.dir" 
value="${wookie.root.dir}/widgets/widget-template"/>
+    
+    <import file="${wookie.root.dir}/widgets/build.xml"/>
 </project>
\ No newline at end of file


Reply via email to