Re: [abc-users] Java 5

From: Eric Bodden <eric.bodden_at_mail.mcgill.ca>
Date: Wed, 8 Jul 2009 10:22:03 -0400

Can you try -sourceroots C:\abc_compiler\example\src\test_classes?

If your classes have no package annotation then you should give as
sourceroot the folder that the class resides in.

Eric

2009/7/8 <alpery_at_cs.technion.ac.il>:
> Hi Eric,
>
> I'm running the abc.main.Main (abc version 1.3.0) in Eclipse.
> The project folder is C:\abc_compiler\categorization.
> The program arguments for code without elements of Java 5 are:
> -sourceroots C:\abc_compiler\example
> (it works)
> For code that uses elements of Java 5 I've tried:
> -ext abc.ja -sourceroots C:\abc_compiler\example
> (the described error was received)
> In file system the code of example is in folder:
> C:\abc_compiler\example\src\test_classes
>
> Thank you,
> Yevgenia
>
>> Hi Yevgenia.
>>
>> I think it would be useful to know your complete command line and also
>> your directory structure. I suspect that you are executing abc from
>> the wrong directory or something like that.
>>
>> Eric
>>
>> 2009/7/7  <alpery_at_cs.technion.ac.il>:
>> > Hello,
>> >
>> > I've tried to compile code that contains Java 5 syntax with a command-line
>> > flags
>> > "-ext abc.ja" and I've received some strange error:
>> >
>> > "C:\...\src\test_classes\A.java:1:
>> >    Syntax error: unexpected package.
>> >    package test_classes;
>> >    ^-----^
>> > "
>> >
>> > The same error appears for compilation of code without any Java 5
>> elements.
>> > What should I do?
>> >
>> > Thank you in advance
>> > Yevgenia
>> >
>> >
>>
>>
>>
>> --
>> Eric Bodden
>> Sable Research Group, McGill University
>> Montréal, Québec, Canada
>>
>>
>
>
>
>

-- 
Eric Bodden
Sable Research Group, McGill University
Montréal, Québec, Canada
Received on Wed Jul 08 2009 - 15:22:07 BST

This archive was generated by hypermail 2.2.0 : Wed Jul 08 2009 - 15:40:12 BST