diff --git a/com.kdmanalytics.toif.assimilator/target/com.kdmanalytics.toif.assimilator-1.8.8.jar b/com.kdmanalytics.toif.assimilator/target/com.kdmanalytics.toif.assimilator-1.8.8.jar new file mode 100644 index 00000000..afdb9300 Binary files /dev/null and b/com.kdmanalytics.toif.assimilator/target/com.kdmanalytics.toif.assimilator-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.ccr/target/com.kdmanalytics.toif.ccr-1.8.8.jar b/com.kdmanalytics.toif.ccr/target/com.kdmanalytics.toif.ccr-1.8.8.jar new file mode 100644 index 00000000..11b5a554 Binary files /dev/null and b/com.kdmanalytics.toif.ccr/target/com.kdmanalytics.toif.ccr-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.cppcheck/target/com.kdmanalytics.toif.cppcheck-1.8.8.jar b/com.kdmanalytics.toif.cppcheck/target/com.kdmanalytics.toif.cppcheck-1.8.8.jar new file mode 100644 index 00000000..c5978603 Binary files /dev/null and b/com.kdmanalytics.toif.cppcheck/target/com.kdmanalytics.toif.cppcheck-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.cweUtil/.classpath b/com.kdmanalytics.toif.cweUtil/.classpath new file mode 100644 index 00000000..18d70f02 --- /dev/null +++ b/com.kdmanalytics.toif.cweUtil/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/com.kdmanalytics.toif.cweUtil/.project b/com.kdmanalytics.toif.cweUtil/.project new file mode 100644 index 00000000..ecb8cd6f --- /dev/null +++ b/com.kdmanalytics.toif.cweUtil/.project @@ -0,0 +1,17 @@ + + + com.kdmanalytics.toif.cweUtil + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/com.kdmanalytics.toif.cweUtil/.settings/org.eclipse.jdt.core.prefs b/com.kdmanalytics.toif.cweUtil/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..8000cd6c --- /dev/null +++ b/com.kdmanalytics.toif.cweUtil/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +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.6 diff --git a/com.kdmanalytics.toif.facade/target/com.kdmanalytics.toif.facade-1.8.8.jar b/com.kdmanalytics.toif.facade/target/com.kdmanalytics.toif.facade-1.8.8.jar new file mode 100644 index 00000000..a95a32dc Binary files /dev/null and b/com.kdmanalytics.toif.facade/target/com.kdmanalytics.toif.facade-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.findbugs/target/com.kdmanalytics.toif.findbugs-1.8.8.jar b/com.kdmanalytics.toif.findbugs/target/com.kdmanalytics.toif.findbugs-1.8.8.jar new file mode 100644 index 00000000..e1565f8b Binary files /dev/null and b/com.kdmanalytics.toif.findbugs/target/com.kdmanalytics.toif.findbugs-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.framework/bin/resources/default b/com.kdmanalytics.toif.framework/bin/resources/default new file mode 100644 index 00000000..3d690a17 --- /dev/null +++ b/com.kdmanalytics.toif.framework/bin/resources/default @@ -0,0 +1,36 @@ +########################### +# Facts +########################### + +TOIFSegmentIsRelatedToProject=project1 +TOIFSegmentIsProducedByOrganization=org1 +TOIFSegmentIsOwnedByOrganization=org1 +TOIFSegmentIsGeneratedByPerson=person1 +TOIFSegmentIsSupervisedByPerson=person1 + +PersonIsInvolvedInProjectAsRole=person1;project1;role1 +OrganizationIsInvolvedInProjectAsRole=org1;project1;role2 +OrganizationIsPartOfOrganizationAsRole=org1;org2;role2 +PersonIsEmployedByOrganizationAsRole=person1;org1;role1 + +########################### +# Entities +########################### + +SegmentDescription=Segment relating to the findings. + +#projectId=name;description +project1=project;project description. + +#personId=name;email;phone +person1=NoName;noName@domain.com;555-1234 + +#organizationId=name;description;address;phone;email +org1=Org;Org Inc;Road;555-5555;noName@domain.com + +#organizationId=name;description;address;phone;email +org2=Acme Corporation;Acme Corporation;blah;555-5555;thingamy@thingamy.com + +#roleId=name;description +role1=Software Developer;Developer +role2=company;employer diff --git a/com.kdmanalytics.toif.framework/src/resources/default b/com.kdmanalytics.toif.framework/src/resources/default new file mode 100644 index 00000000..3d690a17 --- /dev/null +++ b/com.kdmanalytics.toif.framework/src/resources/default @@ -0,0 +1,36 @@ +########################### +# Facts +########################### + +TOIFSegmentIsRelatedToProject=project1 +TOIFSegmentIsProducedByOrganization=org1 +TOIFSegmentIsOwnedByOrganization=org1 +TOIFSegmentIsGeneratedByPerson=person1 +TOIFSegmentIsSupervisedByPerson=person1 + +PersonIsInvolvedInProjectAsRole=person1;project1;role1 +OrganizationIsInvolvedInProjectAsRole=org1;project1;role2 +OrganizationIsPartOfOrganizationAsRole=org1;org2;role2 +PersonIsEmployedByOrganizationAsRole=person1;org1;role1 + +########################### +# Entities +########################### + +SegmentDescription=Segment relating to the findings. + +#projectId=name;description +project1=project;project description. + +#personId=name;email;phone +person1=NoName;noName@domain.com;555-1234 + +#organizationId=name;description;address;phone;email +org1=Org;Org Inc;Road;555-5555;noName@domain.com + +#organizationId=name;description;address;phone;email +org2=Acme Corporation;Acme Corporation;blah;555-5555;thingamy@thingamy.com + +#roleId=name;description +role1=Software Developer;Developer +role2=company;employer diff --git a/com.kdmanalytics.toif.framework/target/classes/resources/default b/com.kdmanalytics.toif.framework/target/classes/resources/default new file mode 100644 index 00000000..3d690a17 --- /dev/null +++ b/com.kdmanalytics.toif.framework/target/classes/resources/default @@ -0,0 +1,36 @@ +########################### +# Facts +########################### + +TOIFSegmentIsRelatedToProject=project1 +TOIFSegmentIsProducedByOrganization=org1 +TOIFSegmentIsOwnedByOrganization=org1 +TOIFSegmentIsGeneratedByPerson=person1 +TOIFSegmentIsSupervisedByPerson=person1 + +PersonIsInvolvedInProjectAsRole=person1;project1;role1 +OrganizationIsInvolvedInProjectAsRole=org1;project1;role2 +OrganizationIsPartOfOrganizationAsRole=org1;org2;role2 +PersonIsEmployedByOrganizationAsRole=person1;org1;role1 + +########################### +# Entities +########################### + +SegmentDescription=Segment relating to the findings. + +#projectId=name;description +project1=project;project description. + +#personId=name;email;phone +person1=NoName;noName@domain.com;555-1234 + +#organizationId=name;description;address;phone;email +org1=Org;Org Inc;Road;555-5555;noName@domain.com + +#organizationId=name;description;address;phone;email +org2=Acme Corporation;Acme Corporation;blah;555-5555;thingamy@thingamy.com + +#roleId=name;description +role1=Software Developer;Developer +role2=company;employer diff --git a/com.kdmanalytics.toif.framework/target/com.kdmanalytics.toif.framework-1.8.8.jar b/com.kdmanalytics.toif.framework/target/com.kdmanalytics.toif.framework-1.8.8.jar new file mode 100644 index 00000000..b17c9db2 Binary files /dev/null and b/com.kdmanalytics.toif.framework/target/com.kdmanalytics.toif.framework-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.jlint/target/com.kdmanalytics.toif.jlint-1.8.8.jar b/com.kdmanalytics.toif.jlint/target/com.kdmanalytics.toif.jlint-1.8.8.jar new file mode 100644 index 00000000..d4cc9d7e Binary files /dev/null and b/com.kdmanalytics.toif.jlint/target/com.kdmanalytics.toif.jlint-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.rats/target/com.kdmanalytics.toif.rats-1.8.8.jar b/com.kdmanalytics.toif.rats/target/com.kdmanalytics.toif.rats-1.8.8.jar new file mode 100644 index 00000000..51bcbc19 Binary files /dev/null and b/com.kdmanalytics.toif.rats/target/com.kdmanalytics.toif.rats-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/ToifActivator.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/ToifActivator.class new file mode 100644 index 00000000..9c38da45 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/ToifActivator.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/ToifApplication.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/ToifApplication.class new file mode 100644 index 00000000..71e7b1c6 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/ToifApplication.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/IToifCmd.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/IToifCmd.class new file mode 100644 index 00000000..24b411f5 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/IToifCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/ToifCli.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/ToifCli.class new file mode 100644 index 00000000..fbb444e7 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/ToifCli.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/UserConsole.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/UserConsole.class new file mode 100644 index 00000000..95927ec6 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/UserConsole.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/AdaptorCmd.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/AdaptorCmd.class new file mode 100644 index 00000000..eefa60d3 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/AdaptorCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/MergeCmd.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/MergeCmd.class new file mode 100644 index 00000000..9cc87b61 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/MergeCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/VersionCmd.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/VersionCmd.class new file mode 100644 index 00000000..8817faaf Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/cmd/VersionCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/util/BuildInformation.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/util/BuildInformation.class new file mode 100644 index 00000000..d8523214 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/util/BuildInformation.class differ diff --git a/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/util/CommonUtil.class b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/util/CommonUtil.class new file mode 100644 index 00000000..3f382871 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/bin/com/kdmanalytics/toif/rcp/internal/util/CommonUtil.class differ diff --git a/com.kdmanalytics.toif.rcp/plugin.properties b/com.kdmanalytics.toif.rcp/plugin.properties new file mode 100644 index 00000000..e69de29b diff --git a/com.kdmanalytics.toif.rcp/pom.xml b/com.kdmanalytics.toif.rcp/pom.xml new file mode 100644 index 00000000..960f45d8 --- /dev/null +++ b/com.kdmanalytics.toif.rcp/pom.xml @@ -0,0 +1,71 @@ + + + + 4.0.0 + + + com.kdmanalytics.toif + plugins + 1.8.8 + + + com.kdmanalytics.toif.compile + com.kdmanalytics.toif.rcp + + + eclipse-plugin + + TOIF RCP + + + + jenkins + + + env.BUILD_NUMBER + + + + + + maven-antrun-plugin + + + prepare-package + process-resources + + + + + + + + run + + + + package + package + + + + + + + + run + + + + + + + + + diff --git a/com.kdmanalytics.toif.rcp/pom.xml~ b/com.kdmanalytics.toif.rcp/pom.xml~ new file mode 100644 index 00000000..c7262e12 --- /dev/null +++ b/com.kdmanalytics.toif.rcp/pom.xml~ @@ -0,0 +1,54 @@ + + + + 4.0.0 + + + com.kdmanalytics.toif + plugins + 1.8.7-SNAPSHOT + + + com.kdmanalytics.toif.compile + com.kdmanalytics.toif.rcp + + + eclipse-plugin + + TOIF RCP + + + + + org.eclipse.tycho + tycho-p2-repository-plugin + ${tycho.version} + + true + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho.version} + + + materialize-products + + materialize-products + + + + archive-products + + archive-products + + + + + + + + diff --git a/com.kdmanalytics.toif.rcp/target/MANIFEST.MF b/com.kdmanalytics.toif.rcp/target/MANIFEST.MF new file mode 100644 index 00000000..0432e1a0 --- /dev/null +++ b/com.kdmanalytics.toif.rcp/target/MANIFEST.MF @@ -0,0 +1,19 @@ +Manifest-Version: 1.0 +Require-Bundle: org.eclipse.core.runtime,com.lexicalscope.jewelcli,org + .eclipse.rcp;bundle-version="3.7.2",org.apache.xerces;bundle-version= + "2.11.0",com.kdmanalytics.toif.framework;bundle-version="1.8.6",com.g + oogle.guava;bundle-version="14.0.1",org.apache.commons.io;bundle-vers + ion="[2.4.0,2.5.0)",org.apache.log4j;bundle-version="1.2.15",com.kdma + nalytics.toif.facade;bundle-version="1.8.6",net.sf.trove4j;bundle-ver + sion="3.0.3" +Bundle-Vendor: KDM Analytics Inc. +Bundle-ActivationPolicy: lazy +Bundle-Version: 1.8.8 +Bundle-Localization: plugin +Bundle-Name: TOIF RCP Application +Bundle-Activator: com.kdmanalytics.toif.rcp.ToifActivator +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: com.kdmanalytics.toif.rcp; singleton:=true +Eclipse-RegisterBuddy: com.lexicalscope.jewelcli +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 + diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/ToifActivator.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/ToifActivator.class new file mode 100644 index 00000000..9c38da45 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/ToifActivator.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/ToifApplication.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/ToifApplication.class new file mode 100644 index 00000000..71e7b1c6 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/ToifApplication.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/IToifCmd.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/IToifCmd.class new file mode 100644 index 00000000..24b411f5 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/IToifCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/ToifCli.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/ToifCli.class new file mode 100644 index 00000000..fbb444e7 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/ToifCli.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/UserConsole.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/UserConsole.class new file mode 100644 index 00000000..95927ec6 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/UserConsole.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/AdaptorCmd.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/AdaptorCmd.class new file mode 100644 index 00000000..eefa60d3 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/AdaptorCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/MergeCmd.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/MergeCmd.class new file mode 100644 index 00000000..9cc87b61 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/MergeCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/VersionCmd.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/VersionCmd.class new file mode 100644 index 00000000..8817faaf Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/cmd/VersionCmd.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/util/BuildInformation.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/util/BuildInformation.class new file mode 100644 index 00000000..628a5576 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/util/BuildInformation.class differ diff --git a/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/util/CommonUtil.class b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/util/CommonUtil.class new file mode 100644 index 00000000..e305f9db Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/classes/com/kdmanalytics/toif/rcp/internal/util/CommonUtil.class differ diff --git a/com.kdmanalytics.toif.rcp/target/com.kdmanalytics.toif.rcp-1.8.8.jar b/com.kdmanalytics.toif.rcp/target/com.kdmanalytics.toif.rcp-1.8.8.jar new file mode 100644 index 00000000..da133358 Binary files /dev/null and b/com.kdmanalytics.toif.rcp/target/com.kdmanalytics.toif.rcp-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.rcp/target/local-artifacts.properties b/com.kdmanalytics.toif.rcp/target/local-artifacts.properties new file mode 100644 index 00000000..a6778c3f --- /dev/null +++ b/com.kdmanalytics.toif.rcp/target/local-artifacts.properties @@ -0,0 +1,4 @@ +#Tue Dec 17 09:41:49 EST 2013 +artifact.attached.p2metadata=/home/adam/git/toif/plugins/com.kdmanalytics.toif.rcp/target/p2content.xml +artifact.main=/home/adam/git/toif/plugins/com.kdmanalytics.toif.rcp/target/com.kdmanalytics.toif.rcp-1.8.8.jar +artifact.attached.p2artifacts=/home/adam/git/toif/plugins/com.kdmanalytics.toif.rcp/target/p2artifacts.xml diff --git a/com.kdmanalytics.toif.rcp/target/maven-archiver/pom.properties b/com.kdmanalytics.toif.rcp/target/maven-archiver/pom.properties new file mode 100644 index 00000000..b2d6898e --- /dev/null +++ b/com.kdmanalytics.toif.rcp/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Tue Dec 17 09:41:49 EST 2013 +version=1.8.8 +groupId=com.kdmanalytics.toif.compile +artifactId=com.kdmanalytics.toif.rcp diff --git a/com.kdmanalytics.toif.rcp/target/p2artifacts.xml b/com.kdmanalytics.toif.rcp/target/p2artifacts.xml new file mode 100644 index 00000000..6f5fb6eb --- /dev/null +++ b/com.kdmanalytics.toif.rcp/target/p2artifacts.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/com.kdmanalytics.toif.rcp/target/p2content.xml b/com.kdmanalytics.toif.rcp/target/p2content.xml new file mode 100644 index 00000000..08c65d40 --- /dev/null +++ b/com.kdmanalytics.toif.rcp/target/p2content.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Bundle-SymbolicName: com.kdmanalytics.toif.rcp; singleton:=true Bundle-Version: 1.8.8 + + + + + diff --git a/com.kdmanalytics.toif.rcp/toif.product~ b/com.kdmanalytics.toif.rcp/toif.product~ new file mode 100644 index 00000000..e045b273 --- /dev/null +++ b/com.kdmanalytics.toif.rcp/toif.product~ @@ -0,0 +1,21 @@ + + + + + + + + + + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + + + + + + + + + + + diff --git a/com.kdmanalytics.toif.report/target/com.kdmanalytics.toif.report-1.8.8.jar b/com.kdmanalytics.toif.report/target/com.kdmanalytics.toif.report-1.8.8.jar new file mode 100644 index 00000000..03d5bd2c Binary files /dev/null and b/com.kdmanalytics.toif.report/target/com.kdmanalytics.toif.report-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.splint/target/com.kdmanalytics.toif.splint-1.8.8.jar b/com.kdmanalytics.toif.splint/target/com.kdmanalytics.toif.splint-1.8.8.jar new file mode 100644 index 00000000..8d36e656 Binary files /dev/null and b/com.kdmanalytics.toif.splint/target/com.kdmanalytics.toif.splint-1.8.8.jar differ diff --git a/com.kdmanalytics.toif.updatesite/TOIF_View_Updatesite_1.8.8.zip b/com.kdmanalytics.toif.updatesite/TOIF_View_Updatesite_1.8.8.zip new file mode 100644 index 00000000..727fbe10 Binary files /dev/null and b/com.kdmanalytics.toif.updatesite/TOIF_View_Updatesite_1.8.8.zip differ diff --git a/doc/KDM_TOIF_1_8_8_UG_1.0.12.pdf b/doc/KDM_TOIF_1_8_8_UG_1.0.12.pdf new file mode 100644 index 00000000..5ffd6b9c Binary files /dev/null and b/doc/KDM_TOIF_1_8_8_UG_1.0.12.pdf differ diff --git a/doc/examples/linux scripts/gcc-python-wrapper.py b/doc/examples/linux scripts/gcc-python-wrapper.py new file mode 100644 index 00000000..837dade2 --- /dev/null +++ b/doc/examples/linux scripts/gcc-python-wrapper.py @@ -0,0 +1,160 @@ +#!/usr/bin/env python + +################################################### +#An example of wrapping the gcc compiler to execute +# the adaptors. +#################################################### + +import subprocess +import os +import shlex +import sys + +################################################# +# User defined options +# +# HOUSE_KEEPING = TOIF HOUSE_KEEPING File +# OUTPUT_DIR = Location where TOIF result files +# will be created. Directory will be +# created if it does not exist +# COMPILER = process name of original compiler which +# will called after TOIF is done. +# if set to none compile step will be skipped +# +# DEBUG = simple flag for debugging +################################################# +HOUSE_KEEPING = "c:/kdm/lm/housekeeping.txt" +OUTPUT_DIR = "c:/kdm/lm/tmp" +COMPILER = "gcc" +DEBUG = True + +################################################# +# Define which tools we wish to run and any options that +# we wish to pass +# +# To disable a tool set name to None. For example: +# CPP_CHECK=None +################################################# +CPP_CHECK="cppcheck" # run cppcheck +CPP_CHECK_ARGS = ["--enable=all"] # cppcheck options +RATS="rats" # run rats +RATS_ARGS=[] # rats options +SPLINT="splint" # run splint +SPLINT_ARGS=["+posixlib", "-weak"] # splint options + +########################################### +# String arrays to track options to the +# compiler +########################################### +include = "" # -I options +options = "" # -D options + +# This is a list of files that we will assume are source +CList = [".c",".cpp",".C",".CPP"] +TOIF_INCLUDES = [] # Array of -I options +TOIF_DEFINES = [] # Array of -D options +TOIF_SOURCE = None # Do we have source file + +SUB_PROCESS = [] # Array of TOIF took jobs + +########################################################## +# Create output directory of it does not exist +########################################################## +if not os.path.exists( OUTPUT_DIR): + os.makedirs(OUTPUT_DIR) + +########################################################## +#for all the arguments passed to compiler, get the ones we need. +########################################################## +for arg in sys.argv: + # Handle -I options + if arg.startswith( "-I" ): + TOIF_INCLUDES.append( arg ) + continue + + # handle -D options + if arg.startswith( "-D" ): + TOIF_DEFINES.append( arg) + continue + + # handle source file (assume 1 source per compile) + for cType in CList: + if arg.endswith( cType ): + TOIF_SOURCE = arg + break + + +if DEBUG == True: + print "TOIF includes=", TOIF_INCLUDES + print "TOIF DEFINES", TOIF_DEFINES + print "TOIF_SOURCE", TOIF_SOURCE + +######################################################### +# Perform TOIF processing if we have detected source +######################################################### +if TOIF_SOURCE != None: + # Build common TOIF parameter block + commonArgs = [] + commonArgs.append( "--housekeeping="+HOUSE_KEEPING ) + commonArgs.append( "--outputdirectory="+OUTPUT_DIR ) + commonArgs.append( "--inputfile=" + TOIF_SOURCE ) + + commonArgs.append( "--" ) + #commonArgs.extend( TOIF_INCLUDES ) + #commonArgs.extend( TOIF_DEFINES ) + + if DEBUG == True: + print "common TOIF args=", commonArgs + + # Do cppcheck if enabled + if CPP_CHECK != None: + cppcheck_cmd = ["toif", "--adaptor=cppcheck"] + cppcheck_cmd.extend( commonArgs ) + cppcheck_cmd.extend( CPP_CHECK_ARGS ) + print cppcheck_cmd + + # Start cppcheck subprocess + p = subprocess.Popen( cppcheck_cmd, shell=False) + SUB_PROCESS.append( p ) + + # Do Rats if enabled + if RATS != None: + rats_cmd = ["toif", "--adaptor=rats"] + rats_cmd.extend( commonArgs ) + rats_cmd.extend( RATS_ARGS ) + print rats_cmd + + # start RATS subprocess + p = subprocess.Popen( rats_cmd, shell=False ) + SUB_PROCESS.append( p ) + + # Do splint if enabled + if SPLINT != None: + splint_cmd = ["toif", "--adaptor=splint"] + splint_cmd.extend( commonArgs ) + splint_cmd.extend( SPLINT_ARGS ) + splint_cmd.extend( TOIF_INCLUDES ) + print splint_cmd + + # Start splint subprocess + p = subprocess.Popen( splint_cmd, shell=False ) + SUB_PROCESS.append( p ) + + ###################################### + # Wait for each subprocess to complete + ###################################### + for p in SUB_PROCESS: + p.wait() + +#run the compiler with all the original arguments +# if None skip compiler step +if COMPILER != None: + subprocess.call([COMPILER]+sys.argv[1:]) + + + + + + + + diff --git a/doc/examples/linux scripts/merge-wrapper.py b/doc/examples/linux scripts/merge-wrapper.py new file mode 100644 index 00000000..74ab6a10 --- /dev/null +++ b/doc/examples/linux scripts/merge-wrapper.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python + +################################################### +#An example of wrapping the gcc compiler to execute +# the adaptors. +#################################################### + +import subprocess +import os +import shlex +import sys + +########################################################## +#for all the arguments passed to compiler, get the ones we need. +########################################################## +for arg in sys.argv: + print arg \ No newline at end of file