From npanday-users-return-189-apmail-incubator-npanday-users-archive=incubator.apache.org@incubator.apache.org Sun Sep 18 20:35:09 2011 Return-Path: X-Original-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B7F973E9 for ; Sun, 18 Sep 2011 20:35:09 +0000 (UTC) Received: (qmail 43443 invoked by uid 500); 18 Sep 2011 20:35:09 -0000 Delivered-To: apmail-incubator-npanday-users-archive@incubator.apache.org Received: (qmail 43417 invoked by uid 500); 18 Sep 2011 20:35:08 -0000 Mailing-List: contact npanday-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: npanday-users@incubator.apache.org Delivered-To: mailing list npanday-users@incubator.apache.org Received: (qmail 43408 invoked by uid 99); 18 Sep 2011 20:35:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Sep 2011 20:35:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eric.kolotyluk@gmail.com designates 74.125.83.41 as permitted sender) Received: from [74.125.83.41] (HELO mail-gw0-f41.google.com) (74.125.83.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Sep 2011 20:34:59 +0000 Received: by gwaa12 with SMTP id a12so6449842gwa.0 for ; Sun, 18 Sep 2011 13:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=nxYXnbbvz9wsErY38a+saYRmhIPRmCrQiPtpv7z+1W0=; b=jzGYPLx1J+/NBDawgL14gwiGJdB9vrzgEuQsZuxePfc+C/0nhYHLk+wZ68m+vCw+VE JWnyBiX3RJ9C/UnyaRgLpWc6rYf3bXltt3gKugRNMnX5ytlsg0QP0PpUg8GeT+EUPnNs y1PJQ3QqbsN7V9rq/r/3NCQ8bnnbiRp1bso/s= Received: by 10.68.14.7 with SMTP id l7mr2950164pbc.426.1316378078328; Sun, 18 Sep 2011 13:34:38 -0700 (PDT) Received: from [192.168.0.110] (S0106001517afb060.vc.shawcable.net. [24.83.20.81]) by mx.google.com with ESMTPS id e8sm59479468pbc.8.2011.09.18.13.34.37 (version=SSLv3 cipher=OTHER); Sun, 18 Sep 2011 13:34:37 -0700 (PDT) Message-ID: <4E7655E1.6030509@gmail.com> Date: Sun, 18 Sep 2011 13:34:41 -0700 From: Eric Kolotyluk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: npanday-users@incubator.apache.org Subject: Re: Building a Windows Service References: <4E73DA0B.1070006@gmail.com> In-Reply-To: <4E73DA0B.1070006@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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? Cheers, Eric On 2011-09-16 4:21 PM, Eric Kolotyluk wrote: > Has anyone ever built a Windows Service with NPanday? > > I am having trouble: I get > > error CS5001: Program > 'p:\Intersystem\main\platform.NET\intersystem-service\target\intersystem-service.exe' > does not contain a static 'Main' method suitable for an entry point > > but I cannot understand why as the there is clearly a static Main in > my Program.cs file. > > Cheers, Eric > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns="http://maven.apache.org/POM/4.0.0"> > > dotnet > com.kodak.intersystem > 0.0.2-SNAPSHOT > > 4.0.0 > com.kodak.intersystem.dotnet > intersystem-service > dotnet-executable > com.kodak.intersystem : intersystem-service > > ./ > > > org.apache.npanday.plugins > maven-compile-plugin > 1.4.0-incubating > true > > 4.0 > > Properties\AssemblyInfo.cs > src\main\csharp\com\kodak\intersystem\setup\IntersystemService.cs > > src\main\csharp\com\kodak\intersystem\setup\IntersystemServiceInstaller.cs > > src\main\csharp\com\kodak\intersystem\setup\IntersystemService.designer.cs > > src\main\csharp\com\kodak\intersystem\setup\IntersystemServiceInstaller.designer.cs > > src\main\csharp\com\kodak\intersystem\setup\Program.cs > > > > > > > > > com.kodak.intersystem.dotnet > intersystem-jni4net > 0.0.2-SNAPSHOT > dotnet-library > > > net.sf.jni4net > jni4net.n > 0.8.5.1 > dotnet-library > > >