From npanday-users-return-230-apmail-incubator-npanday-users-archive=incubator.apache.org@incubator.apache.org Fri Nov 18 13:41:22 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 7800499E3 for ; Fri, 18 Nov 2011 13:41:22 +0000 (UTC) Received: (qmail 65388 invoked by uid 500); 18 Nov 2011 13:41:22 -0000 Delivered-To: apmail-incubator-npanday-users-archive@incubator.apache.org Received: (qmail 65367 invoked by uid 500); 18 Nov 2011 13:41:22 -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 65359 invoked by uid 99); 18 Nov 2011 13:41:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 13:41:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simone.tripodi@gmail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yw0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 13:41:16 +0000 Received: by ywt2 with SMTP id 2so2482614ywt.6 for ; Fri, 18 Nov 2011 05:40:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=z6m94VnwZZGv2ihrPcKNxMyD3FrHKWxvWSMKELQ1C+o=; b=ZsV9kDa96vxydJLsuwVgYXc9F/CtXSQyRz4jZztMqHEABB9RGMlORck+aZQ2kMjHoM QnG1Rkf5SeP7S8MUyeyHxnNXqeFuO7841wHJxBv0qXQKhqh8U7gJU6pjM/9abXTi5kPc 8JLtGlszGrYeZYosmtWlESrVdAbFFwa3Wp+dY= MIME-Version: 1.0 Received: by 10.236.85.174 with SMTP id u34mr4844372yhe.28.1321623655158; Fri, 18 Nov 2011 05:40:55 -0800 (PST) Sender: simone.tripodi@gmail.com Received: by 10.151.15.14 with HTTP; Fri, 18 Nov 2011 05:40:55 -0800 (PST) In-Reply-To: <952B9D97-5E91-4A57-9912-79BA82D56D62@lcorneliussen.de> References: <952B9D97-5E91-4A57-9912-79BA82D56D62@lcorneliussen.de> Date: Fri, 18 Nov 2011 14:40:55 +0100 X-Google-Sender-Auth: 1ZUO-I8_ZIkCjMRby7xHJqr6R8s Message-ID: Subject: Re: Class containing Main method not found From: Simone Tripodi To: npanday-users@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Lars! nope, unfortunately, it is a project we have to deploy for the European Space Agency :( I'm using a mix of maven+npanday+assembly plugin to compile and package C# code and web applications have to be deployed under Mono. I would have be happy to share our current structure :( All the best, Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Wed, Nov 16, 2011 at 10:12 AM, Lars Corneliussen w= rote: > Hi Simone, > > good to hear!! > Do you use it in an open source project? > _ > Lars > > > Am 15.11.2011 um 10:20 schrieb Simone Tripodi: > >> Hi all again guys, >> just to let you know that it was totally my fault :) >> NPanday works like a charm for what I need! >> Have a nice day, all the best, >> Simo >> >> http://people.apache.org/~simonetripodi/ >> http://simonetripodi.livejournal.com/ >> http://twitter.com/simonetripodi >> http://www.99soft.org/ >> >> >> >> On Mon, Nov 14, 2011 at 4:20 PM, Simone Tripodi >> wrote: >>> I just found that sources dir has to be explicitly set to >>> >>> ${basedir}/src/main/csharp >>> >>> otherwise it still uses the java one. >>> Going to fix the projects, I'll let you know soon :) >>> Simo >>> >>> http://people.apache.org/~simonetripodi/ >>> http://simonetripodi.livejournal.com/ >>> http://twitter.com/simonetripodi >>> http://www.99soft.org/ >>> >>> >>> >>> On Mon, Nov 14, 2011 at 4:02 PM, Simone Tripodi >>> wrote: >>>> The MSDN page[1] doesn't help :( >>>> TIA, >>>> Simo >>>> >>>> [1] http://msdn.microsoft.com/en-us/library/x3eht538.aspx >>>> >>>> >>>> http://people.apache.org/~simonetripodi/ >>>> http://simonetripodi.livejournal.com/ >>>> http://twitter.com/simonetripodi >>>> http://www.99soft.org/ >>>> >>>> >>>> >>>> On Mon, Nov 14, 2011 at 3:59 PM, Simone Tripodi >>>> wrote: >>>>> Hi all guys, >>>>> I have a little issue with the compiler plugin, looks like is not abl= e >>>>> to find the class which contains the Main method. >>>>> >>>>> This is my module dir tree: >>>>> >>>>> $ tree . >>>>> . >>>>> =E2=94=9C=E2=94=80=E2=94=80 pom.xml >>>>> =E2=94=94=E2=94=80=E2=94=80 src >>>>> =C2=A0 =C2=A0=E2=94=94=E2=94=80=E2=94=80 main >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=94=E2=94=80=E2=94=80 csharp >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=94=E2=94=80=E2=94=80 = Terradue >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=9C=E2= =94=80=E2=94=80 Ify >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82 =C2= =A0 =E2=94=94=E2=94=80=E2=94=80 IfyAgent.cs >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=94=E2= =94=80=E2=94=80 Portal >>>>> >>>>> And this is my pom: >>>>> >>>>> >>>> xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" >>>>> xsi:schemaLocation=3D"http://maven.apache.org/POM/4.0.0 >>>>> http://maven.apache.org/maven-v4_0_0.xsd"> >>>>> =C2=A04.0.0 >>>>> >>>>> =C2=A0 >>>>> =C2=A0 =C2=A0com.terradue.cloudio >>>>> =C2=A0 =C2=A0CloudIO.Parent >>>>> =C2=A0 =C2=A01.0-SNAPSHOT >>>>> =C2=A0 =C2=A0../ >>>>> =C2=A0 >>>>> >>>>> =C2=A0IfyAgent >>>>> =C2=A0exe >>>>> >>>>> =C2=A0 >>>>> =C2=A0 =C2=A0 >>>>> =C2=A0 =C2=A0 =C2=A0com.terradue.cloudio >>>>> =C2=A0 =C2=A0 =C2=A0Terradue.Portal >>>>> =C2=A0 =C2=A0 =C2=A01.0-SNAPSHOT >>>>> =C2=A0 =C2=A0 =C2=A0library >>>>> =C2=A0 =C2=A0 >>>>> =C2=A0 >>>>> >>>>> =C2=A0 >>>>> =C2=A0 =C2=A0 >>>>> =C2=A0 =C2=A0 =C2=A0 >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0org.apache.npanday.plugins >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0maven-compile-plugin >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A01.4.0-incubating >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0true >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Terradue.Ify.IfyAgent
>>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0
>>>>> =C2=A0 =C2=A0 =C2=A0
>>>>> =C2=A0 =C2=A0
>>>>> =C2=A0
>>>>> >>>>>
>>>>> >>>>> when compiling, I get the following error: >>>>> >>>>> [INFO] error CS1555: Could not find `Terradue.Ify.IfyAgent' specified >>>>> for Main method >>>>> >>>>> and when maven terminates its execution: >>>>> >>>>> [ERROR] Failed to execute goal >>>>> org.apache.npanday.plugins:maven-compile-plugin:1.4.0-incubating:comp= ile >>>>> (default-compile) on project IfyAgent: NPANDAY-900-006: Unable to >>>>> Compile: Language =3D C_SHARP, Vendor =3D null, ArtifactType =3D exe,= Source >>>>> Directory =3D /Users/simonetripodi/Documents/workspace/CloudIO/trunk/= IfyAgent/src/main/java: >>>>> NPANDAY-040-001: Could not execute: Command =3D =C2=A0/bin/sh -c gmcs >>>>> @/Users/simonetripodi/Documents/workspace/CloudIO/trunk/IfyAgent/targ= et/14155345/responsefile.rsp, >>>>> Result =3D 1 -> [Help 1] >>>>> >>>>> Please take in consideration I'm .NET ignorant and I'm only mavenizin= g >>>>> my coworkers projects :) >>>>> >>>>> Many thanks in advance, all the best! >>>>> Simo >>>>> >>>>> http://people.apache.org/~simonetripodi/ >>>>> http://simonetripodi.livejournal.com/ >>>>> http://twitter.com/simonetripodi >>>>> http://www.99soft.org/ >>>>> >>>> >>> > >