Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 11526 invoked from network); 17 Feb 2003 20:48:30 -0000 Received: from unknown (HELO fpimail.profiles.com) (209.75.114.197) by daedalus.apache.org with SMTP; 17 Feb 2003 20:48:30 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: problem using Date: Mon, 17 Feb 2003 12:48:35 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: problem using thread-index: AcLWxKidV0EXf7NYTG6SGszrEf7eggAAExmQ From: "Matt McAuliffe" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks, I did that now I'm getting the following. It's showing compilation errors when it builds fine with the task. build_websvc: [echo] -- FPI--> building FPWebService.dll [csc] compiling 14 files [csc] Executing 'csc' with arguments: [csc] '/nologo' [csc] '/debug-' [csc] '/incremental-' [csc] '/optimize+' [csc] '/target:library' [csc] '/warn:3' [csc] '/out:C:\swdev\build\distrib\SoftwareDevelopment\Products\WebService\FPW ebConfig\bin\FPWebConfig.dll' [csc] '/nostdlib-' [csc] '/reference:Accessibility.dll;cscompmgd.dll;CustomMarshalers.dll;Mscorcf g.dll;System.Configuration.Install.dll;System.Data.dll;System.Desi gn.dll;System.DirectoryServices.dll;System.EnterpriseServices.dll;System .dll;System.Drawing.Design.dll;System.Drawing.dll;System.Management.dll; System .Messaging.dll;System.Runtime.Remoting.dll;System.Runtime.Serialization. Formatters.Soap.dll;System.Security.dll;System.ServiceProcess.dll;System .Web.d ll;System.Web.RegularExpressions.dll;System.Web.Services.dll;System.Wind ows.Forms.dll;System.XML.dll;' [csc] '/fullpaths' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfig\AssemblyInfo.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfig\Configuration.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfig\FPConfiguration.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\AssemblyInfo.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\CalcService.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\CalcServiceList.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\Default.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\Global.asax.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\LoggingService.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\MSMQServer.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\MSMQServerList.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\ReportManager.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\WebService.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\WebServiceList.aspx.cs' [csc] [csc] The ' characters around the executable and arguments are [csc] not part of the command. [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(62,12): error CS0579: Duplicate ' AssemblyKeyName' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(61,12): error CS0579: Duplicate ' AssemblyKeyFile' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(60,12): error CS0579: Duplicate ' AssemblyDelaySign' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(29,12): error CS0579: Duplicate ' AssemblyVersion' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(16,12): error CS0579: Duplicate ' AssemblyCulture' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(15,12): error CS0579: Duplicate ' AssemblyTrademark' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(14,12): error CS0579: Duplicate ' AssemblyCopyright' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(13,12): error CS0579: Duplicate ' AssemblyProduct' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(12,12): error CS0579: Duplicate ' AssemblyCompany' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(11,12): error CS0579: Duplicate ' AssemblyConfiguration' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(10,12): error CS0579: Duplicate ' AssemblyDescription' attribute [csc] C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfigEditor\AssemblyInfo.cs(9,12): error CS0579: Duplicate 'A ssemblyTitle' attribute BUILD FAILED file:C:/SoftwareDevelopment/dot_net/FPWebService/FPWebConfigurationSolut ion/build.xml:71: CSC returned: 1 -----Original Message----- From: Rick Sansburn [mailto:rsansburn@clareos.com]=20 Sent: Monday, February 17, 2003 12:37 PM To: 'Ant Users List' Subject: RE: problem using Make sure that the location of csc.exe is in you path. Csc.exe is located in the folder C:\WINNT\Microsoft.NET\Framework\v1.0.3705 The v1.0.3705 folder may be different depending on your build of the .NET framework. -- Rick -----Original Message----- From: Matt McAuliffe [mailto:mmcauliffe@profiles.com]=20 Sent: Monday, February 17, 2003 3:32 PM To: user@ant.apache.org Subject: problem using Hi all, =20 I'm compiling .NET components and I currently use to do all of the work however I would like to convert the build file to use the task. I seem to have problems with the ' character. I've searched the archives and I'm not able to find a similar error. Below is the output: =20 version_info: [echo] --(FPI)--> Java version =3D 1.3 [echo] --(FPI)--> Apache Ant version 1.5.1 compiled on October 2 2002 [echo] --(FPI)--> Windows XP =20 build_websvc: [echo] -- FPI--> building FPWebService.dll [csc] compiling 14 files [csc] Executing 'csc' with arguments: [csc] '/nologo' [csc] '/debug-' [csc] '/incremental-' [csc] '/optimize+' [csc] '/target:library' [csc] '/warn:3' [csc] '/out:C:\swdev\build\distrib\SoftwareDevelopment\Products\WebService\FPW ebConfig\bin\FPWebConfig.dll' [csc] '/nostdlib-' [csc] '/reference:Accessibility.dll;cscompmgd.dll;CustomMarshalers.dll;Mscorcf g.dll;System.Configuration.Install.dll;System.Data.dll;System.Des gn.dll;System.DirectoryServices.dll;System.EnterpriseServices.dll;System .dll;System.Drawing.Design.dll;System.Drawing.dll;System.Management.dll; Syste .Messaging.dll;System.Runtime.Remoting.dll;System.Runtime.Serialization. Formatters.Soap.dll;System.Security.dll;System.ServiceProcess.dll;System .Web. ll;System.Web.RegularExpressions.dll;System.Web.Services.dll;System.Wind ows.Forms.dll;System.XML.dll;' [csc] '/fullpaths' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfig\AssemblyInfo.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfig\Configuration.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfig\FPConfiguration.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\AssemblyInfo.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\CalcService.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\CalcServiceList.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\Default.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\Global.asax.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\LoggingService.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\MSMQServer.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\MSMQServerList.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\ReportManager.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\WebService.aspx.cs' [csc] 'C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\ FPWebConfigEditor\WebServiceList.aspx.cs' [csc] [csc] The ' characters around the executable and arguments are [csc] not part of the command. =20 BUILD FAILED file:C:/SoftwareDevelopment/dot_net/FPWebService/FPWebConfigurationSolut ion/build.xml:71: CSC failed: java.io.IOException: CreateProcess: csc /nologo /debug- /incremental- /optimize+ /target:library /warn:3 /out:C:\swdev\build\distrib\SoftwareDevelopment\Products\WebService\FPWe bConfig\bin\FPWebCon ig.dll /nostdlib- /reference:Accessibility.dll;cscompmgd.dll;CustomMarshalers.dll;Mscorcfg .dll;System.Configuration.Install.dll;System.Data.dll;Syste .Design.dll;System.DirectoryServices.dll;System.EnterpriseServices.dll;S ystem.dll;System.Drawing.Design.dll;System.Drawing.dll;System.Management .dll; ystem.Messaging.dll;System.Runtime.Remoting.dll;System.Runtime.Serializa tion.Formatters.Soap.dll;System.Security.dll;System.ServiceProcess.dll;S ystem Web.dll;System.Web.RegularExpressions.dll;System.Web.Services.dll;System .Windows.Forms.dll;System.XML.dll; /fullpaths C:\SoftwareDevelopment\dot_net\ PWebService\FPWebConfigurationSolution\FPWebConfig\AssemblyInfo.cs C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfig Configuration.cs C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution\F PWebConfD =20 Total time: 1 second C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution> =20 Thanks in advance, =20 ___________________________________________ Matthew McAuliffe =20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org