You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by br...@apache.org on 2011/12/22 06:54:53 UTC
svn commit: r1222072 [1/13] - in /incubator/npanday/trunk: ./
components/dotnet-executable/src/main/java/npanday/executable/
components/dotnet-executable/src/main/java/npanday/executable/compiler/
components/dotnet-executable/src/main/java/npanday/exec...
Author: brett
Date: Thu Dec 22 06:54:49 2011
New Revision: 1222072
URL: http://svn.apache.org/viewvc?rev=1222072&view=rev
Log:
fix up line endings and properties
Modified:
incubator/npanday/trunk/.gitignore (contents, props changed)
incubator/npanday/trunk/bootstrap.bat (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/MutableExecutableCapability.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/MutableCompilerCapability.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CapturingLogOutputStream.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CommandExecutorSkeleton.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CommonsExecCommandExecutor.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CommonsExecLogStreamHandler.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CustomCommandline.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/ErrorStreamConsumer.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/PlexusUtilsCommandExecutor.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/StandardStreamConsumer.java (props changed)
incubator/npanday/trunk/components/dotnet-executable/src/test/groovy/npanday/executable/execution/CommandExecutorTest.groovy (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/groovy/AssemblyPluginXpp3ReaderTest.groovy (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/resources/sample-assembly-plugins.xml (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/groovy/npanday/model/compiler/plugins/io/CompilerPluginXpp3ReaderTest.groovy (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/resources/sample-compiler-plugins.xml (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/groovy/npanday/model/compiler/plugins/io/ExecutablePluginXpp3ReaderTest.groovy (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/resources/sample-executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/groovy/npanday/model/settings/io/NetDependencyXpp3ReaderTest.groovy (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/resources/sample-netdependencies.xml (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/settings/src/test/groovy/npanday/model/settings/io/NPandaySettingsXpp3ReaderTest.groovy (contents, props changed)
incubator/npanday/trunk/components/dotnet-model/settings/src/test/resources/sample-settings.xml (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/main/java/npanday/registry/ModelInterpolator.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/main/java/npanday/registry/WindowsRegistryAccessException.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/main/java/npanday/registry/WindowsRegistryAccessProvider.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/main/java/npanday/registry/impl/AbstractMultisourceRepository.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/main/java/npanday/registry/impl/ContextAwareModelInterpolator.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/main/java/npanday/registry/impl/WinRegistry.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/main/java/npanday/registry/impl/WindowsRegistryValueSource.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-registry/src/test/groovy/WindowsRegistryValueSourceTest.groovy (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/main/java/npanday/vendor/SettingsRepository.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/main/java/npanday/vendor/VendorRequirement.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/main/java/npanday/vendor/VendorRequirementState.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/main/java/npanday/vendor/VendorUnknownException.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/main/java/npanday/vendor/impl/FileBasedSettingsRepository.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/main/java/npanday/vendor/impl/SettingsBasedVendorInfo.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/test/java/npanday/vendor/VendorRequirementStateTest.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/test/java/npanday/vendor/impl/MutableVendorInfo.java (contents, props changed)
incubator/npanday/trunk/components/dotnet-vendor/src/test/java/npanday/vendor/impl/VendorInfoRepositoryTest.java (contents, props changed)
incubator/npanday/trunk/dotnet/NPanday.sln (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/ExtensibilityAddin.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/ExtensibilityHostApplication.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/ExtensibilityToolsOptionsPageCategory.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/ExtensibilityToolsOptionsPageCategorySubCategory.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/ItemsChoiceType.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/ItemsChoiceType1.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/ItemsChoiceType2.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.AutomationExtensibility/src/main/csharp/NPanday.Model.AutomationExtensibility.csproj (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Plugin.Loader/src/main/csharp/NPanday.Plugin.Loader.csproj (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Plugin.Runner/src/main/csharp/NPanday.Plugin.Runner.csproj (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Console/src/main/csharp/NPanday.ProjectImporterConsole.csproj (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/ConstantNamespaceXmlTextReader.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/PathUtility.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/SettingsUtil.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/csharp/NPanday.Utils-Test.csproj (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/csharp/SettingsUtilTest.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/resource/m2/test-settings-with-namespace.xml (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/resource/m2/test-settings-with-profile-and-namespace.xml (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/resource/m2/test-settings-with-profile.xml (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/test/resource/m2/test-settings.xml (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/ArtifactUtils.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Commands/AddArtifactsCommand.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Commands/BuildCommandContext.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Commands/ButtonCommand.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Commands/ButtonCommandRegistry.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Commands/IButtonCommandContext.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Commands/ImportSelectedProjectCommand.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Commands/VSCommandCaptions.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Helper/VisualStudioControlsFinder.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/IReferenceInfo.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/IReferenceManager.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/IWebServiceRefInfo.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/IWebServicesRefUtils.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/LocalArtifactItem.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/MavenRunner.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/Messages.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/NPandayBuildSystemProperties.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/ReferenceErrorEventArgs.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/ReferenceInfo.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/RemoteArtifactNode.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferenceEventArgs.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferencesClasses.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServiceRefInfo.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServicesReferenceWatcher.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebsiteAssemblyReferenceWatcher.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddLocalMavenArtifactTest.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddWebReferenceTest.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/FileUtils.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenCompilePluginConfigurationTest.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenResxPluginConfigurationTest.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.VisualStudio.Addin-Test.csproj (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ProjectImporterValidationTest.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/RenameWebReferenceTest.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ResyncArtifactSnapshot.cs (contents, props changed)
incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/SuccessfulDisconnectTest.cs (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/pom.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT001_AssembleWithZeroConfig/goals.txt (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT001_AssembleWithZeroConfig/pom.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT001_AssembleWithZeroConfig/verify.groovy (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT002_UserDefinedAssemblyDescriptor/custom-assembly.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT002_UserDefinedAssemblyDescriptor/goals.txt (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT002_UserDefinedAssemblyDescriptor/pom.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT002_UserDefinedAssemblyDescriptor/verify.groovy (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT003_AdditionalComponents/copy-also.txt (props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT003_AdditionalComponents/custom-assembly-component.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT003_AdditionalComponents/goals.txt (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT003_AdditionalComponents/pom.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/it/IT003_AdditionalComponents/verify.groovy (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/main/java/npanday/plugin/aspnet/AssemblePackageFilesMojo.java (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/main/java/npanday/plugin/aspnet/MixinAsssemblyReader.java (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/main/java/npanday/plugin/aspnet/PackagePreparationConfigurationSource.java (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/main/resources/META-INF/plexus/components.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/main/resources/assemblies/aspnet-webapp-defaults.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/main/resources/assemblies/components/aspnet-webapp-binaries.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/main/resources/assemblies/components/aspnet-webapp-contents.xml (contents, props changed)
incubator/npanday/trunk/plugins/aspnet-maven-plugin/src/site/site.xml (contents, props changed)
incubator/npanday/trunk/plugins/azure-maven-plugin/pom.xml (props changed)
incubator/npanday/trunk/plugins/azure-maven-plugin/src/main/java/npanday.plugin.azure/AbstractCSPackDeployMojo.java (contents, props changed)
incubator/npanday/trunk/plugins/azure-maven-plugin/src/main/java/npanday.plugin.azure/PackageAzureCloudServiceMojo.java (props changed)
incubator/npanday/trunk/plugins/azure-maven-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/azure-maven-plugin/src/site/site.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-fxcop-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-ilmerge-plugin/pom.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-ilmerge-plugin/src/main/java/npanday/plugin/ilmerge/ArtifactId.java (contents, props changed)
incubator/npanday/trunk/plugins/maven-ilmerge-plugin/src/main/java/npanday/plugin/ilmerge/ArtifactSelector.java (contents, props changed)
incubator/npanday/trunk/plugins/maven-ilmerge-plugin/src/main/java/npanday/plugin/ilmerge/ArtifactSet.java (contents, props changed)
incubator/npanday/trunk/plugins/maven-ilmerge-plugin/src/main/java/npanday/plugin/ilmerge/AssemblyMerger.java (contents, props changed)
incubator/npanday/trunk/plugins/maven-ilmerge-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-ilmerge-plugin/src/site/site.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-link-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-resgen-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-test-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-vsinstaller-plugin/src/main/resources/template/NPanday.VisualStudio.AddIn (contents, props changed)
incubator/npanday/trunk/plugins/maven-wsdl-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-xsd-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/maven-xsp-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/pom.xml (props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/src/main/java/npanday.plugin.msdeploy/AbstractMsDeployMojo.java (contents, props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/src/main/java/npanday.plugin.msdeploy/CreatePackageIterationItem.java (props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/src/main/java/npanday.plugin.msdeploy/MsDeployCreatePackageMojo.java (props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/src/main/java/npanday.plugin.msdeploy/MsDeployUnpackDependenciesMojo.java (props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/src/main/java/npanday.plugin.msdeploy/UnpackDependencyIterationItem.java (props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/src/main/resources/META-INF/npanday/executable-plugins.xml (contents, props changed)
incubator/npanday/trunk/plugins/msdeploy-maven-plugin/src/site/site.xml (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Addin/src/main/csharp/NPanday.Plugin.Addin.csproj (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Devenv/src/main/csharp/NPanday.Plugin.Devenv.csproj (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Msbuild/src/main/csharp/NPanday.Plugin.Msbuild.csproj (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Resx/src/main/csharp/NPanday.Plugin.Resx.csproj (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Settings/src/main/csharp/NPanday.Plugin.Settings.csproj (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Settings/src/main/csharp/NewDataSet.cs (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Settings/src/main/csharp/npandaySettingsDefaultSetup.cs (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Settings/src/main/csharp/npandaySettingsVendorsVendor.cs (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.Settings/src/main/csharp/npandaySettingsVendorsVendorFrameworksFramework.cs (contents, props changed)
incubator/npanday/trunk/plugins/netplugins/NPanday.Plugin.SysRef/src/main/csharp/NPanday.Plugin.SysRef.csproj (contents, props changed)
incubator/npanday/trunk/plugins/wix-maven-plugin/src/it/IT007/LocalizationInstaller/Setup-en-us.wxl (contents, props changed)
Modified: incubator/npanday/trunk/.gitignore
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/.gitignore?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/.gitignore (original)
+++ incubator/npanday/trunk/.gitignore Thu Dec 22 06:54:49 2011
@@ -1,4 +1,4 @@
-target
-*.iml
-*.ipr
+target
+*.iml
+*.ipr
*.iws
\ No newline at end of file
Propchange: incubator/npanday/trunk/.gitignore
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/bootstrap.bat
------------------------------------------------------------------------------
svn:eol-style = CRLF
Modified: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/MutableExecutableCapability.java
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/MutableExecutableCapability.java?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/MutableExecutableCapability.java (original)
+++ incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/MutableExecutableCapability.java Thu Dec 22 06:54:49 2011
@@ -1,195 +1,195 @@
-package npanday.executable;
-
-import com.google.common.base.Function;
-import com.google.common.collect.Lists;
-import npanday.vendor.VendorInfo;
-
-import javax.annotation.Nullable;
-import java.io.File;
-import java.util.Collections;
-import java.util.List;
-
-import static com.google.common.base.Preconditions.checkNotNull;
-
-/**
- * Holds the configured executable capability.
- *
- * @author <a href="mailto:lcorneliussen@apache.org">Lars Corneliussen</a>
- */
-// TODO: Refactor to be based on the configured plugins
-public class MutableExecutableCapability
- implements ExecutableCapability
-{
- protected VendorInfo vendorInfo;
-
- protected String operatingSystem;
-
- private String architecture;
-
- protected String pluginClassName;
-
- private String executable;
-
- private String executableVersion;
-
- protected String identifier;
-
- private CommandCapability commandCapability;
-
- private List<String> frameworkVersions;
-
- private String profile;
-
- private String netDependencyId;
-
- private List<String> probingPaths;
-
- public String getProfile()
- {
- return profile;
- }
-
- public void setProfile( String profile )
- {
- this.profile = profile;
- }
-
- public List<String> getFrameworkVersions()
- {
- return frameworkVersions;
- }
-
- public void setFrameworkVersions( List<String> frameworkVersions )
- {
- this.frameworkVersions = frameworkVersions;
- }
-
- public String getIdentifier()
- {
- return identifier;
- }
-
- public void setIdentifier( String identifier )
- {
- this.identifier = identifier;
- }
-
- public String getExecutableName()
- {
- return executable;
- }
-
- public void setExecutableName( String executableName )
- {
- this.executable = executableName;
- }
-
- public String getExecutableVersion()
- {
- return executableVersion;
- }
-
- public void setExectuableVersion( String executableVersion )
- {
- this.executableVersion = executableVersion;
- }
-
- public VendorInfo getVendorInfo()
- {
- return vendorInfo;
- }
-
- public void setVendorInfo( VendorInfo vendorInfo )
- {
- this.vendorInfo = vendorInfo;
- }
-
- public String getOperatingSystem()
- {
- return operatingSystem;
- }
-
- public void setOperatingSystem( String operatingSystem )
- {
- this.operatingSystem = operatingSystem;
- }
-
- public String getArchitecture()
- {
- return architecture;
- }
-
- public void setArchitecture( String architecture )
- {
- this.architecture = architecture;
- }
-
- public String getPluginClassName()
- {
- return pluginClassName;
- }
-
- public void setPluginClassName( String pluginClassName )
- {
- this.pluginClassName = pluginClassName;
- }
-
- public CommandCapability getCommandCapability()
- {
- return commandCapability;
- }
-
- public void setCommandCapability( CommandCapability commandCapability )
- {
- this.commandCapability = commandCapability;
- }
-
- public String getNetDependencyId()
- {
- return netDependencyId;
- }
-
- public void setNetDependencyId( String executableLocation )
- {
- this.netDependencyId = executableLocation;
- }
-
- public List<String> getProbingPaths()
- {
- // if probing paths are defined fot the capability, these are to be
- // used when searching executables.
- if ( probingPaths != null && !probingPaths.isEmpty() )
- {
- return probingPaths;
- }
-
- // if not, we expect the executable is provided by the vendor
- final List<File> vendorPaths = checkNotNull(
- getVendorInfo(), "Vendor info is unavailable"
- ).getExecutablePaths();
-
- List<String> vendorPathsAsString = Lists.transform(
- vendorPaths, new Function<File, String>()
- {
- public String apply( @Nullable File file )
- {
- return checkNotNull( file, "file was null").toString();
- }
- }
- );
-
- return Collections.unmodifiableList( vendorPathsAsString );
- }
-
- public void setProbingPaths( List<String> probingPaths )
- {
- this.probingPaths = probingPaths;
- }
-
- @Override
- public String toString()
- {
- return "ExecutableCapability [" + "vendorInfo=" + vendorInfo + ", operatingSystem='" + operatingSystem
- + '\'' + ", profile='" + profile + '\'' + ']';
- }
-}
+package npanday.executable;
+
+import com.google.common.base.Function;
+import com.google.common.collect.Lists;
+import npanday.vendor.VendorInfo;
+
+import javax.annotation.Nullable;
+import java.io.File;
+import java.util.Collections;
+import java.util.List;
+
+import static com.google.common.base.Preconditions.checkNotNull;
+
+/**
+ * Holds the configured executable capability.
+ *
+ * @author <a href="mailto:lcorneliussen@apache.org">Lars Corneliussen</a>
+ */
+// TODO: Refactor to be based on the configured plugins
+public class MutableExecutableCapability
+ implements ExecutableCapability
+{
+ protected VendorInfo vendorInfo;
+
+ protected String operatingSystem;
+
+ private String architecture;
+
+ protected String pluginClassName;
+
+ private String executable;
+
+ private String executableVersion;
+
+ protected String identifier;
+
+ private CommandCapability commandCapability;
+
+ private List<String> frameworkVersions;
+
+ private String profile;
+
+ private String netDependencyId;
+
+ private List<String> probingPaths;
+
+ public String getProfile()
+ {
+ return profile;
+ }
+
+ public void setProfile( String profile )
+ {
+ this.profile = profile;
+ }
+
+ public List<String> getFrameworkVersions()
+ {
+ return frameworkVersions;
+ }
+
+ public void setFrameworkVersions( List<String> frameworkVersions )
+ {
+ this.frameworkVersions = frameworkVersions;
+ }
+
+ public String getIdentifier()
+ {
+ return identifier;
+ }
+
+ public void setIdentifier( String identifier )
+ {
+ this.identifier = identifier;
+ }
+
+ public String getExecutableName()
+ {
+ return executable;
+ }
+
+ public void setExecutableName( String executableName )
+ {
+ this.executable = executableName;
+ }
+
+ public String getExecutableVersion()
+ {
+ return executableVersion;
+ }
+
+ public void setExectuableVersion( String executableVersion )
+ {
+ this.executableVersion = executableVersion;
+ }
+
+ public VendorInfo getVendorInfo()
+ {
+ return vendorInfo;
+ }
+
+ public void setVendorInfo( VendorInfo vendorInfo )
+ {
+ this.vendorInfo = vendorInfo;
+ }
+
+ public String getOperatingSystem()
+ {
+ return operatingSystem;
+ }
+
+ public void setOperatingSystem( String operatingSystem )
+ {
+ this.operatingSystem = operatingSystem;
+ }
+
+ public String getArchitecture()
+ {
+ return architecture;
+ }
+
+ public void setArchitecture( String architecture )
+ {
+ this.architecture = architecture;
+ }
+
+ public String getPluginClassName()
+ {
+ return pluginClassName;
+ }
+
+ public void setPluginClassName( String pluginClassName )
+ {
+ this.pluginClassName = pluginClassName;
+ }
+
+ public CommandCapability getCommandCapability()
+ {
+ return commandCapability;
+ }
+
+ public void setCommandCapability( CommandCapability commandCapability )
+ {
+ this.commandCapability = commandCapability;
+ }
+
+ public String getNetDependencyId()
+ {
+ return netDependencyId;
+ }
+
+ public void setNetDependencyId( String executableLocation )
+ {
+ this.netDependencyId = executableLocation;
+ }
+
+ public List<String> getProbingPaths()
+ {
+ // if probing paths are defined fot the capability, these are to be
+ // used when searching executables.
+ if ( probingPaths != null && !probingPaths.isEmpty() )
+ {
+ return probingPaths;
+ }
+
+ // if not, we expect the executable is provided by the vendor
+ final List<File> vendorPaths = checkNotNull(
+ getVendorInfo(), "Vendor info is unavailable"
+ ).getExecutablePaths();
+
+ List<String> vendorPathsAsString = Lists.transform(
+ vendorPaths, new Function<File, String>()
+ {
+ public String apply( @Nullable File file )
+ {
+ return checkNotNull( file, "file was null").toString();
+ }
+ }
+ );
+
+ return Collections.unmodifiableList( vendorPathsAsString );
+ }
+
+ public void setProbingPaths( List<String> probingPaths )
+ {
+ this.probingPaths = probingPaths;
+ }
+
+ @Override
+ public String toString()
+ {
+ return "ExecutableCapability [" + "vendorInfo=" + vendorInfo + ", operatingSystem='" + operatingSystem
+ + '\'' + ", profile='" + profile + '\'' + ']';
+ }
+}
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/MutableExecutableCapability.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/MutableCompilerCapability.java
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/MutableCompilerCapability.java?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/MutableCompilerCapability.java (original)
+++ incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/MutableCompilerCapability.java Thu Dec 22 06:54:49 2011
@@ -1,84 +1,84 @@
-package npanday.executable.compiler;
-
-import npanday.executable.MutableExecutableCapability;
-
-import java.io.File;
-import java.util.List;
-
-/**
- * Holds the configured compiler capability.
- *
- * @author <a href="mailto:lcorneliussen@apache.org">Lars Corneliussen</a>
- */
-// TODO: Refactor to be based on the configured plugins
-public class MutableCompilerCapability
- extends MutableExecutableCapability
- implements CompilerCapability
-{
- private String language;
-
- private boolean hasJustInTime;
-
- private List<String> coreAssemblies;
-
- private File assemblyPath;
-
- private String targetFramework;
-
- public File getAssemblyPath()
- {
- return assemblyPath;
- }
-
- public void setAssemblyPath( File assemblyPath )
- {
- this.assemblyPath = assemblyPath;
- }
-
- public List<String> getCoreAssemblies()
- {
- return coreAssemblies;
- }
-
- public void setCoreAssemblies( List<String> coreAssemblies )
- {
- this.coreAssemblies = coreAssemblies;
- }
-
- public String getLanguage()
- {
- return language;
- }
-
- public void setLanguage( String language )
- {
- this.language = language;
- }
-
- public String getTargetFramework()
- {
- return targetFramework;
- }
-
- public void setTargetFramework( String targetFramework )
- {
- this.targetFramework = targetFramework;
- }
-
- public boolean isHasJustInTime()
- {
- return hasJustInTime;
- }
-
- public void setHasJustInTime( boolean hasJustInTime )
- {
- this.hasJustInTime = hasJustInTime;
- }
-
- @Override
- public String toString()
- {
- return "CompilerCapability [" + "vendorInfo=" + vendorInfo + ", operatingSystem='" + operatingSystem
- + '\'' + ", language='" + language + '\'' + ']';
- }
-}
+package npanday.executable.compiler;
+
+import npanday.executable.MutableExecutableCapability;
+
+import java.io.File;
+import java.util.List;
+
+/**
+ * Holds the configured compiler capability.
+ *
+ * @author <a href="mailto:lcorneliussen@apache.org">Lars Corneliussen</a>
+ */
+// TODO: Refactor to be based on the configured plugins
+public class MutableCompilerCapability
+ extends MutableExecutableCapability
+ implements CompilerCapability
+{
+ private String language;
+
+ private boolean hasJustInTime;
+
+ private List<String> coreAssemblies;
+
+ private File assemblyPath;
+
+ private String targetFramework;
+
+ public File getAssemblyPath()
+ {
+ return assemblyPath;
+ }
+
+ public void setAssemblyPath( File assemblyPath )
+ {
+ this.assemblyPath = assemblyPath;
+ }
+
+ public List<String> getCoreAssemblies()
+ {
+ return coreAssemblies;
+ }
+
+ public void setCoreAssemblies( List<String> coreAssemblies )
+ {
+ this.coreAssemblies = coreAssemblies;
+ }
+
+ public String getLanguage()
+ {
+ return language;
+ }
+
+ public void setLanguage( String language )
+ {
+ this.language = language;
+ }
+
+ public String getTargetFramework()
+ {
+ return targetFramework;
+ }
+
+ public void setTargetFramework( String targetFramework )
+ {
+ this.targetFramework = targetFramework;
+ }
+
+ public boolean isHasJustInTime()
+ {
+ return hasJustInTime;
+ }
+
+ public void setHasJustInTime( boolean hasJustInTime )
+ {
+ this.hasJustInTime = hasJustInTime;
+ }
+
+ @Override
+ public String toString()
+ {
+ return "CompilerCapability [" + "vendorInfo=" + vendorInfo + ", operatingSystem='" + operatingSystem
+ + '\'' + ", language='" + language + '\'' + ']';
+ }
+}
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/MutableCompilerCapability.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CapturingLogOutputStream.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CommandExecutorSkeleton.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CommonsExecCommandExecutor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CommonsExecLogStreamHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/CustomCommandline.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/ErrorStreamConsumer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/PlexusUtilsCommandExecutor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/StandardStreamConsumer.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-executable/src/test/groovy/npanday/executable/execution/CommandExecutorTest.groovy
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/test/groovy/npanday/executable/execution/CommandExecutorTest.groovy?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-executable/src/test/groovy/npanday/executable/execution/CommandExecutorTest.groovy (original)
+++ incubator/npanday/trunk/components/dotnet-executable/src/test/groovy/npanday/executable/execution/CommandExecutorTest.groovy Thu Dec 22 06:54:49 2011
@@ -1,209 +1,209 @@
-/*
- * 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 npanday.executable.execution;
-
-
-import npanday.executable.CommandExecutor
-import npanday.executable.ExecutionException
-import org.codehaus.plexus.logging.Logger
-import org.codehaus.plexus.logging.console.ConsoleLogger
-import org.codehaus.plexus.util.cli.Arg
-import org.codehaus.plexus.util.cli.Commandline
-import org.junit.Test
-import static org.junit.Assert.*
-
-public class CommandExecutorTest
-{
- private static final String MKDIR = "mkdir";
-
- private String parentPath;
-
- private List<String> params = new ArrayList<String>();
-
- private CommandExecutor cmdExecutor;
-
- public CommandExecutorTest()
- {
- File f = new File( "test" );
- parentPath = System.getProperty( "user.dir" ) + File.separator + "target" + File.separator + "test-resources";
-
- File parentPathFile = new File( parentPath );
- if ( !parentPathFile.exists() )
- {
- parentPathFile.mkdir();
- }
-
- cmdExecutor = CommandExecutor.Factory.createDefaultCommmandExecutor();
- cmdExecutor.setLogger( new ConsoleLogger( Logger.LEVEL_DEBUG, "Command Executor") );
- }
-
- @Test
- public void testArgsWithFile()
- throws ExecutionException
- {
- Commandline cli = new Commandline();
- cli.setExecutable( "echo" );
- final Arg arg = cli.createArg();
- arg.setValue( "-x:y=" );
- arg.setFile( new File("c:\te mp") );
- cli.addArg( arg );
-
- }
-
- @Test
- public void testParamWithNoSpaces()
- throws ExecutionException
- {
- String path = parentPath + File.separator + "sampledirectory";
-
- params.clear();
- params.add( path );
-
- cmdExecutor.executeCommand( MKDIR, params );
- File dir = new File( path );
-
- assertTrue( dir.exists() );
-
- if ( dir.exists() )
- {
- dir.delete();
- }
- }
-
- @Test
- public void testParamWithSpaces()
- throws ExecutionException
- {
- String path = parentPath + File.separator + "sample directory";
-
- params.clear();
- params.add( path );
-
- cmdExecutor.executeCommand( MKDIR, params );
- File dir = new File( path );
-
- assertTrue( dir.exists() );
-
- if ( dir.exists() )
- {
- dir.delete();
- }
- }
-
- @Test
- /**
- test is related to NPANDAY-366
- */
- public void testTooLongCommandName()
- throws ExecutionException
- {
- // we are only interested in exectuing this test
- // on Windows, to catch the "Command line to long" issue for cmd.exe.
- if (!isWindows())
- return;
-
- params.clear();
-
- cmdExecutor.setLogger( new ConsoleLogger( 0, null ) );
-
- try
- {
- cmdExecutor.executeCommand( repeat( 'x', 260 ), params, null, false );
- fail( "Expected the command to fail!" );
- }
- catch ( ExecutionException e )
- {
- System.out.println( cmdExecutor.toString() );
- // the message is language-specific, but better to ensure an error than
- // ignoring the test
- // assertEquals( "The input line is too long.", cmdExecutor.getStandardError() );
- assertEquals( 1, cmdExecutor.getResult() );
- }
- }
-
- @Test
- /**
- test is related to NPANDAY-366
- */
- public void testTooLongCommandName_withSpace()
- throws ExecutionException
- {
- // we are only interested in exectuing this test
- // on Windows, to catch the "Command line to long" issue for cmd.exe.
- if (!isWindows())
- return;
-
- params.clear();
-
- cmdExecutor.setLogger( new ConsoleLogger( 0, null ) );
-
- try
- {
- cmdExecutor.executeCommand( "echo " + repeat( 'x', 255 ), params, null, false );
- fail( "Expected the command to fail!" );
- }
- catch ( ExecutionException e )
- {
- System.out.println( cmdExecutor.toString() );
- // the message is language-specific, but better to ensure an error than
- // ignoring the test
- // assertEquals( "The input line is too long.", cmdExecutor.getStandardError() );
- assertEquals( 1, cmdExecutor.getResult() );
- }
- }
-
-
- @Test
- /**
- test is related to NPANDAY-366
- */
- public void testLongCommand()
- throws ExecutionException
- {
- params.clear();
-
- cmdExecutor.setLogger( new ConsoleLogger( 0, null ) );
- params.add( repeat( 'a', 260 ) );
-
- cmdExecutor.executeCommand( "echo", params, null, false );
- System.out.println( cmdExecutor.toString() );
-
- assertEquals( repeat( 'a', 260 ), cmdExecutor.getStandardOut() );
- }
-
- private static String repeat( String c, int i )
- {
- String tst = "";
- for ( int j = 0; j < i; j++ )
- {
- tst = tst + c;
- }
- return tst;
- }
-
- /**
- * Simple check if the test is executed on Windows...
- */
- private static boolean isWindows()
- {
- String osName = System.getProperty("os.name");
- boolean isWin = (osName.toLowerCase().indexOf("win")) >= 0;
- return isWin;
- }
+/*
+ * 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 npanday.executable.execution;
+
+
+import npanday.executable.CommandExecutor
+import npanday.executable.ExecutionException
+import org.codehaus.plexus.logging.Logger
+import org.codehaus.plexus.logging.console.ConsoleLogger
+import org.codehaus.plexus.util.cli.Arg
+import org.codehaus.plexus.util.cli.Commandline
+import org.junit.Test
+import static org.junit.Assert.*
+
+public class CommandExecutorTest
+{
+ private static final String MKDIR = "mkdir";
+
+ private String parentPath;
+
+ private List<String> params = new ArrayList<String>();
+
+ private CommandExecutor cmdExecutor;
+
+ public CommandExecutorTest()
+ {
+ File f = new File( "test" );
+ parentPath = System.getProperty( "user.dir" ) + File.separator + "target" + File.separator + "test-resources";
+
+ File parentPathFile = new File( parentPath );
+ if ( !parentPathFile.exists() )
+ {
+ parentPathFile.mkdir();
+ }
+
+ cmdExecutor = CommandExecutor.Factory.createDefaultCommmandExecutor();
+ cmdExecutor.setLogger( new ConsoleLogger( Logger.LEVEL_DEBUG, "Command Executor") );
+ }
+
+ @Test
+ public void testArgsWithFile()
+ throws ExecutionException
+ {
+ Commandline cli = new Commandline();
+ cli.setExecutable( "echo" );
+ final Arg arg = cli.createArg();
+ arg.setValue( "-x:y=" );
+ arg.setFile( new File("c:\te mp") );
+ cli.addArg( arg );
+
+ }
+
+ @Test
+ public void testParamWithNoSpaces()
+ throws ExecutionException
+ {
+ String path = parentPath + File.separator + "sampledirectory";
+
+ params.clear();
+ params.add( path );
+
+ cmdExecutor.executeCommand( MKDIR, params );
+ File dir = new File( path );
+
+ assertTrue( dir.exists() );
+
+ if ( dir.exists() )
+ {
+ dir.delete();
+ }
+ }
+
+ @Test
+ public void testParamWithSpaces()
+ throws ExecutionException
+ {
+ String path = parentPath + File.separator + "sample directory";
+
+ params.clear();
+ params.add( path );
+
+ cmdExecutor.executeCommand( MKDIR, params );
+ File dir = new File( path );
+
+ assertTrue( dir.exists() );
+
+ if ( dir.exists() )
+ {
+ dir.delete();
+ }
+ }
+
+ @Test
+ /**
+ test is related to NPANDAY-366
+ */
+ public void testTooLongCommandName()
+ throws ExecutionException
+ {
+ // we are only interested in exectuing this test
+ // on Windows, to catch the "Command line to long" issue for cmd.exe.
+ if (!isWindows())
+ return;
+
+ params.clear();
+
+ cmdExecutor.setLogger( new ConsoleLogger( 0, null ) );
+
+ try
+ {
+ cmdExecutor.executeCommand( repeat( 'x', 260 ), params, null, false );
+ fail( "Expected the command to fail!" );
+ }
+ catch ( ExecutionException e )
+ {
+ System.out.println( cmdExecutor.toString() );
+ // the message is language-specific, but better to ensure an error than
+ // ignoring the test
+ // assertEquals( "The input line is too long.", cmdExecutor.getStandardError() );
+ assertEquals( 1, cmdExecutor.getResult() );
+ }
+ }
+
+ @Test
+ /**
+ test is related to NPANDAY-366
+ */
+ public void testTooLongCommandName_withSpace()
+ throws ExecutionException
+ {
+ // we are only interested in exectuing this test
+ // on Windows, to catch the "Command line to long" issue for cmd.exe.
+ if (!isWindows())
+ return;
+
+ params.clear();
+
+ cmdExecutor.setLogger( new ConsoleLogger( 0, null ) );
+
+ try
+ {
+ cmdExecutor.executeCommand( "echo " + repeat( 'x', 255 ), params, null, false );
+ fail( "Expected the command to fail!" );
+ }
+ catch ( ExecutionException e )
+ {
+ System.out.println( cmdExecutor.toString() );
+ // the message is language-specific, but better to ensure an error than
+ // ignoring the test
+ // assertEquals( "The input line is too long.", cmdExecutor.getStandardError() );
+ assertEquals( 1, cmdExecutor.getResult() );
+ }
+ }
+
+
+ @Test
+ /**
+ test is related to NPANDAY-366
+ */
+ public void testLongCommand()
+ throws ExecutionException
+ {
+ params.clear();
+
+ cmdExecutor.setLogger( new ConsoleLogger( 0, null ) );
+ params.add( repeat( 'a', 260 ) );
+
+ cmdExecutor.executeCommand( "echo", params, null, false );
+ System.out.println( cmdExecutor.toString() );
+
+ assertEquals( repeat( 'a', 260 ), cmdExecutor.getStandardOut() );
+ }
+
+ private static String repeat( String c, int i )
+ {
+ String tst = "";
+ for ( int j = 0; j < i; j++ )
+ {
+ tst = tst + c;
+ }
+ return tst;
+ }
+
+ /**
+ * Simple check if the test is executed on Windows...
+ */
+ private static boolean isWindows()
+ {
+ String osName = System.getProperty("os.name");
+ boolean isWin = (osName.toLowerCase().indexOf("win")) >= 0;
+ return isWin;
+ }
}
\ No newline at end of file
Propchange: incubator/npanday/trunk/components/dotnet-executable/src/test/groovy/npanday/executable/execution/CommandExecutorTest.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/groovy/AssemblyPluginXpp3ReaderTest.groovy
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/groovy/AssemblyPluginXpp3ReaderTest.groovy?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/groovy/AssemblyPluginXpp3ReaderTest.groovy (original)
+++ incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/groovy/AssemblyPluginXpp3ReaderTest.groovy Thu Dec 22 06:54:49 2011
@@ -1,36 +1,36 @@
-/* Copyright 2010 NPanday
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * 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.
- */
-
-import npanday.model.assembly.plugins.io.xpp3.AssemblyPluginXpp3Reader
-
-class AssemblyPluginXpp3ReaderTest
-{
- @org.junit.Test
- void passes()
- {
- def xpp3Reader = new AssemblyPluginXpp3Reader();
- def stream = getClass().getResourceAsStream("/sample-assembly-plugins.xml")
- assert stream != null : "couldn't find sample xml"
- def xmlStream = new InputStreamReader(stream)
- def model = xpp3Reader.read(xmlStream)
-
- assert model != null
- assert model.assemblyPlugins != null
- assert model.assemblyPlugins.size() == 1
- }
-}
+/* Copyright 2010 NPanday
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * 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.
+ */
+
+import npanday.model.assembly.plugins.io.xpp3.AssemblyPluginXpp3Reader
+
+class AssemblyPluginXpp3ReaderTest
+{
+ @org.junit.Test
+ void passes()
+ {
+ def xpp3Reader = new AssemblyPluginXpp3Reader();
+ def stream = getClass().getResourceAsStream("/sample-assembly-plugins.xml")
+ assert stream != null : "couldn't find sample xml"
+ def xmlStream = new InputStreamReader(stream)
+ def model = xpp3Reader.read(xmlStream)
+
+ assert model != null
+ assert model.assemblyPlugins != null
+ assert model.assemblyPlugins.size() == 1
+ }
+}
Propchange: incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/groovy/AssemblyPluginXpp3ReaderTest.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/resources/sample-assembly-plugins.xml
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/resources/sample-assembly-plugins.xml?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/resources/sample-assembly-plugins.xml (original)
+++ incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/resources/sample-assembly-plugins.xml Thu Dec 22 06:54:49 2011
@@ -1,26 +1,26 @@
-<!--
-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.
--->
-<assemblyPlugins>
- <assemblyPlugin>
- <identifier>CS</identifier>
- <pluginClass>npanday.assembler.impl.DefaultAssemblyInfoMarshaller</pluginClass>
- <language>C_SHARP</language>
- <extension>cs</extension>
- </assemblyPlugin>
-</assemblyPlugins>
+<!--
+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.
+-->
+<assemblyPlugins>
+ <assemblyPlugin>
+ <identifier>CS</identifier>
+ <pluginClass>npanday.assembler.impl.DefaultAssemblyInfoMarshaller</pluginClass>
+ <language>C_SHARP</language>
+ <extension>cs</extension>
+ </assemblyPlugin>
+</assemblyPlugins>
Propchange: incubator/npanday/trunk/components/dotnet-model/assembly-plugins/src/test/resources/sample-assembly-plugins.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/groovy/npanday/model/compiler/plugins/io/CompilerPluginXpp3ReaderTest.groovy
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/groovy/npanday/model/compiler/plugins/io/CompilerPluginXpp3ReaderTest.groovy?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/groovy/npanday/model/compiler/plugins/io/CompilerPluginXpp3ReaderTest.groovy (original)
+++ incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/groovy/npanday/model/compiler/plugins/io/CompilerPluginXpp3ReaderTest.groovy Thu Dec 22 06:54:49 2011
@@ -1,38 +1,38 @@
-/* Copyright 2010 NPanday
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * 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 npanday.model.compiler.plugins.io;
-
-import npanday.model.compiler.plugins.io.xpp3.CompilerPluginXpp3Reader
-
-class CompilerPluginXpp3ReaderTest
-{
- @org.junit.Test
- void passes()
- {
- def xpp3Reader = new CompilerPluginXpp3Reader();
- def stream = getClass().getResourceAsStream("/sample-compiler-plugins.xml")
- assert stream != null : "couldn't find sample xml"
- def xmlStream = new InputStreamReader(stream)
- def model = xpp3Reader.read(xmlStream)
-
- assert model != null
- assert model.compilerPlugins != null
- assert model.compilerPlugins.size() == 1
- assert model.compilerPlugins[0].vendorVersion == "1"
- }
-}
+/* Copyright 2010 NPanday
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * 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 npanday.model.compiler.plugins.io;
+
+import npanday.model.compiler.plugins.io.xpp3.CompilerPluginXpp3Reader
+
+class CompilerPluginXpp3ReaderTest
+{
+ @org.junit.Test
+ void passes()
+ {
+ def xpp3Reader = new CompilerPluginXpp3Reader();
+ def stream = getClass().getResourceAsStream("/sample-compiler-plugins.xml")
+ assert stream != null : "couldn't find sample xml"
+ def xmlStream = new InputStreamReader(stream)
+ def model = xpp3Reader.read(xmlStream)
+
+ assert model != null
+ assert model.compilerPlugins != null
+ assert model.compilerPlugins.size() == 1
+ assert model.compilerPlugins[0].vendorVersion == "1"
+ }
+}
Propchange: incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/groovy/npanday/model/compiler/plugins/io/CompilerPluginXpp3ReaderTest.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/resources/sample-compiler-plugins.xml
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/resources/sample-compiler-plugins.xml?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/resources/sample-compiler-plugins.xml (original)
+++ incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/resources/sample-compiler-plugins.xml Thu Dec 22 06:54:49 2011
@@ -1,39 +1,39 @@
-<!--
-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.
--->
-<compilerPlugins>
- <compilerPlugin>
- <identifier>Ruby</identifier>
- <pluginClass>npanday.executable.compiler.impl.RubyCompiler</pluginClass>
- <vendor>MICROSOFT</vendor>
- <vendorVersion>1</vendorVersion>
- <executable>RubyCompiler.exe</executable>
- <netDependencyId>RubyCompiler</netDependencyId>
- <language>RUBY</language>
- <profile>FULL</profile>
- <frameworkVersions>
- <frameworkVersion>2.0.50727</frameworkVersion>
- </frameworkVersions>
- <platforms>
- <platform>
- <operatingSystem>Windows</operatingSystem>
- <architecture>x86</architecture>
- </platform>
- </platforms>
- </compilerPlugin>
-</compilerPlugins>
+<!--
+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.
+-->
+<compilerPlugins>
+ <compilerPlugin>
+ <identifier>Ruby</identifier>
+ <pluginClass>npanday.executable.compiler.impl.RubyCompiler</pluginClass>
+ <vendor>MICROSOFT</vendor>
+ <vendorVersion>1</vendorVersion>
+ <executable>RubyCompiler.exe</executable>
+ <netDependencyId>RubyCompiler</netDependencyId>
+ <language>RUBY</language>
+ <profile>FULL</profile>
+ <frameworkVersions>
+ <frameworkVersion>2.0.50727</frameworkVersion>
+ </frameworkVersions>
+ <platforms>
+ <platform>
+ <operatingSystem>Windows</operatingSystem>
+ <architecture>x86</architecture>
+ </platform>
+ </platforms>
+ </compilerPlugin>
+</compilerPlugins>
Propchange: incubator/npanday/trunk/components/dotnet-model/compiler-plugins/src/test/resources/sample-compiler-plugins.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/groovy/npanday/model/compiler/plugins/io/ExecutablePluginXpp3ReaderTest.groovy
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/groovy/npanday/model/compiler/plugins/io/ExecutablePluginXpp3ReaderTest.groovy?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/groovy/npanday/model/compiler/plugins/io/ExecutablePluginXpp3ReaderTest.groovy (original)
+++ incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/groovy/npanday/model/compiler/plugins/io/ExecutablePluginXpp3ReaderTest.groovy Thu Dec 22 06:54:49 2011
@@ -1,42 +1,42 @@
-package npanday.model.compiler.plugins.io
-/* Copyright 2010 NPanday
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * 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.
- */
-
-
-import npanday.model.executable.plugins.io.xpp3.ExecutablePluginXpp3Reader
-
-class ExecutablePluginXpp3ReaderTest
-{
- @org.junit.Test
- void passes()
- {
- def xpp3Reader = new ExecutablePluginXpp3Reader();
- def stream = getClass().getResourceAsStream("/sample-executable-plugins.xml")
- assert stream != null : "couldn't find sample xml"
- def xmlStream = new InputStreamReader(stream)
- def model = xpp3Reader.read(xmlStream)
-
- assert model != null
- assert model.executablePlugins != null
- assert model.executablePlugins.size() == 1
- assert model.executablePlugins[0].probingPaths != null
- assert model.executablePlugins[0].probingPaths.size() == 2
- assert model.executablePlugins[0].probingPaths[0] == "one"
- assert model.executablePlugins[0].executableVersion == "5.0"
- }
-}
+package npanday.model.compiler.plugins.io
+/* Copyright 2010 NPanday
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * 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.
+ */
+
+
+import npanday.model.executable.plugins.io.xpp3.ExecutablePluginXpp3Reader
+
+class ExecutablePluginXpp3ReaderTest
+{
+ @org.junit.Test
+ void passes()
+ {
+ def xpp3Reader = new ExecutablePluginXpp3Reader();
+ def stream = getClass().getResourceAsStream("/sample-executable-plugins.xml")
+ assert stream != null : "couldn't find sample xml"
+ def xmlStream = new InputStreamReader(stream)
+ def model = xpp3Reader.read(xmlStream)
+
+ assert model != null
+ assert model.executablePlugins != null
+ assert model.executablePlugins.size() == 1
+ assert model.executablePlugins[0].probingPaths != null
+ assert model.executablePlugins[0].probingPaths.size() == 2
+ assert model.executablePlugins[0].probingPaths[0] == "one"
+ assert model.executablePlugins[0].executableVersion == "5.0"
+ }
+}
Propchange: incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/groovy/npanday/model/compiler/plugins/io/ExecutablePluginXpp3ReaderTest.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/resources/sample-executable-plugins.xml
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/resources/sample-executable-plugins.xml?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/resources/sample-executable-plugins.xml (original)
+++ incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/resources/sample-executable-plugins.xml Thu Dec 22 06:54:49 2011
@@ -1,44 +1,44 @@
-<!--
-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.
--->
-<executablePlugins>
- <executablePlugin>
- <identifier>ncover</identifier>
- <pluginClass>npanday.executable.impl.DefaultNetExecutable</pluginClass>
- <vendor>MICROSOFT</vendor>
- <executable>NCover.Console</executable>
- <executableVersion>5.0</executableVersion>
- <profile>NCover:NCover.Console</profile>
- <frameworkVersions>
- <frameworkVersion>4.0</frameworkVersion>
- <frameworkVersion>3.5</frameworkVersion>
- <frameworkVersion>2.0.50727</frameworkVersion>
- </frameworkVersions>
-
- <probingPaths>
- <probingPath>one</probingPath>
- <probingPath>two</probingPath>
- </probingPaths>
-
- <platforms>
- <platform>
- <operatingSystem>Windows</operatingSystem>
- </platform>
- </platforms>
- </executablePlugin>
-</executablePlugins>
+<!--
+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.
+-->
+<executablePlugins>
+ <executablePlugin>
+ <identifier>ncover</identifier>
+ <pluginClass>npanday.executable.impl.DefaultNetExecutable</pluginClass>
+ <vendor>MICROSOFT</vendor>
+ <executable>NCover.Console</executable>
+ <executableVersion>5.0</executableVersion>
+ <profile>NCover:NCover.Console</profile>
+ <frameworkVersions>
+ <frameworkVersion>4.0</frameworkVersion>
+ <frameworkVersion>3.5</frameworkVersion>
+ <frameworkVersion>2.0.50727</frameworkVersion>
+ </frameworkVersions>
+
+ <probingPaths>
+ <probingPath>one</probingPath>
+ <probingPath>two</probingPath>
+ </probingPaths>
+
+ <platforms>
+ <platform>
+ <operatingSystem>Windows</operatingSystem>
+ </platform>
+ </platforms>
+ </executablePlugin>
+</executablePlugins>
Propchange: incubator/npanday/trunk/components/dotnet-model/executable-plugins/src/test/resources/sample-executable-plugins.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/groovy/npanday/model/settings/io/NetDependencyXpp3ReaderTest.groovy
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/groovy/npanday/model/settings/io/NetDependencyXpp3ReaderTest.groovy?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/groovy/npanday/model/settings/io/NetDependencyXpp3ReaderTest.groovy (original)
+++ incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/groovy/npanday/model/settings/io/NetDependencyXpp3ReaderTest.groovy Thu Dec 22 06:54:49 2011
@@ -1,40 +1,40 @@
-package npanday.model.settings.io
-/* Copyright 2010 NPanday
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * 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.
- */
-
-
-import npanday.model.netdependency.io.xpp3.NetDependencyXpp3Reader
-import org.junit.Test
-
-
-class NetDependencyXpp3ReaderTest
-{
- @Test
- void passes()
- {
- def xpp3Reader = new NetDependencyXpp3Reader();
- def stream = getClass().getResourceAsStream("/sample-netdependencies.xml")
- assert stream != null : "couldn't find sample xml"
- def xmlStream = new InputStreamReader(stream)
- def model = xpp3Reader.read(xmlStream)
-
- assert model != null
- assert model.netDependencies != null
- assert model.netDependencies.size() == 1
- }
-}
+package npanday.model.settings.io
+/* Copyright 2010 NPanday
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * 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.
+ */
+
+
+import npanday.model.netdependency.io.xpp3.NetDependencyXpp3Reader
+import org.junit.Test
+
+
+class NetDependencyXpp3ReaderTest
+{
+ @Test
+ void passes()
+ {
+ def xpp3Reader = new NetDependencyXpp3Reader();
+ def stream = getClass().getResourceAsStream("/sample-netdependencies.xml")
+ assert stream != null : "couldn't find sample xml"
+ def xmlStream = new InputStreamReader(stream)
+ def model = xpp3Reader.read(xmlStream)
+
+ assert model != null
+ assert model.netDependencies != null
+ assert model.netDependencies.size() == 1
+ }
+}
Propchange: incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/groovy/npanday/model/settings/io/NetDependencyXpp3ReaderTest.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/resources/sample-netdependencies.xml
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/resources/sample-netdependencies.xml?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/resources/sample-netdependencies.xml (original)
+++ incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/resources/sample-netdependencies.xml Thu Dec 22 06:54:49 2011
@@ -1,25 +1,25 @@
-<!--
-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.
--->
-<netDependencies>
- <netDependency>
- <groupId>org.apache.npanday.plugins</groupId>
- <artifactId>NPanday.Plugin.Resx</artifactId>
- <type>exe</type>
- </netDependency>
-</netDependencies>
+<!--
+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.
+-->
+<netDependencies>
+ <netDependency>
+ <groupId>org.apache.npanday.plugins</groupId>
+ <artifactId>NPanday.Plugin.Resx</artifactId>
+ <type>exe</type>
+ </netDependency>
+</netDependencies>
Propchange: incubator/npanday/trunk/components/dotnet-model/netdependency/src/test/resources/sample-netdependencies.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/npanday/trunk/components/dotnet-model/settings/src/test/groovy/npanday/model/settings/io/NPandaySettingsXpp3ReaderTest.groovy
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-model/settings/src/test/groovy/npanday/model/settings/io/NPandaySettingsXpp3ReaderTest.groovy?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-model/settings/src/test/groovy/npanday/model/settings/io/NPandaySettingsXpp3ReaderTest.groovy (original)
+++ incubator/npanday/trunk/components/dotnet-model/settings/src/test/groovy/npanday/model/settings/io/NPandaySettingsXpp3ReaderTest.groovy Thu Dec 22 06:54:49 2011
@@ -1,41 +1,41 @@
-package npanday.model.settings.io
-/* Copyright 2010 NPanday
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * 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.
- */
-
-
-import npanday.model.settings.io.xpp3.NPandaySettingsXpp3Reader
-import org.junit.Test
-
-
-class NPandaySettingsXpp3ReaderTest
-{
- @Test
- void passes()
- {
- def xpp3Reader = new NPandaySettingsXpp3Reader();
- def stream = getClass().getResourceAsStream("/sample-settings.xml")
- assert stream != null : "couldn't find sample xml"
- def xmlStream = new InputStreamReader(stream)
- def model = xpp3Reader.read(xmlStream)
-
- assert model != null
- assert model.operatingSystem != null
- assert model.defaultSetup != null
- assert model.vendors != 1
- }
-}
+package npanday.model.settings.io
+/* Copyright 2010 NPanday
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * 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.
+ */
+
+
+import npanday.model.settings.io.xpp3.NPandaySettingsXpp3Reader
+import org.junit.Test
+
+
+class NPandaySettingsXpp3ReaderTest
+{
+ @Test
+ void passes()
+ {
+ def xpp3Reader = new NPandaySettingsXpp3Reader();
+ def stream = getClass().getResourceAsStream("/sample-settings.xml")
+ assert stream != null : "couldn't find sample xml"
+ def xmlStream = new InputStreamReader(stream)
+ def model = xpp3Reader.read(xmlStream)
+
+ assert model != null
+ assert model.operatingSystem != null
+ assert model.defaultSetup != null
+ assert model.vendors != 1
+ }
+}
Propchange: incubator/npanday/trunk/components/dotnet-model/settings/src/test/groovy/npanday/model/settings/io/NPandaySettingsXpp3ReaderTest.groovy
------------------------------------------------------------------------------
svn:eol-style = native