Skip to content
Permalink
Browse files

Update README.md

  • Loading branch information...
damencho committed Feb 20, 2015
1 parent 72af914 commit 2127a47eec74b1db3c0644b7f97d0c7e76e3f162
Showing with 21 additions and 0 deletions.
  1. +21 −0 README.md
@@ -1,2 +1,23 @@
# growl4j
the OpenSource Java Solution for using Growl

1) To generate "growl4j.jar" and "libgrowl4j.dylib", just enter "ant make".

Any sowtfare using growl4j must sets the relative path between the native
dynamic library "libgrowl4j.dylib" and the Growl framework location. This can be
done by using the "install_name_tool" conforming to the following example:

// Check the current path between "libgrowl4j.dylib" and the Growl.ramework:
$ otool -L libgrowl4j.dylib
[...]
@executable_path/../Frameworks/Growl.framework/Versions/A/Growl
[...]

// Modifies the path used to find the Growl.framework ("\" is used to remove the
// trailing characters):
$ install_name_tool -change \
@executable_path/../Frameworks/Growl.framework/Versions/A/Growl \
/Users/toto/software/Growl-1.3.1-SDK/Framework/Growl.framework/Versions/A/Growl \
libgrowl4j.dylib

2) To clean "growl4j.jar" and "libgrowl4j.dylib", just enter "ant clean".

0 comments on commit 2127a47

Please sign in to comment.
You can’t perform that action at this time.