Hi,

 
In ant we are setting in this way

 <exec executable="${env.A_DIR}/bin/share/destopdir"
        os="SunOS, Linux, Mac OS X"
        outputproperty="TOPDIR"
        errorproperty="ERROR"
        failonerror="true"
        description="execute the script to find the TOPDIR">
        <arg line=" -auto_mounter"/>
    </exec>

Tish set property  TOPDIR to /u/kumari/a

How to do the same thing in maven.

In maven I  tried to set it out like this

 <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
  <phase>process-sources</phase>
   <goals>  
    <goal>exec</goal>
    </goals> 
  <configuration> 
    <executable>/u/kumari/desmake/bin/share/destopdir</executable>
    <commandlineArgs>"-auto_mounter"</commandlineArgs>
     </configuration>
 </execution>
 </executions>
 </plugin>


/u/kumari/desmake/bin/share/destodir  -auto_mounter 
Gives   /u/kumari/a        (a    is    some directory )

I want to set this path    /u/kumari/a     as property name TOPDIR , how
to set that within execution tag of exec written above.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to