Jump to content
Excelsior Forums

Manually edit .jpn files

Recommended Posts

I am having the same problem as described in the "Relative paths in project files?" discussion where I need to run JetPack/xpack from different directories. As described there, I am also storing my .jpn files in a sub-directory of my main project directory (a directory called jet/project/).

I understand one solution is to move the .jpn files up to the root project directory. However, I have several .jpn files for different distributions and would rather not clutter my root directory with .jpn files. Also, all my other JET related files are in my 'jet' subdirectory.

Currently because my .jpn files are located in a subdirectory, JetPack is not re-mapping the file paths.

I would like to figure out a way to edit the .jpn file so I can either a) convert all the paths to relative paths (eg: ../../src/some-file) or B) edit the absolute path each time to reflect the current absolute path.

We are currently able to do this for the .prj files, but not for the .jpn files. I think this is because of the encoding. Most of my editors won't even read it properly. I can edit the file in Visual Web Developer, but when I save it, JetPack can no longer read it.

What encoding is used for these files and is there a way to manually edit the files?


Share this post

Link to post
Share on other sites


JetPackII projects should not be modified manually. JetPackII uses relative paths if possible (relative to the project root directory within one disk). The solution may be to create a script that copies the jpn project files to the root project directory, build the package and then delete the project file. Is it suitable for you?

We plan to solve this limitation (relocation of jpn projects) in the next version of Excelsior JET.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now