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 <javascript:>.
For more options, visit https://groups.google.com/d/optout
<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=sxGjFFyk2A6rYHwAdDtnqeTKj3cEcXDGDo_G9va2ruI&m=bp6UgL4IUsckQvt8heHd8owem_54EflkVPEK2qWgyKU&s=lVJrRNlHmDKkrbssghpDZrJMhIAbXWJSDdW0j3R1HWk&e=>.
--
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
<mailto:netlogo-devel+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout
<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=sxGjFFyk2A6rYHwAdDtnqeTKj3cEcXDGDo_G9va2ruI&m=Glck4cjSsG3brEVpJHAfXpHoH5bC6S06C_Ik-BCeRYg&s=nBcJUnAWm4ipHHDo_ceYI9BnR-SjFUxYXmUXBR6aaWs&e=>.
--
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.