[Biojava-l] biojava and Xcode

Thomas Down td2 at sanger.ac.uk
Sat Nov 13 15:13:39 EST 2004


On 13 Nov 2004, at 19:47, Koen van der Drift wrote:

>
> On Nov 10, 2004, at 4:35 AM, Koen van der Drift wrote:
>
>> So far I was treating biojava and my own code as 2 different targets 
>> in the same project. I will try to make just one target and post here 
>> if it worked. Thanks all for the comments,
>>
>
> To follow up on this, it's working now. The trick is to create an 
> "Ant-based Application Jar" project in Xcode (1.5), and copy all the 
> code from the src directory in biojava-1.4pre1 plus my own code into 
> the project. I did have to comment out a couple of lines that start 
> with assert to compile successfully, for instance

Assert is a Java 1.4 language feature.  could you try opening the 
Target settings, looking at the "Java Compiler Settings" panel, and 
checking that "Source Version" is set to 1.4.  Default seems to be 
"Unspecified".  I've not tried building BioJava in Xcode (I'm an 
eclipse user myself), but this seems like the most likely problem.

         Thomas.



More information about the Biojava-l mailing list