dion        2003/10/14 08:21:05

  Modified:    nsis     plugin.jelly
  Log:
  Ensure mandatory parameters are passed
  
  Revision  Changes    Path
  1.4       +4 -0      maven-plugins/nsis/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/nsis/plugin.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- plugin.jelly      14 Oct 2003 07:07:26 -0000      1.3
  +++ plugin.jelly      14 Oct 2003 15:21:05 -0000      1.4
  @@ -5,6 +5,7 @@
     xmlns:ant="jelly:ant"
     xmlns:dist="dist"
     xmlns:license="license"
  +  xmlns:maven="jelly:maven"
     xmlns:util="jelly:util">
   
   
  @@ -20,6 +21,9 @@
     <goal name="nsis:generate-project"
       description="Generate NSIS project.nsh file">
       
  +    <maven:param-check value="${maven.dist.bin.assembly.dir}" fail="true" 
  +     message="'maven.dist.bin.assembly.dir' must be specified. It is the directory 
containing files to be placed in the installer"/>
  +
       <mkdir dir="${maven.build.dir}"/>
   
       <j:set var="generatedFileName" value="${maven.build.dir}/project.nsh"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to