ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt McAuliffe" <mmcauli...@profiles.com>
Subject problem using <csc>
Date Mon, 17 Feb 2003 20:32:29 GMT
Hi all,
 
I'm compiling .NET components and I currently use <exec> to do all of
the work however I would like to convert the build file to use the <csc>
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:
 
version_info:
     [echo] --(FPI)--> Java version = 1.3
     [echo] --(FPI)--> Apache Ant version 1.5.1 compiled on October 2
2002
     [echo] --(FPI)--> Windows XP
 
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.
 
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
 
Total time: 1 second
C:\SoftwareDevelopment\dot_net\FPWebService\FPWebConfigurationSolution>
 

Thanks in advance,
 

___________________________________________

Matthew McAuliffe

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message