buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Richt <>
Subject Re: Three (3) Language Compilation
Date Thu, 28 Apr 2011 19:10:26 GMT
Dear All,

Reversing the order of the groovy/scala makes that nasty error go away (no idea why). I believe
this is a solution, if an inelegant one:

       define 'core' do

              compile.using(:scalac).with(libs).from( _('src/main/scala'), _('src/main/java')
 ) # <----- otherwise it finds groovy sources and doesnt compile any scala???
              compile.options.delete(:verbose)   # <---- otherwise get strange error from
inherited props from groovyc ???

              pkg = package(:jar, :file=>_('target/seqosystem.jar')) \
                            .with(:manifest => {
                                                'MAIN-CLASS' => 'com.monsanto.seqosystem.core.config.Configurator',
                                                'VERSION' => project.version


       define 'core_groovy' do
              compile.with GROOVY, libs
              compile.using(:groovyc).from( self.parent.path_to(:core, :src, :main, :groovy)
).into( self.parent.path_to(:core, :target, :classes ) )

Thank you,

Ryan Richt
This e-mail message may contain privileged and/or confidential information, and is intended
to be received only by persons entitled
to receive such information. If you have received this e-mail in error, please notify the
sender immediately. Please delete it and
all attachments from any servers, hard drives or any other media. Other use of this e-mail
by you is strictly prohibited.

All e-mails and attachments sent and received are subject to monitoring, reading and archival
by Monsanto, including its
subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence
of "Viruses" or other "Malware".
Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such
code transmitted by or accompanying
this e-mail or any attachment.

The information contained in this email may be subject to the export control laws and regulations
of the United States, potentially
including but not limited to the Export Administration Regulations (EAR) and sanctions regulations
issued by the U.S. Department of
Treasury, Office of Foreign Asset Controls (OFAC).  As a recipient of this information you
are obligated to comply with all
applicable U.S. export laws and regulations.

View raw message