Author: pidster
Date: Sun Jun 5 21:16:03 2011
New Revision: 1132490
URL: http://svn.apache.org/viewvc?rev=1132490&view=rev
Log:
do some tidy up; add license headers, doh
Modified:
incubator/kitty/sandbox/trunk/build.gradle
incubator/kitty/sandbox/trunk/groovy1.8/build.gradle
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Dispatcher.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Exceptions.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Kitty.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/KittyShell.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Main.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Command.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Connector.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Library.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Common.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Connect.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Tomcat.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/util/ConnectionURLParser.groovy
incubator/kitty/sandbox/trunk/groovy1.8/src/test/java/org/apache/kitty/KittyTest1.java
incubator/kitty/sandbox/trunk/settings.gradle
Modified: incubator/kitty/sandbox/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/build.gradle?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
--- incubator/kitty/sandbox/trunk/build.gradle (original)
+++ incubator/kitty/sandbox/trunk/build.gradle Sun Jun 5 21:16:03 2011
@@ -25,10 +25,6 @@ configurations {
}
}
-configurations.compile {
- description = 'compile classpath'
-}
-
allprojects {
//
}
Modified: incubator/kitty/sandbox/trunk/groovy1.8/build.gradle
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/build.gradle?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
--- incubator/kitty/sandbox/trunk/groovy1.8/build.gradle (original)
+++ incubator/kitty/sandbox/trunk/groovy1.8/build.gradle Sun Jun 5 21:16:03
2011
@@ -15,7 +15,7 @@
limitations under the License.
*/
-title = 'Apache Kitty (Incubating) SANDBOX'
+title = 'Apache Kitty (Incubating)'
description = 'This is the Apache Kitty build script'
version = '0.1-GR1.8-SANDBOX-SNAPSHOT'
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Dispatcher.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Dispatcher.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Dispatcher.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Dispatcher.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty
import java.lang.reflect.Method
@@ -130,8 +146,12 @@ class Dispatcher {
return
}
}
-
- def ret = lib."$methodName"(*internal)
+
+ def cli = new CliBuilder()
+ cli.with cmd.value()
+
+ def opt = cli.parse(*internal)
+ def ret = lib."$methodName"(opt, *opt.arguments())
if (cm.cachedMethod.isAnnotationPresent(Connector)) {
connect(ret as Map)
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Exceptions.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Exceptions.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Exceptions.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Exceptions.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty
import groovy.transform.InheritConstructors
@@ -9,7 +25,7 @@ import groovy.transform.InheritConstruct
*/
@InheritConstructors
class KittyException extends Exception {
- //
+ // exception wrapper
}
/**
@@ -18,5 +34,5 @@ class KittyException extends Exception {
*/
@InheritConstructors
class KittyRuntimeException extends RuntimeException {
- //
+ // exception wrapper
}
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Kitty.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Kitty.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Kitty.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Kitty.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty
import java.util.Scanner
@@ -45,12 +61,14 @@ class Kitty {
this.addShutdownHook { -> close() }
}
+ def static banner() {
+ return "${TITLE ?: '####### Apache Kitty (TEST MODE)'}
${VERSION ?: 'v0.0 #######'}"
+ }
+
def runConsole(initial) throws KittyException {
// TODO handle additional initial args
-
- kittyShell.display "${TITLE ?: '####### Apache Kitty (TEST
MODE)'} ${VERSION ?: 'v0.0 #######'}"
- kittyShell.display " "
+ kittyShell.display banner()
while (running) {
try {
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/KittyShell.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/KittyShell.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/KittyShell.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/KittyShell.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty
import jline.ANSIBuffer
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Main.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Main.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Main.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/Main.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty
/**
@@ -11,24 +27,22 @@ class Main {
def usage = System.getProperty("apache.kitty.usage", "(sh
kitty|kitty.bat) [<args>]")
def cli = new CliBuilder(usage: "$usage")
- cli.i(longOpt: 'console', 'Launch in an interactive prompt
(default)')
- cli.s(longOpt: 'script', 'Launch inline for scripted access')
- cli._(longOpt: 'help', 'Show help')
+ cli.with {
+ _ longOpt: 'help', 'Show help'
+ i longOpt: 'interactive', 'Launch in an interactive
prompt (default)'
+ s longOpt: 'script', 'Launch inline for scripted access'
+ }
def opt = cli.parse(args)
- if (opt?.h) {
- usage(cli)
+ if (opt?.help) {
+ println Kitty.banner()
+ cli.usage()
return
}
def func = (opt?.s) ? 'runCommand' : 'runConsole'
new Kitty()."$func"(opt.arguments())
}
-
- def static usage(cli) {
- println "${Main.class.getPackage()}"
- println cli.usage()
- }
}
\ No newline at end of file
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Command.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Command.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Command.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Command.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty.annotations
import java.lang.annotation.Documented
@@ -16,6 +32,21 @@ import java.lang.annotation.Target
@Retention(RetentionPolicy.RUNTIME)
@Target([ElementType.TYPE, ElementType.METHOD])
@interface Command {
+
+ /**
+ * callable name of command, if different from method
+ */
+ String name() default ""
+
+ /**
+ * expected number of args, if limited
+ */
+ int args() default -1
+
+ /**
+ * closure for CliBuilder options
+ */
+ Class value() default {}
/**
* @return needs a connection
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Connector.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Connector.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Connector.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Connector.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty.annotations
import java.lang.annotation.Documented
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Library.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Library.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Library.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/annotations/Library.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty.annotations
import java.lang.annotation.Documented
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Common.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Common.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Common.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Common.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty.commands
import javax.management.MBeanServerConnection as JmxConnection
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Connect.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Connect.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Connect.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Connect.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty.commands
import java.util.Map;
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Tomcat.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Tomcat.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Tomcat.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/commands/Tomcat.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty.commands
import javax.management.ObjectName
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/util/ConnectionURLParser.groovy
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/util/ConnectionURLParser.groovy?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/util/ConnectionURLParser.groovy
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/main/groovy/org/apache/kitty/util/ConnectionURLParser.groovy
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty.util
import java.util.regex.Pattern
Modified:
incubator/kitty/sandbox/trunk/groovy1.8/src/test/java/org/apache/kitty/KittyTest1.java
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/groovy1.8/src/test/java/org/apache/kitty/KittyTest1.java?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
---
incubator/kitty/sandbox/trunk/groovy1.8/src/test/java/org/apache/kitty/KittyTest1.java
(original)
+++
incubator/kitty/sandbox/trunk/groovy1.8/src/test/java/org/apache/kitty/KittyTest1.java
Sun Jun 5 21:16:03 2011
@@ -1,3 +1,19 @@
+/*
+ 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.
+*/
package org.apache.kitty;
import org.junit.Test;
Modified: incubator/kitty/sandbox/trunk/settings.gradle
URL:
http://svn.apache.org/viewvc/incubator/kitty/sandbox/trunk/settings.gradle?rev=1132490&r1=1132489&r2=1132490&view=diff
==============================================================================
--- incubator/kitty/sandbox/trunk/settings.gradle (original)
+++ incubator/kitty/sandbox/trunk/settings.gradle Sun Jun 5 21:16:03 2011
@@ -1,18 +1,18 @@
/*
-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
+ 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
+ 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.
+ 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.
*/
include 'agent'