Jar Tool - User Guide |
|
1 |
Creating new archive |
![]() |
|
![]() |
|
This will create a file in the sub folder "archive_projects" (if not exists) and .jarprj (jar project) file with the specified name. This action also will open the jar project editor window to you to configure your build. You can create as many as archive project files within any idea project. |
|
2 |
Opening the existing archive project |
By simply clicking on the .jarprj file it will open the editor window back. NOTE : you will be prompting to register the file type .jarprj on first use. Register the file type in the category "Archive Files" (any other file type except "GUI form" will not give problems) |
|
3 |
Archive Properties |
Essential details of the archive can be defined in this screen. All the relevant details will be set with default values based on the IDEA project information and the name you have given to the .jarprj file. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Project Resources |
This screen will provide you the facility of selecting the classes & resources from your project output paths in to the archive. |
|
![]() |
|
All the contents of your IDEA project output paths including other modules will be listed down in this screen. All the directories of the output paths are displayed on the top table and the classes are listed in the bottom table. This will enable you to select or deselect the entire directory by a single click. Select / Deselect All menus on right click will facilitate you to choose the resources easily. If the "Include All Project Resources" tick box is selected on the "Archive" tab, then the directories table will be hidden and the list will be made non editable. Upon selection of classes/directories they will be highlighted by different colour. If the directory is selected and a new class is added to the project in the same directory, they will be automatically selected in to the build archive. It is not required to go and select the newly added classes again in to the project. By clicking on the table header, you can sort the classes / directories which will enable you to find them easily. |
|
5 |
Libraries |
You can include required third party libraries into to your archive build. This will enable you to distribute your work as a single jar archive file. |
|
Selected libraries | |
When you select your libraries they will be listed in this table. You can use the right click menu or the Del key to remove them. |
|
By selecting the tick box on "Signed" column, you can defined the signed libraries. Signed libraries cannot be directly added in to your archive. They will be copied to the directory defined by "Path to Signed Libraries" and the Manifest file will be altered in order to define the class path for these selected entries. |
|
Selecting Libraries | |
|
|
![]() |
|
Library order | |
|
|
![]() |
|
6 | Other files |
Other files like configurations, settings, images etc. can be included in to your archive. If these are available in the IDEA project output directory, then you don’t have to add them in to this list. They will be picked from the project resources tables. The idea file chooser is provided from the right click to navigate and select the files easily. When the files are added, if they are in the IDEA project directory or in a subdirectory of the project directory, they will be added to the archive while maintaining the directory hierarchy. It will automatically create the directory structure within the archive based on the folder structure. Files outside the project directory will be added to the root directory of the archive. |
|
![]() |
|
7 | Library Sources |
Source files of the libraries can be added in to your archive. Selected libraries will be listed down in this screen. |
|
Selected source archives | |
![]() |
|
Selecting source archives | |
|
|
![]() |
|
8 |
Building the Archive |
After making all your settings you can simply build the archive by clicking on the "Make" button. This will bring up a progress bar and a message window, indicating the steps of the process. You can set the progress bar to background mode which will enable you to continue your work on the project at the same time while the archive is being made. "Clean " will delete both your binary archive and source. You can also build the archive by selecting the .jarprj jar project file and "Make Archive" from the project pop-up menu. This will enable you to select multiple jar projects and build them at once. |
|
9 |
Save & Refresh |
"Save" will store all your configurations on the project file and "Refresh" will bring the file data in to the UI. "Refresh" will enable you to undo and revert back to the original file. Saving the changes will be automatically done when you exit from the jar project editor. |
|
![]() |
|
10 |
Issues & Bugs |
|
|
|
|
11 | Feedback |
Please send your feed back on the "Jar Tool" plugin to ruwanpls@gmail.com |
|
Copyright © 2006 Sanjeewa Ruwanpathirana Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |