jpaulm / drawfbp

Tool for Creating and Exploring Flow-Based Programming Diagram Hierarchies
http://www.jpaulmorrison.com/fbp/
146 stars 20 forks source link

trouble getting File->Compile Code to work #27

Closed darrencruse closed 4 years ago

darrencruse commented 5 years ago

from doing the tutorial things overall worked out but couldn't get the compile to work from inside DrawFBP so I just compiled my files separately from the command line.

I did set JAVA_HOME before starting drawfbp (and then later I tried setting CLASSPATH too but that didn't help)

Screen Shot 2019-07-04 at 7 28 10 AM
jpaulm commented 5 years ago

I think this is due to the fact that you don't appear to have a ".src" directory in your source - I thought I had taken care of that case, but I didn't test it as all my projects use the ".src" convention! My bad! If ".src" does appear in the full source file name, I change it to ".bin" for the compile output.

I will fix that and test it in the next few days, so, in the meanwhile, you could either do standalone compiles, or change your directory structure... .

Sorry about the oversight!

Regards,

Paul M.

On Thu, Jul 4, 2019 at 10:33 AM Darren Carl Cruse notifications@github.com wrote:

from doing the tutorial things overall worked out but couldn't get the compile to work from inside DrawFBP so I just compiled my files separately from the command line.

I did set JAVA_HOME before starting drawfbp (and then later I tried setting CLASSPATH too but that didn't help)

[image: Screen Shot 2019-07-04 at 7 28 10 AM] https://user-images.githubusercontent.com/1283688/60673995-bbf3f880-9e3e-11e9-9d5f-a43dfd0d195e.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpaulm/drawfbp/issues/27?email_source=notifications&email_token=AACMMJ5EM2G5MLDF6PUGGEDP5YC2TA5CNFSM4H53UHD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5MUACQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AACMMJZ2DMDD327CYMPZPDLP5YC2TANCNFSM4H53UHDQ .

jpaulm commented 5 years ago

I have put up a new copy of v2.16.15 - please give it a try! If you don't have ".src" in the file path, the class file will go into the same directory as the source.

Regards,

P.

darrencruse commented 5 years ago

Hi Paul I did pull down your v2.16.15 jar and try it but I got the same error :(

(for the heck of it I tried adding the "src" directory still no luck but maybe I misunderstood the convention)

jpaulm commented 5 years ago

Hi Darren, sorry to be obtuse, but I still don't know what the error is that you ran into! I have said this several times, so I would really appreciate it if you could spell it out (again...?)!

Regards,

Paul

On Sun, Jul 7, 2019 at 8:09 PM Darren Carl Cruse notifications@github.com wrote:

Hi Paul I did pull down your v2.16.15 jar and try it but I got the same error :(

(for the heck of it I tried adding the "src" directory still no luck but maybe I misunderstood the convention)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jpaulm/drawfbp/issues/27?email_source=notifications&email_token=AACMMJ675TQ42S6RAA2HZJDP6KAUBA5CNFSM4H53UHD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZLVXXY#issuecomment-509041631, or mute the thread https://github.com/notifications/unsubscribe-auth/AACMMJ557LWNHMX6WKE3HMLP6KAUBANCNFSM4H53UHDQ .