Repository: flex-sdk Updated Branches: refs/heads/release4.16.0 26e4e16dc -> 2d698095a
FLEX-35165 Remove texen test directory due to incompatible license Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/2d698095 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/2d698095 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/2d698095 Branch: refs/heads/release4.16.0 Commit: 2d698095aeb8937fda242bcad1ae1c0297f56801 Parents: 26e4e16 Author: Justin Mclean <jmcl...@apache.org> Authored: Thu Nov 3 17:27:23 2016 +1100 Committer: Justin Mclean <jmcl...@apache.org> Committed: Thu Nov 3 17:27:23 2016 +1100 ---------------------------------------------------------------------- .../velocity/test/texen/additional.props | 1 - .../velocity/test/texen/compare/Test.txt | 11 --- .../test/texen/compare/TurbineWeather.java | 81 -------------------- .../texen/compare/TurbineWeatherService.java | 78 ------------------- .../test/texen/compare/WeatherService.java | 70 ----------------- .../velocity/test/texen/compare/book.txt | 15 ---- .../thirdparty/velocity/test/texen/license.txt | 55 ------------- .../velocity/test/texen/service.props | 21 ----- .../velocity/test/texen/templates/Control.vm | 41 ---------- .../texen/templates/ServiceImplementation.vm | 39 ---------- .../test/texen/templates/ServiceInterface.vm | 31 -------- .../test/texen/templates/ServiceStaticHelper.vm | 42 ---------- .../velocity/test/texen/templates/Test.vm | 27 ------- .../velocity/test/texen/templates/book.vm | 31 -------- .../velocity/test/texen/templates/test.props | 4 - 15 files changed, 547 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/additional.props ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/additional.props b/modules/thirdparty/velocity/test/texen/additional.props deleted file mode 100644 index db25562..0000000 --- a/modules/thirdparty/velocity/test/texen/additional.props +++ /dev/null @@ -1 +0,0 @@ -occupation=somnambulist http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/compare/Test.txt ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/compare/Test.txt b/modules/thirdparty/velocity/test/texen/compare/Test.txt deleted file mode 100644 index f2bb18d..0000000 --- a/modules/thirdparty/velocity/test/texen/compare/Test.txt +++ /dev/null @@ -1,11 +0,0 @@ -# These should all evaluate to true - -true -true -true - -# These should all evaluate to false - -false -false -false http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/compare/TurbineWeather.java ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/compare/TurbineWeather.java b/modules/thirdparty/velocity/test/texen/compare/TurbineWeather.java deleted file mode 100644 index db2bd31..0000000 --- a/modules/thirdparty/velocity/test/texen/compare/TurbineWeather.java +++ /dev/null @@ -1,81 +0,0 @@ -package org.apache.turbine.services.weather; - -/* - * Copyright (c) 1997-2000 The Java Apache Project. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. All advertising materials mentioning features or use of this - * software must display the following acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * 4. The names "Apache JServ", "Apache JServ Servlet Engine", "Turbine", - * "Apache Turbine", "Turbine Project", "Apache Turbine Project" and - * "Java Apache Project" must not be used to endorse or promote products - * derived from this software without prior written permission. - * - * 5. Products derived from this software may not be called "Apache JServ" - * nor may "Apache" nor "Apache JServ" appear in their names without - * prior written permission of the Java Apache Project. - * - * 6. Redistributions of any form whatsoever must retain the following - * acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * THIS SOFTWARE IS PROVIDED BY THE JAVA APACHE PROJECT "AS IS" AND ANY - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JAVA APACHE PROJECT OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Java Apache Group. For more information - * on the Java Apache Project and the Apache JServ Servlet Engine project, - * please see <http://java.apache.org/>. - * - */ - - -import org.apache.turbine.services.TurbineServices; - -/** - * - * - * @author <a href="mailto:jvan...@apache.org">Jason van Zyl</a> - * @occupation somnambulist - */ -public class TurbineWeather -{ - /** - * Utility method for accessing the service - * implementation - * - * @return a WeatherService implementation instance - */ - protected static WeatherService getService() - { - return (WeatherService)TurbineServices - .getInstance().getService(WeatherService.SERVICE_NAME); - } -} http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/compare/TurbineWeatherService.java ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/compare/TurbineWeatherService.java b/modules/thirdparty/velocity/test/texen/compare/TurbineWeatherService.java deleted file mode 100644 index 1cc8d7a..0000000 --- a/modules/thirdparty/velocity/test/texen/compare/TurbineWeatherService.java +++ /dev/null @@ -1,78 +0,0 @@ -package org.apache.turbine.services.weather; - -/* - * Copyright (c) 1997-2000 The Java Apache Project. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. All advertising materials mentioning features or use of this - * software must display the following acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * 4. The names "Apache JServ", "Apache JServ Servlet Engine", "Turbine", - * "Apache Turbine", "Turbine Project", "Apache Turbine Project" and - * "Java Apache Project" must not be used to endorse or promote products - * derived from this software without prior written permission. - * - * 5. Products derived from this software may not be called "Apache JServ" - * nor may "Apache" nor "Apache JServ" appear in their names without - * prior written permission of the Java Apache Project. - * - * 6. Redistributions of any form whatsoever must retain the following - * acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * THIS SOFTWARE IS PROVIDED BY THE JAVA APACHE PROJECT "AS IS" AND ANY - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JAVA APACHE PROJECT OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Java Apache Group. For more information - * on the Java Apache Project and the Apache JServ Servlet Engine project, - * please see <http://java.apache.org/>. - * - */ - - -import org.apache.turbine.services.TurbineBaseService; - -/** - * - * @author <a href="mailto:jvan...@apache.org">Jason van Zyl</a> - * @occupation somnambulist - */ -public class TurbineWeatherService extends TurbineBaseService - implements WeatherService - -{ - /** - * Initialize the TurbineWeather Service. - */ - public void init() - { - setInit(true); - } -} http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/compare/WeatherService.java ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/compare/WeatherService.java b/modules/thirdparty/velocity/test/texen/compare/WeatherService.java deleted file mode 100644 index 9373f44..0000000 --- a/modules/thirdparty/velocity/test/texen/compare/WeatherService.java +++ /dev/null @@ -1,70 +0,0 @@ -package org.apache.turbine.services.weather; - -/* - * Copyright (c) 1997-2000 The Java Apache Project. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. All advertising materials mentioning features or use of this - * software must display the following acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * 4. The names "Apache JServ", "Apache JServ Servlet Engine", "Turbine", - * "Apache Turbine", "Turbine Project", "Apache Turbine Project" and - * "Java Apache Project" must not be used to endorse or promote products - * derived from this software without prior written permission. - * - * 5. Products derived from this software may not be called "Apache JServ" - * nor may "Apache" nor "Apache JServ" appear in their names without - * prior written permission of the Java Apache Project. - * - * 6. Redistributions of any form whatsoever must retain the following - * acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * THIS SOFTWARE IS PROVIDED BY THE JAVA APACHE PROJECT "AS IS" AND ANY - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JAVA APACHE PROJECT OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Java Apache Group. For more information - * on the Java Apache Project and the Apache JServ Servlet Engine project, - * please see <http://java.apache.org/>. - * - */ - - -import org.apache.turbine.services.Service; - -/** - * - * @author <a href="mailto:jvan...@apache.org">Jason van Zyl</a> - * @occupation somnambulist - */ -public interface WeatherService extends Service -{ - public static final String SERVICE_NAME = "TurbineWeatherService"; -} http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/compare/book.txt ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/compare/book.txt b/modules/thirdparty/velocity/test/texen/compare/book.txt deleted file mode 100644 index 9c55b7a..0000000 --- a/modules/thirdparty/velocity/test/texen/compare/book.txt +++ /dev/null @@ -1,15 +0,0 @@ -This is the book of the week: - -Props retrieved using new method: - -Title: Consilience: The Unity of Knowledge -Author: Edward O. Wilson -Publisher: Knopf -ISBN: 0965058305 - -Props retrieved using old method: - -Title: Consilience: The Unity of Knowledge -Author: Edward O. Wilson -Publisher: Knopf -ISBN: 0965058305 http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/license.txt ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/license.txt b/modules/thirdparty/velocity/test/texen/license.txt deleted file mode 100644 index a5c1c2c..0000000 --- a/modules/thirdparty/velocity/test/texen/license.txt +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 1997-2000 The Java Apache Project. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. All advertising materials mentioning features or use of this - * software must display the following acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * 4. The names "Apache JServ", "Apache JServ Servlet Engine", "Turbine", - * "Apache Turbine", "Turbine Project", "Apache Turbine Project" and - * "Java Apache Project" must not be used to endorse or promote products - * derived from this software without prior written permission. - * - * 5. Products derived from this software may not be called "Apache JServ" - * nor may "Apache" nor "Apache JServ" appear in their names without - * prior written permission of the Java Apache Project. - * - * 6. Redistributions of any form whatsoever must retain the following - * acknowledgment: - * "This product includes software developed by the Java Apache - * Project for use in the Apache JServ servlet engine project - * <http://java.apache.org/>." - * - * THIS SOFTWARE IS PROVIDED BY THE JAVA APACHE PROJECT "AS IS" AND ANY - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JAVA APACHE PROJECT OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Java Apache Group. For more information - * on the Java Apache Project and the Apache JServ Servlet Engine project, - * please see <http://java.apache.org/>. - * - */ http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/service.props ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/service.props b/modules/thirdparty/velocity/test/texen/service.props deleted file mode 100644 index fe7dff2..0000000 --- a/modules/thirdparty/velocity/test/texen/service.props +++ /dev/null @@ -1,21 +0,0 @@ -baseName=Weather -package=org.apache.turbine.services.weather -name=Jason van Zyl -email=jvan...@apache.org - -## The contents of the file license.txt -## will be available in the context -## as $license. - -license.file.contents = ../test/texen/license.txt - -# Test some properties that have be give some boolean -# values. - -one = true -two = yes -three = on - -four = false -five = no -six = off http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/templates/Control.vm ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/templates/Control.vm b/modules/thirdparty/velocity/test/texen/templates/Control.vm deleted file mode 100644 index 3a8a4ee..0000000 --- a/modules/thirdparty/velocity/test/texen/templates/Control.vm +++ /dev/null @@ -1,41 +0,0 @@ -#set ( $sourceFile = "Turbine${baseName}Service.java" ) -#* - 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. -*# -$generator.parse("ServiceImplementation.vm",$sourceFile) - -#set ( $sourceFile = "${baseName}Service.java" ) -$generator.parse("ServiceInterface.vm",$sourceFile) - -#set ( $sourceFile = "Turbine${baseName}.java" ) -$generator.parse("ServiceStaticHelper.vm",$sourceFile) - -#set ( $sourceFile = "Test.txt" ) -$generator.parse("Test.vm",$sourceFile) - -#set ( $props = $properties.load("test.props") ) - -## This is to test a properties file that was once taken from -## the file system but is now taken from a JAR. We have to -## deprecate the use of $generator.TemplatePath if we want -## templates to work the same way from JARs and the file -## system. I have a hack in PropsUtil right now to deal -## with it. - -#set ( $props2 = $properties.load("$generator.TemplatePath/test.props") ) -$generator.TemplatePath/test.props -#set ( $sourceFile = "book.txt" ) -$generator.parse("book.vm",$sourceFile) http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/templates/ServiceImplementation.vm ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/templates/ServiceImplementation.vm b/modules/thirdparty/velocity/test/texen/templates/ServiceImplementation.vm deleted file mode 100644 index fa2c9e0..0000000 --- a/modules/thirdparty/velocity/test/texen/templates/ServiceImplementation.vm +++ /dev/null @@ -1,39 +0,0 @@ -package $package; -#* - 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. -*# - -$license - -import org.apache.turbine.services.TurbineBaseService; - -/** - * - * @author <a href="mailto:$email">$name</a> - * @occupation $occupation - */ -public class Turbine${baseName}Service extends TurbineBaseService - implements ${baseName}Service - -{ - /** - * Initialize the Turbine${baseName} Service. - */ - public void init() - { - setInit(true); - } -} http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/templates/ServiceInterface.vm ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/templates/ServiceInterface.vm b/modules/thirdparty/velocity/test/texen/templates/ServiceInterface.vm deleted file mode 100644 index 5d21e8a..0000000 --- a/modules/thirdparty/velocity/test/texen/templates/ServiceInterface.vm +++ /dev/null @@ -1,31 +0,0 @@ -package $package; -#* - 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. -*# - -$license - -import org.apache.turbine.services.Service; - -/** - * - * @author <a href="mailto:$email">$name</a> - * @occupation $occupation - */ -public interface ${baseName}Service extends Service -{ - public static final String SERVICE_NAME = "Turbine${baseName}Service"; -} http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/templates/ServiceStaticHelper.vm ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/templates/ServiceStaticHelper.vm b/modules/thirdparty/velocity/test/texen/templates/ServiceStaticHelper.vm deleted file mode 100644 index 81ad3c7..0000000 --- a/modules/thirdparty/velocity/test/texen/templates/ServiceStaticHelper.vm +++ /dev/null @@ -1,42 +0,0 @@ -package $package; -#* - 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. -*# - -$license - -import org.apache.turbine.services.TurbineServices; - -/** - * - * - * @author <a href="mailto:$email">$name</a> - * @occupation $occupation - */ -public class Turbine$baseName -{ - /** - * Utility method for accessing the service - * implementation - * - * @return a ${baseName}Service implementation instance - */ - protected static ${baseName}Service getService() - { - return (${baseName}Service)TurbineServices - .getInstance().getService(${baseName}Service.SERVICE_NAME); - } -} http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/templates/Test.vm ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/templates/Test.vm b/modules/thirdparty/velocity/test/texen/templates/Test.vm deleted file mode 100644 index 51aa610..0000000 --- a/modules/thirdparty/velocity/test/texen/templates/Test.vm +++ /dev/null @@ -1,27 +0,0 @@ -# These should all evaluate to true -#* - 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. -*# - -$one -$two -$three - -# These should all evaluate to false - -$four -$five -$six http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/templates/book.vm ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/templates/book.vm b/modules/thirdparty/velocity/test/texen/templates/book.vm deleted file mode 100644 index c64f4df..0000000 --- a/modules/thirdparty/velocity/test/texen/templates/book.vm +++ /dev/null @@ -1,31 +0,0 @@ -This is the book of the week: -#* - 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. -*# - -Props retrieved using new method: - -Title: $props.get("title") -Author: $props.get("author") -Publisher: $props.get("publisher") -ISBN: $props.get("isbn") - -Props retrieved using old method: - -Title: $props2.get("title") -Author: $props2.get("author") -Publisher: $props2.get("publisher") -ISBN: $props2.get("isbn") http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2d698095/modules/thirdparty/velocity/test/texen/templates/test.props ---------------------------------------------------------------------- diff --git a/modules/thirdparty/velocity/test/texen/templates/test.props b/modules/thirdparty/velocity/test/texen/templates/test.props deleted file mode 100644 index 7803869..0000000 --- a/modules/thirdparty/velocity/test/texen/templates/test.props +++ /dev/null @@ -1,4 +0,0 @@ -author = Edward O. Wilson -title = Consilience: The Unity of Knowledge -publisher = Knopf -isbn = 0965058305