Anssi,
I think this code will only be added to the target script if you specify
that your project should be built as a "standalone" i.e. without the
development environment available?

buildjade=: 3 : 0
if. STANDALONE=0 do. '' return. end.
r=. 'NB. standalone defs:',LF
r=. r,'3 : 0 ''''',LF
r=. r,'if. 0 ~: 4!:0 <''PATHSEP_j_'' do.',LF
r=. r,'PATHSEP_j_=: ((9!:12'''') e. 6 7) { ''/\''',LF
r=. r,'jhostpath_z_=: PATHSEP_j_ & (I. @ (e.&''/\'')@] })',LF
r=. r,'jpath_z_=: jhostpath',LF
r=. r,'end.',LF
r=. r,'load_z_=: require_z_=: script_z_=: ]',LF
r=. r,'0',LF,')',LF,LF
)


On Tue, Mar 5, 2013 at 9:58 AM, Anssi Seppälä <anssi.sepp...@enease.fi>wrote:

> Please, can somebody explain why buildjade function (in project.ijs in
> J6.02) is changed:
>
> Now the target script starts with:
> 3 : 0 ''
> if. 0 ~: 4!:0 <'PATHSEP_j_' do.
> PATHSEP_j_=: ((9!:12'') e. 6 7) { '/\'
> jhostpath_z_=: PATHSEP_j_ & (I. @ (e.&'/\')@] })
> jpath_z_=: jhostpath
> end.
> load_z_=: require_z_=: script_z_=: ]
> 0
> )
>
> Earlier it was:
> 3 : 0 ''
> if. 0 = 4!:0 <'PATHSEP_j_' do. return. end.
> PATHSEP_j_=: ((9!:12'') e. 6 7) { '/\'
> jhostpath_z_=: PATHSEP_j_ & (I. @ (e.&'/\')@] })
> jpath_z_=: jhostpath
> load_z_=: require_z_=: ]
> 0
> )
>
> The problem with the current version is that it always overrides the
> load-function used by the debugger. I do not understand why the load,
> require and script functions must be changed.
>
> If this is not easy to change in Package Manager where should I put my own
> modifications.
>
> Thanks,
> Anssi
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to