While looking for an ant build script generator, I came across ebuild and found it interesting. With this, I no longer really need to maintain a “generated” ant build script. :)
I needed to use Subversion
externals property to define a reference to a file. Based on this blog, here are my notes:
Let’s say that you want to have Subversion to use the following file from another directory:
And have the file download into the following file in your project:
myproject/lib/thelib.jar You should have
lib directory already exist.
myproject folder, create a text file. This is necessary if you plan to have multiple references.
$ cat > svn_externals_config.txt lib/thelib.jar https://mysvnserver.com/svn/shared/lib/thelib.jar
Use Ctrl-D to exit the data entry mode. Alternatively, you can use your favourite text editor to create the text file.
If you want to reference a folder instead, you can have the following definition:
Make sure that the local
lib folder doesn’t have
aThirdPartyLibFolder or you may get the following error:
svn: warning: Working copy 'aThirdPartyLibFolder' locked.
Now you can set the
svn:externals property by running the following lines:
svn propset svn:externals . -F svn_externals_config.txt svn update
Once you are set, you can commit the externals definition by running the following command:
svn commit --depth empty . -m "Modify svn externals definition only."
Update 20110926: In Fedora 15, you can just install subversion-javahl-1.6.17-1.fc15 from Add/Remove Software tool, much easier than the method described earlier. :)
When trying to run Subclipse, I got the following error:
Failed to load JavaHL Library.To get JavaHL loaded for Subclipse on Fedora, I had to first register on Collabnet before attempt to install JavaHL rpm from this location. Once installed, I had to run
export LD_LIBRARY_PATH=/opt/CollabNet_Subversion/libon the command line before running eclipse.
I came across this howto and found it very useful.
Here are some information that I found on the net about JavaOne 2010. Feel free to comment with additional resources. To start, Oracle posted some video highlights. If you have JavaOne login, you can view the full versions at On Demand site. If not, you can still see some of the contents here. Beyond that, here are posts from various speakers on their talks and related links.
- Oracle Technology Network Live Show Notes.
- JDK 7 features list See also: Project Jigsaw, and Project Lambda
- Project Coin: Small Language Changes for JDK 7 See also Project Coin
- Notes on Kohsuke Kawaguchi’s presentation on Hudson
- Hands-on with RichFaces See also: PrimeFaces
- What’s cool in Apache MyFaces?
- JSR-299 (CDI), Weld and the Future of Seam
- Beginning Java EE 6 Hands-on Lab
- Versioning Strategies for Service-Oriented Architectures
- Advanced Java API for RESTful Web Services (JAX-RS) and examples
- Building Powerful WebSocket, Comet, and RESTful Applications Using Atmosphere
- What’s Next for Java API for RESTful Web Services (JAX-RS)
- Put your client and server to REST with JAX-RS
- OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
- Instructions for OSGi-enabled Java EE Applications Hands-on Lab: docs, solution
- OSGi Migration headaches
- OSGi at a Large-Scale Enterprise: Lessons from eBay
- More Best Practices for Large-Scale Websites Lessons from eBay
- 7 Deadly Sins of Enterprise Java Programming and Deployment in the Multicore Era
- One VM, Many Languages See also the Da Vinci Machine Project
- Examining FOSS Java* Implementations for ARM Systems
- JavaFX Your Way: Building JavaFX Applications with Alternative Languages
- Concurrency Grab Bag: More Gotchas, Tips, and Patterns for Practical Concurrency
- Groovy to Infinity and Beyond
- jclouds: multi-cloud framework
- GlassFish: The future of the community
- Groovy and Grails BOF Podcast
- Java Posse #324 – Live from JavaOne 2010
- Developing Composite Applications for the Cloud with Apache Tuscany
Abstract Mashups for Enterprise Java
- Building Enterprise Applications with JavaFX
Here is one way to sync Faceboock contacts with Yahoo and Gmail.
Here are some interesting wireframing tools
Here are some useful cheat sheets for web developers
Google Form is a pretty cool survey tool. It is relatively easy to use in general. Once you wish you insert a picture, it can get complex very quickly.
Special thanks to nicolabv at this thread. The tweak to change
DisallowTCP helped me to send X display from HP-UX to Fedora. The only other change I made was to disable firewall.