I am unable to get slingshot to produce a nant build file when the solution
contains a web service.  I simply created a basic web service and
uncommented out the hello world method and tried to run slingshot on the
solution file and I received the following:

<!-- Generated by SLiNgshoT <http://injektilo.org/> -->
<project name="TestWebService" default="Debug">
  <property name="build.basedir" value="d:\visual studio
projects\testwebservice" />
  <target name="Debug" depends="Debug.CopyRefs,TestWebService.Debug" />
  <target name="Release" depends="Release.CopyRefs,TestWebService.Release"
/>
  <target name="setup">
    <mkdir dir="${build.dir}" />
  </target>
  <target name="Debug.CopyRefs">
    <property name="build.dir" value="${build.basedir}\Debug" />
  </target>
  <target name="Release.CopyRefs">
    <property name="build.dir" value="${build.basedir}\Release" />
  </target>
  <target name="TestWebService.Debug">
    <property name="project.name" value="TestWebService" />
    <property name="build.dir" value="${build.basedir}\Debug" />
    <property name="slingshot.config" value="Debug" />
    <property name="output" value="${build.dir}\TestWebService.dll" />
    <property name="debug" value="true" />
    <property name="unsafe" value="/unsafe-" />
    <property name="checked" value="/checked-" />
    <property name="define" value="DEBUG;TRACE" />
    <property name="doc" value="" />
    <property name="warninglevel" value="4" />
    <call target="TestWebService" />
  </target>
  <target name="TestWebService.Release">
    <property name="project.name" value="TestWebService" />
    <property name="build.dir" value="${build.basedir}\Release" />
    <property name="slingshot.config" value="Release" />
    <property name="output" value="${build.dir}\TestWebService.dll" />
    <property name="debug" value="false" />
    <property name="unsafe" value="/unsafe-" />
    <property name="checked" value="/checked-" />
    <property name="define" value="TRACE" />
    <property name="doc" value="" />
    <property name="warninglevel" value="4" />
    <call target="TestWebService" />
  </target>
  <target name="TestWebService" depends="setup">
    <resgen input="c:\inetpub\wwwroot\TestWebService\Global.asax.resx"
output="${build.dir}\TestWebService.Global.asax.resources" />
    <resgen input="c:\inetpub\wwwroot\TestWebService\Service1.asmx.resx"
output="${build.dir}\TestWebService.Service1.asmx.resources" />
    <csc target="library" output="${output}" debug="${debug}" define="
${define}" doc="${doc}" warninglevel="${warninglevel}">
      <arg value="${unsafe}" />
      <arg value="${checked}" />
      <sources>
        <includes name="c:\inetpub\wwwroot\TestWebService\AssemblyInfo.cs"
/>
        <includes name="c:\inetpub\wwwroot\TestWebService\Global.asax.cs"
/>
        <includes name="c:\inetpub\wwwroot\TestWebService\Service1.asmx.cs"
/>
      </sources>
      <references
Unhandled Exception: System.NotSupportedException: The given path's format
is n
t supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String
path, Bo
lean needFullPath)
   at System.Security.Util.StringExpressionSet.AddExpressions(String[] str,
Boo
ean checkForDuplicates, Boolean needFullPath)
   at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermission
ccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean
needFu
lPath, Boolean copyPathList)
   at
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplicates, Boolean
needFullPath)
   at System.IO.Path.GetFullPath(String path)
   at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, TextWriter
tex
Writer, String sln, Hashtable parameters, Hashtable uriMap)
   at SLiNgshoT_Console.Main(String[] args)

I beleive this is occuring when using the references to the web service -
the references tag was a little indication :-)

I am assuming someone has run across this issue - if not all you need to do
to reproduce is create a webservice and run slingshot on it and it should
break.

Any help would be appreciated.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to