incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahu...@apache.org
Subject [3/14] git commit: Jobs changes
Date Thu, 06 Sep 2012 23:31:50 GMT
Jobs changes


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/6d0e3bd8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/6d0e3bd8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/6d0e3bd8

Branch: refs/heads/javelin
Commit: 6d0e3bd8f02f9d0a8d75b24171f59c60ab5a34ba
Parents: 1d0a10c
Author: Alex Huang <alex.huang@citrix.com>
Authored: Thu Sep 6 16:30:21 2012 -0700
Committer: Alex Huang <alex.huang@citrix.com>
Committed: Thu Sep 6 16:30:21 2012 -0700

----------------------------------------------------------------------
 framework/ipc/pom.xml                              |    2 +-
 framework/jobs/.classpath                          |   15 ++++++++++++---
 framework/jobs/.project                            |    8 +++++++-
 .../jobs/.settings/org.eclipse.jdt.core.prefs      |    7 ++++---
 .../org/apache/cloudstack/framework/job/Job.java   |    8 ++++++++
 .../cloudstack/framework/job/JobInterceptor.java   |    4 ----
 6 files changed, 32 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6d0e3bd8/framework/ipc/pom.xml
----------------------------------------------------------------------
diff --git a/framework/ipc/pom.xml b/framework/ipc/pom.xml
index d0c8096..6e21859 100644
--- a/framework/ipc/pom.xml
+++ b/framework/ipc/pom.xml
@@ -1,6 +1,6 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
-  <groupId>cloudstack</groupId>
+  <groupId>org.apache.cloudstack</groupId>
   <artifactId>cloud-framework-ipc</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <dependencies>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6d0e3bd8/framework/jobs/.classpath
----------------------------------------------------------------------
diff --git a/framework/jobs/.classpath b/framework/jobs/.classpath
index fb565a5..47de145 100755
--- a/framework/jobs/.classpath
+++ b/framework/jobs/.classpath
@@ -1,6 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry kind="src" path="src"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
-	<classpathentry kind="output" path="bin"/>
+	<classpathentry including="**/*.java" kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="target/classes"/>
 </classpath>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6d0e3bd8/framework/jobs/.project
----------------------------------------------------------------------
diff --git a/framework/jobs/.project b/framework/jobs/.project
index edada9c..ddf0af0 100755
--- a/framework/jobs/.project
+++ b/framework/jobs/.project
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-	<name>framework-jobs</name>
+	<name>cloud-framework-jobs</name>
 	<comment></comment>
 	<projects>
 	</projects>
@@ -10,8 +10,14 @@
 			<arguments>
 			</arguments>
 		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
 	</buildSpec>
 	<natures>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
 		<nature>org.eclipse.jdt.core.javanature</nature>
 	</natures>
 </projectDescription>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6d0e3bd8/framework/jobs/.settings/org.eclipse.jdt.core.prefs
----------------------------------------------------------------------
diff --git a/framework/jobs/.settings/org.eclipse.jdt.core.prefs b/framework/jobs/.settings/org.eclipse.jdt.core.prefs
index 7341ab1..8e4055a 100755
--- a/framework/jobs/.settings/org.eclipse.jdt.core.prefs
+++ b/framework/jobs/.settings/org.eclipse.jdt.core.prefs
@@ -1,11 +1,12 @@
 eclipse.preferences.version=1
 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.compliance=1.5
 org.eclipse.jdt.core.compiler.debug.lineNumber=generate
 org.eclipse.jdt.core.compiler.debug.localVariable=generate
 org.eclipse.jdt.core.compiler.debug.sourceFile=generate
 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.7
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.5

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6d0e3bd8/framework/jobs/src/org/apache/cloudstack/framework/job/Job.java
----------------------------------------------------------------------
diff --git a/framework/jobs/src/org/apache/cloudstack/framework/job/Job.java b/framework/jobs/src/org/apache/cloudstack/framework/job/Job.java
index 6d28445..62ed72f 100755
--- a/framework/jobs/src/org/apache/cloudstack/framework/job/Job.java
+++ b/framework/jobs/src/org/apache/cloudstack/framework/job/Job.java
@@ -18,7 +18,15 @@
  */
 package org.apache.cloudstack.framework.job;
 
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.METHOD)
 public @interface Job {
 
 
+
 }

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6d0e3bd8/framework/jobs/src/org/apache/cloudstack/framework/job/JobInterceptor.java
----------------------------------------------------------------------
diff --git a/framework/jobs/src/org/apache/cloudstack/framework/job/JobInterceptor.java b/framework/jobs/src/org/apache/cloudstack/framework/job/JobInterceptor.java
index 6265f8d..d81077d 100755
--- a/framework/jobs/src/org/apache/cloudstack/framework/job/JobInterceptor.java
+++ b/framework/jobs/src/org/apache/cloudstack/framework/job/JobInterceptor.java
@@ -18,10 +18,6 @@
  */
 package org.apache.cloudstack.framework.job;
 
-/**
- * @author ahuang
- *
- */
 public class JobInterceptor {
 
 }


Mime
View raw message