Richard Chamberlain
Richard Chamberlain

Reputation: 308

DWScript Install

I'm trying to install DWScript in XE2 and I seem to be struggling. I can't find any up to date installation instructions, and the older instructions I did find no longer seems applicable.

I've tried both head from the svn repository, and also one of the previous releases and haven't had much luck with either.

I've added the source directory to my library path.

When I opened dwsLib originally I had a TdwsUnit not found message, although it appears to compile. Both dwsLibDesignOnly and dwsLibRuntime.dpk have an error about dwsCodeGen which is missing, and it appears there is a whole JSCodeGen directory in Libraries which doesn't exist but should.

Any help would be much appreciated.

Thanks,

Richard

Upvotes: 4

Views: 496

Answers (2)

Eric Grange
Eric Grange

Reputation: 6211

The CodeGen is no longer maintained in the SVN, and the dpks were a bit out of date (updated now). You can just remove the units/classes it doesn't find from the .dpk

For further details on the CodeGen see http://delphitools.info/2012/05/18/from-op4js-to-smart-mobile-studio/ The last open-source version can be found in r1462 of the SVN.

Upvotes: 0

Tomislav Avramovic
Tomislav Avramovic

Reputation: 101

You can try revision r1462. After that revision project owner decide to close source for JavaScript CodeGen and contunue development only for MobileStudio product.

Upvotes: 1

Related Questions