- 18/5/2013 3 days ago
Recently I was trying something with AngualrJS for one of my official assignments while studying its features I got an idea to develop an UI for creating SBT build files and that SBT-Giffy.
The idea of sbt giffy is to capture the very basic details which goes in to the build.sbt file in an web based UI. SBT-Giffy provides a nice way to specify the dependencies by capturing groupId, artifactId and version with a typeahead text fields and as many as dependencies could be defined, I believe this would eliminate the pain for developers from searching through the maven repository.

Once defined , SBT-Giffy generates the build.sbt file could be previewed which in turn could be copied to create a build.sbt file.

As of now this is a pet project and is hosted in github here.
Some of the features that are coming up
> capture JAVA_OPITONS
> multi-project builds
> define custom maven repositories.
> support for creating giter8 templates
> improve the UI !!!
A small video (created by me , with some sound distractions !!!! )
If your are interested Feel free to fork and send your pull request to make this better
Feel free to post your comments or suggestions about this tool
- 3/4/2013 1 month ago
Recently I was working with sbt and ran in to an issue. My sbt was not proceeding further to build code it said :
> sbt
Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
The root cause was java could not allocate enough memory to start sbt.After googling I found that we can set an environment variable to allocate memory space using the _JAVA_OPTIONS variable.
> _JAVA_OPTIONS="-Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled" sbt
since it doesn't make sense to issue the _JAVA_OPTIONS I went ahead to append those to my ~/.bashrc so that I get that executed every time I login.
If your ever face such issues with sbt make feel free to make of this tip :-)
- 1/4/2013 1 month ago
I had a requirement to read messages from a queue , I was looking for a lightweight message broker then I found FFMQ. The site has a documentation for configuring client and server side.
This post I would like to show how to publish and read messages from FFMQ.