Re: [netlogo-devel] Extension error

2019-04-09 Thread Jason Bertsche
Alright, looks like your build is misconfigured.  One thing that you 
might want to fix (but that isn't the source of your problem) is that 
your build is needlessly dumping out a 'lib' folder that contains 
'scala-library.jar' and 'netlogo.jar'.  That whole folder is unnecessary 
and massively increases the size of your '.jar' file.


Anyway, the source of your actual problem is where your build is putting 
the manifest file.  It is currently being placed at the root of the 
archive, as 'manifest.txt'.  Instead, that manifest needs to be placed 
at '/META-INF/MANIFEST.MF' (relative to the root of the archive).  If 
you do that, it should work.


On 4/9/19 11:36 AM, Jake Saunders wrote:
Oh sure! bare in midn the extension jsut passes a value back and forth 
currently as i have not added the full code yet.


https://drive.google.com/drive/folders/182iBcrI-zbNPGRV-7FgRCApR4Bw52Xwn?usp=sharing

On Tuesday, April 9, 2019 at 5:10:42 PM UTC+1, Jason Bertsche wrote:

Hi Jake,

Could you send the '.jar' file for your extension?

On 4/9/19 10:53 AM, Jake Saunders wrote:

Hi

I am currently trying to develop my first extension for NetLogo
and have come across a error that i cannot fix: "Bad extension
'astarpathfind': Cant find extension name in Manifest".

initially i thought this was an issues with the text file but
after experimentation i couldn't fix it.

Some context

i created the files in eclipse and built them with ant using the
NetLogo and Scala jar.

My folder contains the eclipse source files (including
dependency's), the built jar file and the manifest.

*src code files(aStarPathFind\src\aStarPathFind):*

manager.java
pathFind.java


I built my manifest file based on the example extension :

*Manifest file: *

/Manifest-Version: 1.0/
/Extension-Name: aStarPathFind/
/Class-Manager: aStarPathFind.manager/
/NetLogo-Extension-API-Version: 6.0/

please inform me if i have missed some details that are needed to
aid debugging.

Thank you for any help
Jake
-- 
You received this message because you are subscribed to the

Google Groups "netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to netlog...@googlegroups.com .
For more options, visit https://groups.google.com/d/optout

.


--
You received this message because you are subscribed to the Google 
Groups "netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to netlogo-devel+unsubscr...@googlegroups.com 
.
For more options, visit https://groups.google.com/d/optout 
.


--
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [netlogo-devel] Extension error

2019-04-09 Thread Jake Saunders
Oh sure! bare in midn the extension jsut passes a value back and forth 
currently as i have not added the full code yet.

https://drive.google.com/drive/folders/182iBcrI-zbNPGRV-7FgRCApR4Bw52Xwn?usp=sharing

On Tuesday, April 9, 2019 at 5:10:42 PM UTC+1, Jason Bertsche wrote:
>
> Hi Jake,
>
> Could you send the '.jar' file for your extension?
>
> On 4/9/19 10:53 AM, Jake Saunders wrote:
>
> Hi 
>
> I am currently trying to develop my first extension for NetLogo and have 
> come across a error that i cannot fix: "Bad extension 'astarpathfind': Cant 
> find extension name in Manifest".
>
> initially i thought this was an issues with the text file but after 
> experimentation i couldn't fix it. 
>
> Some context 
>
> i created the files in eclipse and built them with ant using the NetLogo 
> and Scala jar.
>
> My folder contains the eclipse source files (including dependency's), the 
> built jar file and the manifest. 
>
> *src code files(aStarPathFind\src\aStarPathFind):*
>
> manager.java
> pathFind.java
>
>
> I built my manifest file based on the example extension :
>
> *Manifest file: *
>
> *Manifest-Version: 1.0*
> *Extension-Name: aStarPathFind*
> *Class-Manager: aStarPathFind.manager*
> *NetLogo-Extension-API-Version: 6.0*
>
> please inform me if i have missed some details that are needed to aid 
> debugging.
>
> Thank you for any help 
> Jake 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "netlogo-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to netlog...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout 
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [netlogo-devel] Extension error

2019-04-09 Thread Jake Saunders
Oh sure ! bare in mind that the extension just passes the same value bakc 
and forth right now as the meat of the coding has not been done.

https://drive.google.com/drive/folders/182iBcrI-zbNPGRV-7FgRCApR4Bw52Xwn?usp=sharing

On Tuesday, April 9, 2019 at 5:10:42 PM UTC+1, Jason Bertsche wrote:
>
> Hi Jake,
>
> Could you send the '.jar' file for your extension?
>
> On 4/9/19 10:53 AM, Jake Saunders wrote:
>
> Hi 
>
> I am currently trying to develop my first extension for NetLogo and have 
> come across a error that i cannot fix: "Bad extension 'astarpathfind': Cant 
> find extension name in Manifest".
>
> initially i thought this was an issues with the text file but after 
> experimentation i couldn't fix it. 
>
> Some context 
>
> i created the files in eclipse and built them with ant using the NetLogo 
> and Scala jar.
>
> My folder contains the eclipse source files (including dependency's), the 
> built jar file and the manifest. 
>
> *src code files(aStarPathFind\src\aStarPathFind):*
>
> manager.java
> pathFind.java
>
>
> I built my manifest file based on the example extension :
>
> *Manifest file: *
>
> *Manifest-Version: 1.0*
> *Extension-Name: aStarPathFind*
> *Class-Manager: aStarPathFind.manager*
> *NetLogo-Extension-API-Version: 6.0*
>
> please inform me if i have missed some details that are needed to aid 
> debugging.
>
> Thank you for any help 
> Jake 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "netlogo-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to netlog...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout 
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [netlogo-devel] Extension error

2019-04-09 Thread Jason Bertsche

Hi Jake,

Could you send the '.jar' file for your extension?

On 4/9/19 10:53 AM, Jake Saunders wrote:

Hi

I am currently trying to develop my first extension for NetLogo and 
have come across a error that i cannot fix: "Bad extension 
'astarpathfind': Cant find extension name in Manifest".


initially i thought this was an issues with the text file but after 
experimentation i couldn't fix it.


Some context

i created the files in eclipse and built them with ant using the 
NetLogo and Scala jar.


My folder contains the eclipse source files (including dependency's), 
the built jar file and the manifest.


*src code files(aStarPathFind\src\aStarPathFind):*

manager.java
pathFind.java


I built my manifest file based on the example extension :

*Manifest file: *

/Manifest-Version: 1.0/
/Extension-Name: aStarPathFind/
/Class-Manager: aStarPathFind.manager/
/NetLogo-Extension-API-Version: 6.0/

please inform me if i have missed some details that are needed to aid 
debugging.


Thank you for any help
Jake
--
You received this message because you are subscribed to the Google 
Groups "netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to netlogo-devel+unsubscr...@googlegroups.com 
.
For more options, visit https://groups.google.com/d/optout 
.


--
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.