Mark, 

To log onto link 2 use anonymous and anon.

Cheers,

Chris

-----Original Message-----
From: Stevenson, Chris [mailto:[EMAIL PROTECTED] 
Sent: 08 February 2006 10:02
To: 'Maven Users List'
Subject: RE: where to define custom compiler?

Mi Mark,

I've had a bit of a play with custom compilers to add C# support. They are
actually plexus components not maven as such though you get to them via the
maven compiler plugin. If you are implementing a custom one I would
recommend speaking to the bods on the #plexus IRC channel as they will steer
you the right way

Here are some links to help you on your way...

[1] https://svn.codehaus.org/plexus/trunk/plexus-components/plexus-compiler
Plexus compilers source. I would recommend checking this out from SVN.
[2]
http://svn.javaforge.com/svn/maven-csharp/trunk/sample/maven-sample-csharp/p
om.xml My POM with a custom compiler defined.

[3] http://irc.codehaus.org/ IRC channel for Code Haus (Over http)

The import bits are from link 2 are:

<plugin>
        
<artifactId>maven-compiler-plugin</artifactId>
                                <version>2.0</version>
                                <extensions>true</extensions>
                                <!--  these are general config options
across the CSharp compiler -->
                                <configuration>
                                        <compilerId>csharp</compilerId>
                                        <fork>true</fork>
                                        <!--  executable>csc</executable -->
                                        <compilerArguments>
                                                <doc>true</doc>
                                                <nowarn>1591</nowarn>
                                        </compilerArguments>
                                </configuration>

.....

and


        <dependencies>
                                        <dependency>
        
<groupId>org.codehaus.plexus</groupId>
        
<artifactId>plexus-compiler-csharp</artifactId>
        
<version>1.6-SNAPSHOT</version>
                                        </dependency>
                                </dependencies>


Hope this helps,

Chris

-----Original Message-----
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: 07 February 2006 21:38
To: Maven Users List
Subject: where to define custom compiler?

 
Instead of JavacCompiler, I'd like to try my own implementation
(Javac13Compiler) that attempts to shorten the command line arguments. 
Where do I define the which implementation to use so it's picked up by M2?
Thanks.

Marc Dugger
[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6% real estate sales commission? Not likely.
Learn why at http://tinyurl.com/dvkbu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





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


----------------------------------------------------------------------------
----
The information contained herein is confidential and is intended solely for
the addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient,
please contact the sender either via the company switchboard on +44 (0)20
7623 8000, or via e-mail return. If you have received this e-mail in error
or wish to read our e-mail disclaimer statement and monitoring policy,
please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166
----------------------------------------------------------------------------
----


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


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3167
--------------------------------------------------------------------------------


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

Reply via email to