Sunday, April 20, 2014
Saturday, April 12, 2014
JRebel and NetBeans
I have been working in ZeroTurnaround OU and one of items under my responsibility - the JRebel plugin for NetBeans platform. For snapshot versions of the plugin I have opened the shared folder and early snapshots of the plugin can be found in the folder .
PROL is now an OSS project
I had got a request from a Japan graduate student to open sources of my Prol engine (it is a small Prolog engine written in Java with embedded GUI editor), so that now it is an OSS project under Apache License 2.0
If you are going to use the engine then please keep in mind that it was developed for academic purposes and to check some ideas and tested not very well.
If you are going to use the engine then please keep in mind that it was developed for academic purposes and to check some ideas and tested not very well.
Monday, December 9, 2013
Pulling and updating of bunch of Mercurial projects in the same folder
A Useful bash script allows pulling and updating of bunch of Mercurial (Hg) projects placed in the same folder. These project repositories should desire the same credentials for authentication.
#!/bin/bash
set -e
echo
echo "The Script allows to make bunch pulling and updating of all Hg projects found in the current folder"
echo "Author: Igor Maznitsa (http://www.igormaznitsa.com)"
echo
echo -n "Enter name, followed by [ENTER]: "
read hgUserName
echo -n "Enter password, followed by [ENTER]:"
read -s hgUserPassword
echo
folderCounter=0
for dir in $(ls -d */)
do
echo ----------------------------------
echo "Detected directory $dir"
if [ -d "./$dir/.hg" ]; then
echo "Making pull and update"
defaultPath=$(grep "default" "./$dir.hg/hgrc")
extractedPath=${defaultPath#*default*=}
extractedPath="${extractedPath#"${extractedPath%%[![:space:]]*}"}"
extractedPath="${extractedPath%"${extractedPath##*[![:space:]]}"}"
echo "Path $extractedPath"
hg --config auth.rc.prefix="$extractedPath" --config auth.rc.username="$hgUserName" --config auth.rc.password="$hgUserPassword" -R "./$dir" pull -u
echo
folderCounter=$[$folderCounter+1]
else
echo "WARNING: Directory $dir is not Hg repository"
echo
fi
done
echo "The Script work has been completed"
echo "Updated $folderCounter folder(s)"
exit 0
Monday, July 15, 2013
Java performance Mind Map is published on GitHub
I have published my Java performance mind map on GitHub as an OSS project, the link is https://github.com/raydac/Java-performance-mind-map . The Map can be edited in a great tool called XMind (http://www.xmind.net).
Sunday, February 17, 2013
Java Comment Preprocessor 5.3
I am glad to notify all that the new 5.3 version of my Java Comment Preprocessor is out. It is the most powerful preprocessor for Java with support of Ant, Maven and CLI and I guess that it is the one of the oldest Java preprocessors. In the new version I have added the feature to keep preprocessed non-active strings as commented ones in the output to give the possibility to save the line numeration in the resulting sources. The Mode is turned on through the /k directive for CLI, or through the keepLines parameter for Maven and ANT.
Wednesday, September 12, 2012
NetBeans 7.2, workaround for the predefined "Idea" keymap issue
I use the NetBeans IDE for long years and I was very waiting for he new 7,2 version, unfortunately I have found a terrible critical issue for me in the IDE - a NullPointerException is being thrown when I am trying to change the keyboard map to the IDEA in the "Options->Keymap".
It is very critical for me and I am sure that the feature is the most important for any IDE. The 7.2 version has been published already more than 2 months and I read that the bug has been fixed but the corrections will be published only in the future version. I tried to use the development version where the bug has been fixed, but the developer version contains a lot of other bugs and can't be used for development (for instance there are a lot of exceptions when you are trying to work in CSS ans JS editors).
Fortunately I found some workaround for the keymap issue in NB 7.2:
1. Open Tools->Options->Keymap
2. Press "Manage profiles"
3. Choose the "Idea" in the list and press "Duplicate"
4. Select the new duplicated "Idea" profile
5. Restart the IDE
After the restart I have the IDEA key-map working on my machine without any exception.
It is very critical for me and I am sure that the feature is the most important for any IDE. The 7.2 version has been published already more than 2 months and I read that the bug has been fixed but the corrections will be published only in the future version. I tried to use the development version where the bug has been fixed, but the developer version contains a lot of other bugs and can't be used for development (for instance there are a lot of exceptions when you are trying to work in CSS ans JS editors).
Fortunately I found some workaround for the keymap issue in NB 7.2:
1. Open Tools->Options->Keymap
2. Press "Manage profiles"
3. Choose the "Idea" in the list and press "Duplicate"
4. Select the new duplicated "Idea" profile
5. Restart the IDE
After the restart I have the IDEA key-map working on my machine without any exception.
Subscribe to:
Posts (Atom)