Here is my POM.
<?xml version="1.0" encoding="utf-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>platform.NET</artifactId>
<groupId>com.kodak.intersystem</groupId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>..\pom.xml</relativePath>
</parent>
<artifactId>intersystem-service</artifactId>
<packaging>dotnet-executable</packaging>
<name>Intersystem Service for Windows</name>
<build>
<sourceDirectory>./</sourceDirectory>
<resources>
<resource>
<directory>./</directory>
<includes>
<include>installers\Bonjour.msi</include>
<include>installers\Bonjour64.msi</include>
<include>installers\Safari.msi</include>
<include>installers\bonjoursdksetup.exe</include>
<include>installers\jdk-6u20-windows-i586.exe</include>
<include>installers\jdk-6u20-windows-x64.exe</include>
<include>installers\BonjourPSSetup.exe</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.npanday.plugins</groupId>
<artifactId>maven-compile-plugin</artifactId>
<version>1.4.0-incubating</version>
<extensions>true</extensions>
<configuration>
<frameworkVersion>4.0</frameworkVersion>
<main>com.kodak.intersystem.service.Program</main>
<includeSources>
<includeSource>Properties\AssemblyInfo.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\service\IntersystemService.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\service\IntersystemService.designer.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\service\IntersystemServiceInstaller.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\service\IntersystemServiceInstaller.designer.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\service\Program.cs</includeSource>
<includeSource>obj\x64\Debug\intersystem-service_Content.g.cs</includeSource>
<includeSource>obj\x64\Debug\intersystem-service_Content.g.i.cs</includeSource>
</includeSources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.npanday.plugins</groupId>
<artifactId>maven-resgen-plugin</artifactId>
<version>1.4.0-incubating</version>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>AccessibilityCplAdminLib</groupId>
<artifactId>AccessibilityCplAdminLib</artifactId>
<version>1.0.0.0</version>
<type>com_reference</type>
<classifier>x64</classifier>
</dependency>
<dependency>
<groupId>com.kodak.intersystem.dotnet</groupId>
<artifactId>intersystem-jni4net</artifactId>
<version>0.0.2-SNAPSHOT</version>
<type>dotnet-library</type>
</dependency>
<dependency>
<groupId>net.sf.jni4net</groupId>
<artifactId>jni4net.n</artifactId>
<version>0.8.5.1</version>
<type>dotnet-library</type>
</dependency>
<dependency>
<groupId>net.sf.jni4net</groupId>
<artifactId>jni4net.n.w32.v40</artifactId>
<version>0.8.5.1</version>
<type>dotnet-library</type>
</dependency>
<dependency>
<groupId>log4net</groupId>
<artifactId>apache-log4net</artifactId>
<version>1.2.10</version>
<type>dotnet-library</type>
</dependency>
</dependencies>
</project>
On 2011-09-19 7:50 PM, Brett Porter wrote:
On 19/09/2011, at 6:34 AM, Eric Kolotyluk wrote:
OK, a little more progress. Now I am getting
[INFO] --- NPanday.Plugin.Msbuild.JavaBinding:1.4.0-incubating:compile
(default) @ Intersystem-Setup ---
[INFO] NPANDAY-068-005: Choose executable path's parent as execution path:
P:\Intersystem\main\platform.NET\intersystem-setup\target
NPanday: Start Process = 2011-09-18 12:59:15 PM
"parameterFile=C:\Users\10069959\AppData\Local\Temp\Plugin3947637033073244373.xml"
"assemblyFile=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Msbuild.dll"
"mojoName=NPanday.Plugin.Msbuild.MsbuildMojo"
"startProcessAssembly=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Loader.exe"
[INFO]
[INFO] Unhandled Exception: System.TypeLoadException: The domain manager
specified by the host could not be instantiated.
[INFO] at System.AppDomain.CreateDomainManager(String
domainManagerAssemblyName, String domainManagerTypeName)
[INFO] at System.AppDomain.SetDomainManager(Evidence providedSecurityInfo,
Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, Boolean
publishAppDomain)
[INFO] at System.AppDomain.SetDefaultDomainManager(String fullName, String[]
manifestPaths, String[] activationData)
NPanday: End Process = 2011-09-18 12:59:20 PM; exit code = -532459699
Does this indicate a bug in the mojo, or some other problem like configuration?
It seems to be looking in the wrong location for the .NET plugin loader
executable. I'm not sure why from the log.
Are you able to paste the POM for this particular module?
- Brett
--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter