This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Using shortcuts for custom code jar location
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 04, 2010
01:15 PM
Using shortcuts for custom code jar location
I have a question about using custom code. I have an installer that is working great, but because the jar location for the custom code is the full path (and it is called many times), it would be hard for anyone else at my company to build a new installer.
I tried creating a shortcut to the jar so that other developers would just need to create the same shortcut (lets say, C://myShortcut), but direct it to where the jar is located on their machine (lets say, C://myDevelEnvironment/ProjName/dist/jarName.jar). The problem is that when I press the "Choose jar or zip" button (to specify the path for the custom code jar) the shortcut is not recognized.
Alternatively, it would be nice to just say that the file is up 3 directories, and then under a dist directory (../../../dist), but that doesn't seem to be a valid option either.
How have others dealt with this issue? It seems absurd to have to change all developer specific paths each time someone else picks up the code...
I tried creating a shortcut to the jar so that other developers would just need to create the same shortcut (lets say, C://myShortcut), but direct it to where the jar is located on their machine (lets say, C://myDevelEnvironment/ProjName/dist/jarName.jar). The problem is that when I press the "Choose jar or zip" button (to specify the path for the custom code jar) the shortcut is not recognized.
Alternatively, it would be nice to just say that the file is up 3 directories, and then under a dist directory (../../../dist), but that doesn't seem to be a valid option either.
How have others dealt with this issue? It seems absurd to have to change all developer specific paths each time someone else picks up the code...
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 04, 2010
02:23 PM
What you seem to be is the Source Path concept: i.e. you define a source path for your project, which is the root path from which all the installer components are located, and then each developper can define their own source paths!