You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dan tran <da...@gmail.com> on 2006/09/11 18:35:06 UTC

Re: Re: Re: maven native plugin

You will need to create a new provider similar to msvc

-D

On 9/11/06, Düvelmeyer, Thorsten <Th...@plath.de> wrote:
>
> Hello Dan,
>
> sorry for that delay...
>
> first off all i have a new question:
> Would it be simple or complicated to add that Intel C++ Compiler als
> Provider?
> That should be files like that:
>    * codecov.exe Code-coverage Tool
>    * icl.cfg Configuration file for Microsoft Visual C++ .NET*
> compatibility.
>    * icl6.cfg Configuration file for Microsoft Visual C++* 6.0compatibility.
>    * icl.exe Driver for Intel(r) C++ Compiler.
>    * iclvars.bat Batch file to set environment variables.
>    * icpi.exe Compiler problem isolator. Used when working with Intel
> product support team.
>    * libguide40.dll DLL version of libguide40.lib
>    * libguide40_stats.dll DLL version of libguide40_stats.lib
>    * libmmd.dll DLL version of libm.lib.
>    * libmmdd.dll Debug version of libmmd.lib
>    * mcpcom.exe Intel(r) C++ Compiler.
>    * profmerge.exe Utility used for Profile Guided Optimizations.
>    * proforder.exe Utility used for Profile Guided Optimizations.
>    * tselect.exe Test Prioritization Tool
>    * xilib.exe Tool used for Interprocedural Optimizations.
>    * xilink.exe Tool used for Interprocedural Optimizations.
>    * xilink5.exe Tool used for Interprocedural Optimizations.
>    * xilink6.exe Tool used for Interprocedural Optimizations.
>
> >> >It is not hard to allow user to override the default value, but I
> >> >would like to understand is first.
> >> I need to run the message compiler at first because it generates a
> "__.h"
> >> file, which i need in the compile step as include in many source files.
> >What i did now is to copy the header file via ant task to the source
> directory.
> I tried that, but i think that does not work because of the direct include
> of these files
>
> >to specifiy resource file names, use <sources> elements like in the
> >compiler step.
> >
> >Note both message and resource compiles are very untested areas, so you
> >help trouble shooting and providing patches are very welcome.
> That works:
> <configuration>
>           <compilerProvider>msvc</compilerProvider>
>
>           <messageFiles>
>              <fileName>${basedir}\ReportSrvEvt.mc</fileName>
>              <fileName>${basedir}\ServiceEvt.mc</fileName>
>           </messageFiles>
> ....
>
> but what it the equivalent for the ressource files?
>
>
> Do you know any report plugins like checkstyle or pmd for c++ code?
>
> How can i provide patches or tests? Do i need a svn account or sent it via
> email to you?
>
>
> Thank yor very much!
> Thorsten
>
>
> -----Ursprüngliche Nachricht-----
> Von: thorsten@online.de [mailto:thorsten@online.de]
> Gesendet: Mittwoch, 30. August 2006 15:47
> An: Düvelmeyer, Thorsten
> Betreff: FW: Re: Re: maven native plugin
>
> >On 8/30/06, thorsten@online.de <th...@online.de> wrote:
> >>
> >> >It is not hard to allow user to override the default value, but I
> >> >would like to understand is first.
> >> I need to run the message compiler at first because it generates a
> "__.h"
> >> file, which i need in the compile step as include in many source files.
> >What
> >> i did now is to copy the header file via ant task to the source
> directory.
> >
> >
> >The message compile step should add ${project.build.directory}/native
> >to the include path in compile step, please file JIRA if you dont see
> >it show up in the compilation output
> >
> >
> >>For VS6 try to set env MSVS6_INSTALL_DIR.
> >> That works fine - thanks!
> >>
> >> What can i specify for the ressource compiler? I always get an error
> >> when runnig this step? How can i set the ressource file names?
> >
> >
> >Please see MS rc compiler for options that you can specify.
> >
> >to specifiy resource file names, use <sources> elements like in the
> >compiler step.
> >
> >Note both message and resource compiles are very untested areas, so you
> >help trouble shooting and providing patches are very welcome.
> >
> >
> >Regards!
> >> Thorsten
> >>
> >>
> >>
> >> >On 8/21/06, Düvelmeyer, Thorsten <Th...@plath.de>
> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> i have got two questions for native-maven-plugin:
> >> >>
> >> >> 1. Can i change the output directory for native:compile-message?
> >> >> I need $(base_dir) instead of ${project.build.directory}/native
> >> >
> >> >
> >> >Is there a reason why the current default location is not working
> >> >for
> >> you?
> >> >It is not hard to
> >> >allow user to override the default value, but I would like to
> >> >understand
> >> is
> >> >first.
> >> >
> >> >
> >> >
> >> >2. Can i set german program path of visual studio instead of english:
> >> >> C:\Programme\... instead of C:\Program Files\...
> >> >
> >> >
> >> >what version of VS do you have?
> >> >
> >> >For VS6 try to set env MSVS6_INSTALL_DIR.
> >> >
> >> >This feature is not documented yet thou.
> >> >
> >> >Where i can get the source code? The links in maven report seem to
> >> >be old
> >> >> and not working.
> >> >
> >> >
> >> >http://svn.codehaus.org/mojo/trunk/mojo/maven-native/
> >> >
> >> >
> >> >
> >> >Thanks a lot!
> >> >> Thorsten
> >> >>
> >> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
>
>