So, this is very odd. I started again, cloned the project again (from
the osgimanager
branch), but, just to be sure, I ran git checkout osgimanager. Anyway, for
some reason the task ran this time (I swear I have tried, from scratch,
half a dozen times!), but now I get this warning:

[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     ::          UNRESOLVED DEPENDENCIES         ::
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     :: org.openmole#org-openmole-core-dsl_2.11;7.0-SNAPSHOT: not
found
[warn]     ::
org.openmole#org-openmole-plugin-task-external_2.11;7.0-SNAPSHOT: not found

and then the compilation fails.

sbt.ResolveException: unresolved dependency:
org.openmole#org-openmole-core-dsl_2.11;7.0-SNAPSHOT: not found
unresolved dependency:
org.openmole#org-openmole-plugin-task-external_2.11;7.0-SNAPSHOT: not found

On Wed, Sep 14, 2016 at 2:25 PM, reyman <[email protected]> wrote:

> Hmmm, actually it's very difficult to compile a working plugin, i prefer
> to wait before packaging a jar file.
>
> Perhaps you're not on the good git branch ? Did you try to *git checkout
> osgimanager* ?
>
> 2016-09-14 12:09 GMT+02:00 Jonathan Passerat-Palmbach <
> [email protected]>:
>
>> Hi all,
>>
>> @Seb: can you make a jar available somewhere to download maybe?
>>
>>
>> Cheers
>>
>> J.
>>
>> On 14/09/16 11:03, Melissa Saeland wrote:
>>
>> Hi,
>>
>> I tried that too, but get the same error. Am running it on a mac, if that
>> makes any difference?
>>
>> On Wed, Sep 14, 2016 at 7:49 AM, reyman <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> You need to run "sbt generateTask" at the root folder of project
>>> (gama-plugin), not *gama-plugin/project/* folder.
>>>
>>> Best,
>>> SR
>>>
>>> 2016-09-13 22:49 GMT+02:00 Melissa Saeland <[email protected]>:
>>>
>>>> Hi,
>>>>
>>>> Many thanks for your reply - I really appreciate your help. I haven't
>>>> really used sbt before, so I have very little understanding of how it
>>>> works, so I may have completely misunderstood your instructions. I read it
>>>> as running the command 'sbt generateTask' from inside the project folder -
>>>> is that right? Doing that gives me an error that 'generateTask' is neither
>>>> a command nor a key, so I figure I am doing something wrong.
>>>>
>>>> Apologies if I am being completely dense!
>>>>
>>>> Many thanks
>>>>
>>>> Melissa
>>>>
>>>> On Tue, Sep 13, 2016 at 4:56 PM, reyman <[email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Sorry for the delay in answer,
>>>>> *Gama-plugin *works now using the branch *osgi-manager* here :
>>>>> https://github.com/openmole/gama-plugin/tree/osgimanager
>>>>>
>>>>> To compile, you need to clone this project, then run *sbt *in the
>>>>> project folder with task *generateTask*
>>>>>
>>>>> After that you have a bundle/ folder with all jar needed by gama
>>>>> headless.
>>>>>
>>>>> At the root of gama-plugin folder , you can run the command
>>>>>
>>>>> *my/path/to/openmoleproject/openmole/openmole/bin/openmole/target/assemble/openmole
>>>>> -p bundles --remotes*
>>>>>
>>>>>
>>>>> Core dev change lot of things last weeks into gama, and gama-plugin
>>>>> depends on gama,
>>>>> so i hope we can stabilize the plugin with 1.7 release of gama in the
>>>>> future.
>>>>>
>>>>> Best,
>>>>> SR.
>>>>>
>>>>> 2016-09-02 10:26 GMT+02:00 Melissa Saeland <[email protected]>:
>>>>>
>>>>>> Hi Romain,
>>>>>>
>>>>>> Unfortunately I can't get GAMA to run in headless mode either - have
>>>>>> tried both on a Mac and on a Linux machine. But I like the idea of 
>>>>>> running
>>>>>> it as an external task, so will definitely consider that if I ever get it
>>>>>> to work!
>>>>>>
>>>>>> On Fri, Sep 2, 2016 at 8:57 AM, Romain lardy <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>> Hi Melissa,
>>>>>>>
>>>>>>> In the case you don’t find a version of the plugin that works, you
>>>>>>> can still run your GAMA model in headless mode (rather easy to use), 
>>>>>>> and so
>>>>>>> launch it as an external task (SystemExecTask). That is what I did last
>>>>>>> time, as my version of GAMA was too old compared to the plugin.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Romain
>>>>>>>
>>>>>>> Melissa Saeland <[email protected]> a écrit :
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Does anyone know if the GAMA plugin works with the new version of
>>>>>>> OpenMOLE? I can't even get it to compile, and was wondering if it just
>>>>>>> hasn't been updated in a while. There is a pre-compiled version on
>>>>>>> openmole-marketplace, but that throws up a whole bunch of errors when I 
>>>>>>> try
>>>>>>> to run OpenMOLE with it.
>>>>>>>
>>>>>>> Many thanks
>>>>>>>
>>>>>>> Melissa
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Romain Lardy
>>>>>>> ARVALIS - Institut du Végétal - Service Agronomie Economie
>>>>>>> Environenment
>>>>>>> UMR 1248 - AGIR - Equipe MAGELLAN
>>>>>>>
>>>>>>> 24 Chemin de Borde Rouge, Auzeville
>>>>>>> F 31326 Castanet Tolosan Cedex
>>>>>>> Tel: +33 (0)5 61 28 57 71 <%2B33%20%280%295%2061%2028%2057%2071>
>>>>>>> http://www.toulouse.inra.fr/agir
>>>>>>> http://maelia-platform.inra.fr/
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> OpenMOLE-users mailing list
>>>>>>> [email protected]
>>>>>>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> OpenMOLE-users mailing list
>>>>>> [email protected]
>>>>>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> <http://stackoverflow.com/users/385881/reyman64>
>>>>>
>>>>> _______________________________________________
>>>>> OpenMOLE-users mailing list
>>>>> [email protected]
>>>>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> OpenMOLE-users mailing list
>>>> [email protected]
>>>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>>>>
>>>>
>>>
>>>
>>> --
>>> <http://stackoverflow.com/users/385881/reyman64>
>>>
>>> _______________________________________________
>>> OpenMOLE-users mailing list
>>> [email protected]
>>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>>>
>>>
>>
>>
>> _______________________________________________
>> OpenMOLE-users mailing 
>> [email protected]http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>>
>>
>> --
>> Jonathan Passerat-Palmbach, PhD
>> Research Associate
>> Department of Computing
>> Imperial College London
>>
>> South Kensington Campus
>> Huxley Building - room 344
>> 180 Queen's Gate
>> London SW7 2AZ
>>
>>
>> _______________________________________________
>> OpenMOLE-users mailing list
>> [email protected]
>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>>
>>
>
>
> --
> <http://stackoverflow.com/users/385881/reyman64>
>
> _______________________________________________
> OpenMOLE-users mailing list
> [email protected]
> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>
>
_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to