Eclipse ecj

Ryan Schmidt ryandesign at macports.org
Sat Jan 19 16:32:56 PST 2008


On Jan 19, 2008, at 13:15, Michael Franz wrote:

> I have made progress on this.  I found older versions, which is  
> important, and been able to compile - mostly.
>
> The older versions are important since the 3.3.1.1 requires Java 6  
> to compile (Java 6 API being used).  Kaffe and Tiger do not have  
> Java 6 support also.  Although Kaffe is a dependency, I don't think  
> it is actually being used to compile (not that I care).
>
> Since the version that I can get to compile does not have a  
> build.xml file, how do I create a patch file for a missing file?  I  
> can patch an existing file, but how do I add a missing file?  diff - 
> u just tells me the file is missing.

You can create a patch which creates a file out of thin air. But it's  
probably more straightforward to just put the file in the port's  
"files" directory and copy it from there to the right place in the  
post-patch phase, for example:

post-patch {
	copy ${filespath}/build.xml ${worksrcpath}
}



More information about the macports-users mailing list