[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] Passing javac parameter

Hey Thomas and List,

thanks for your help, there are however the following problems:

According to the bucky book, the respective option should be -t, this however results in

INFO:  import '-t' '/home/marco/templateWorkspace.zip' '/var/lib/hudson/jobs/Elexis_Trunk_Core_Build/workspace/site.core.elexis/org.eclipse.platform.mspec'
org.eclipse.buckminster.cmdline.parser.InvalidOptionException: The option '-t' is invalid
A successive use of --template results in
INFO:  import '--template' '/home/marco/templateWorkspace.zip' '/var/lib/hudson/jobs/Elexis_Trunk_Core_Build/workspace/site.core.elexis/org.eclipse.platform.mspec'
Workspace at /var/lib/hudson/jobs/Elexis_Trunk_Core_Build/workspace is not empty
I think I've seen this one before, but don't have a clue!

Marco


Am 15.11.2010 um 15:51 schrieb Thomas Hallgren:

> Hi Marco,
> 
> Just set that preference in an empty workspace, then zip it and use it as your template workspace for your build. That's the way you'd set most of the preferences. Not just encoding, but also all warnings/errors, jdk compliance, etc.
> 
> HTH,
> Thomas Hallgren
> 
> On 11/15/2010 12:33 PM, Marco Descher wrote:
>> Dear List,
>> 
>> I need to pass a parameter to javac during the build of the workspace, as I need the encoding to be in UTF-8!
>> How can I achieve this, I did not find a respective parameter?
>> 
>> It should be just like
>> javac -encoding=UTF-8 or the setting in the Eclipse workspace Preferences/General/Workspace
>> 
>> thx,
>> Marco
>> 
>> Hope, the list is right for this?!?
> 
> _______________________________________________
> buckminster-dev mailing list
> buckminster-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/buckminster-dev