Group Abstract Group Abstract

Message Boards Message Boards

Create and deploy your own paclets in the Workbench

References

enter image description here

Eclipse work flow

If necessary, install the Wolfram WorkBench Plugin for Eclipse.

http://support.wolfram.com/kb/27221

In Windows - Preferences - Wolfram - Special make the following changes

enter image description here

Apply and press OK. Then re-open preferences and go to Paclet Development. Enable function paclet support.

enter image description here

Create a new application project

enter image description here

enter image description here

Open the PacletInfo.m file and useful buttons now appear.

enter image description here

Also edit your project properties or the nice buttons may vanish after a build or when you close the project.

enter image description here

Build

Build your project and documentation as usual and then create your Paclet file and deploy.

Install

You can install from a local file path, http or ftp as print definitions reveals.

PacletInstall[filepath]
Needs["GeneralUtilities`"]
PrintDefinitions["PacletInstall"]
PrintDefinitions["PacletManager`Manager`Private`installPacletFromFileOrURL"]

There is no current support for https but this can be patched or you can easily call PacletInstall after downloading and creating a new file name for the download. This could be handy if you wanted to install from GitHub.

POSTED BY: Emerson Willard
10 Replies

@Szabolcs Horvát Thanks for your response, I got it working by studying your Matex package and duplicating the structure there.

POSTED BY: Michael Sollami

I'm not sure why, but I can see that you changed several things compared to what I described on StackExchange. Why don't you try to follow the instructions there exactly for now, and without using the Workbench for the moment, and try a minimal package?

I don't know what kind of package structure the Workbench created for you. There's a link in that post to the standard package structure.

POSTED BY: Szabolcs Horvát

Make sure your Kernel extension look like this:

{"Kernel", Root -> ".", Context -> "pacman`"}
POSTED BY: Szabolcs Horvát

I added that and updated my screenshot (above), and clicked "create paclet"... @Szabolcs Horvát

enter image description here

but still same behavior (can't find it) when I load:

enter image description here

The documentation does work though, although a restart of Mathematica is necessary.

POSTED BY: Michael Sollami

@Emerson Willard Thanks for this tutorial. I followed your steps, and the documentation installs properly... but MMA isn't finding my package:

enter image description here

I'd rather not have to do this manually:

enter image description here

So is there some missing step?

Here's what the project looks like (it's just the template application project) setup:

enter image description here

POSTED BY: Michael Sollami

You'd need to show your PacletInfo.m file for people to be able to comment.

POSTED BY: Szabolcs Horvát

@Szabolcs Horvát Thanks, just updated it.

POSTED BY: Michael Sollami

Thanks

POSTED BY: Emerson Willard

I started a community project at StackExchange to document what can go into PacletInfo.m. I see that you are also interested in the same topic. All contributions will be most welcome! Please feel free to edit the community wiki answer there.

POSTED BY: Szabolcs Horvát
POSTED BY: Szabolcs Horvát
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard