Re: Java, maven and mulitple classpaths

Eric Ludlam <[email protected]>
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
On 11/24/2014 04:04 PM, Matthew Smith wrote:
> Hi all,
>
> When a project is built using maven, there are actually 2 classpaths: the runtime one and the test one.  Which classpath should be used depends on where in the source tree the file lives.  For example, files in the source tree should not see classes in the test classpath as they will not compile.
>
> In CEDET, is there a way to have 2 different classpaths for a given project?

Hi,

I am hoping Alex Ott can chime in as he has made the most changes in the 
java project support.

There is nothing preventing a project (such as the maven2 project) from 
using different classpaths based on the current Configuration.  (ie From 
the menu Development->Project Options->Default Configuration) but I 
personally haven't added such support.

I do not know how much support there is for that in maven2 project type 
that Alex worked on so I'll let him provide advice about maven2.

Eric

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.