Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.14 (Unreleased), 0.16
    • Fix Version/s: 0.14 (Unreleased)
    • Component/s: ASP support
    • Labels:
      None
    • Number of attachments :
      0

      Description

      http://docs.codehaus.org/display/MAVENUSER/NMaven+and+ASP+.NET

      Create a dotnet:asp (for 0.16+) / aspnet (for 0.14) type that generates the dll in target/artifactId/bin and copies all aspx files to target/artifactId

      Zip that folder and install it in the repo, in the future create a msi package

        Activity

        Hide
        Carlos Sanchez added a comment -

        As a workaround the zip file could be created by the assembly plugin with something like this

        <assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
          <id>dist</id>
          <formats>
            <format>zip</format>
          </formats>
          <fileSets>
            <fileSet>
              <directory>${basedir}/target</directory>
              <outputDirectory>/bin</outputDirectory>
              <includes>
                <include>**/*.dll</include>
              </includes>
            </fileSet>
            <fileSet>
              <directory>${basedir}</directory>
              <outputDirectory>/</outputDirectory>
              <includes>
                <include>web.config</include>
                <include>**/*.aspx</include>
              </includes>
            </fileSet>
          </fileSets>
        </assembly>
        
        Show
        Carlos Sanchez added a comment - As a workaround the zip file could be created by the assembly plugin with something like this <assembly xmlns= "http: //maven.apache.org/POM/4.0.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http: //maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd" > <id>dist</id> <formats> <format>zip</format> </formats> <fileSets> <fileSet> <directory>${basedir}/target</directory> <outputDirectory>/bin</outputDirectory> <includes> <include>**/*.dll</include> </includes> </fileSet> <fileSet> <directory>${basedir}</directory> <outputDirectory>/</outputDirectory> <includes> <include>web.config</include> <include>**/*.aspx</include> </includes> </fileSet> </fileSets> </assembly>
        Hide
        Carlos Sanchez added a comment -
        Show
        Carlos Sanchez added a comment - There's a webapp plugin already at http://svn.apache.org/repos/asf/incubator/nmaven/branches/NMAVEN_0.14/plugins/maven-webapp-plugin to create .nar archives
        Hide
        jan ancajas added a comment -

        we can use the fileSet entries below for the updated design of NMAVEN-199:

          <fileSets>
          <fileSet>
              <directory>${java.io.tmpdir}/${project.artifact.artifactId}/bin</directory>
              <outputDirectory>/bin</outputDirectory>
              <includes>
              </includes>
            </fileSet>
            <fileSet>
              <directory>${java.io.tmpdir}/${project.artifact.artifactId} </directory>
              <outputDirectory>/</outputDirectory>
              <includes>
                <include>*.config</include>
                <include>**/*.aspx</include>
              </includes>
              <excludes>
                <exclude>/target/**</exclude>        
              </excludes>
            </fileSet>  
          </fileSets>
        

        there's *.compiled file in the bin that needs to be copied also i think.

        Show
        jan ancajas added a comment - we can use the fileSet entries below for the updated design of NMAVEN-199 : <fileSets> <fileSet> <directory>${java.io.tmpdir}/${project.artifact.artifactId}/bin</directory> <outputDirectory>/bin</outputDirectory> <includes> </includes> </fileSet> <fileSet> <directory>${java.io.tmpdir}/${project.artifact.artifactId} </directory> <outputDirectory>/</outputDirectory> <includes> <include>*.config</include> <include>**/*.aspx</include> </includes> <excludes> <exclude>/target/**</exclude> </excludes> </fileSet> </fileSets> there's *.compiled file in the bin that needs to be copied also i think.
        Hide
        Carlos Sanchez added a comment -

        latest patch in NMAVEN-199 already does the packaging of asp applications

        Show
        Carlos Sanchez added a comment - latest patch in NMAVEN-199 already does the packaging of asp applications

          People

          • Assignee:
            Unassigned
            Reporter:
            Carlos Sanchez
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: