Browse Source

License version 2.0

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276031 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 21 years ago
parent
commit
be8c8a8bde
7 changed files with 102 additions and 17 deletions
  1. +16
    -4
      src/script/antRun
  2. +16
    -2
      src/script/antRun.bat
  3. +13
    -2
      src/script/antRun.pl
  4. +13
    -2
      src/script/complete-ant-cmd.pl
  5. +16
    -2
      src/script/lcp.bat
  6. +13
    -2
      src/script/runant.pl
  7. +15
    -3
      src/script/runant.py

+ 16
- 4
src/script/antRun View File

@@ -1,7 +1,19 @@
#! /bin/sh

# Copyright (c) 2001-2002 The Apache Software Foundation. All rights
# reserved.
#
# Copyright 2001-2002,2004 Apache Software Foundation
#
# Licensed 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.
#
#

# Args: DIR command
cd "$1"


+ 16
- 2
src/script/antRun.bat View File

@@ -1,7 +1,21 @@
@echo off

REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights
REM reserved.
REM
REM Copyright 2001-2002,2004 Apache Software Foundation
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
REM You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
REM
REM

if "%OS%"=="Windows_NT" @setlocal



+ 13
- 2
src/script/antRun.pl View File

@@ -1,7 +1,18 @@
#!/usr/bin/perl
#
# Copyright (c) 2001,2003 The Apache Software Foundation. All rights
# reserved.
# Copyright 2001,2003-2004 Apache Software Foundation
#
# Licensed 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.
#
#######################################################################
#


+ 13
- 2
src/script/complete-ant-cmd.pl View File

@@ -1,7 +1,18 @@
#!/usr/bin/perl
#
# Copyright (c) 2001 The Apache Software Foundation. All rights
# reserved.
# Copyright 2001,2004 Apache Software Foundation
#
# Licensed 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.
#
# A script to allow Bash or Z-Shell to complete an Ant command-line.
#


+ 16
- 2
src/script/lcp.bat View File

@@ -1,5 +1,19 @@
REM Copyright (c) 2001-2003 The Apache Software Foundation. All rights
REM reserved.
REM
REM Copyright 2001-2004 Apache Software Foundation
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
REM You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
REM
REM

set _CLASSPATHCOMPONENT=%1
if ""%1""=="""" goto gotAllArgs


+ 13
- 2
src/script/runant.pl View File

@@ -1,7 +1,18 @@
#!/usr/bin/perl
#
# Copyright (c) 2000-2003 The Apache Software Foundation. All rights
# reserved.
# Copyright 2000-2004 Apache Software Foundation
#
# Licensed 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.
#
#######################################################################
#


+ 15
- 3
src/script/runant.py View File

@@ -1,4 +1,19 @@
#!/usr/bin/python
# Copyright 2001,2003-2004 Apache Software Foundation
#
# Licensed 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.
#

"""

runant.py
@@ -8,9 +23,6 @@
the python os library)
This script has been tested with Python2.0/Win2K

Copyright (c) 2001,2003 The Apache Software Foundation. All rights
reserved.

created: 2001-04-11
author: Pierre Dittgen pierre.dittgen@criltelecom.com



Loading…
Cancel
Save