Skip to main content

Posts

Showing posts from 2009

Clearcase undelete file

Suppose user has mistakenly deleted file /org/projects/rahul/data.xml. To get back the file in clearcase revision, do following steps: From a dynamic view, go to /org/projects/ folder. /org/projects$ cleartool desc rahul This will print information like, directory version "rahul@@/main/3" created 2009-12-30T04:02:42-05:00 by Rahul Singhai (singrahu@gmail.com) "Version created by Namespace modification subsystem Uncataloged file element "data.xml"." Element Protection: User : rahul : rwx Group: singhai : rwx Other: : --- element type: directory predecessor version: /main/2 Get lastest version of affected folder and type /org/projects$ cleartool rmver -ver /main/3 rahul This will remove latest version from clearcase, and folder will rollback to previous version.

Install Flash player 10 debugger verion in Linux

Installing Flash player 10 debugger version in Linux, by running $sudo ./flashplayer-installer command, gives following error: [: 258: closing paren expected ERROR: Your glibc library is older than 2.3. Please update your glibc library. To fix the problem, make file flashplayer-installer writable and edit it. Comment the if-else condition in check_glibc() method, as follows: # if [ \( $GLIBCMAJOR -ge $MIN_GLIBCMAJOR \) -a \( $GLIBCMINOR -ge $MIN_GLIBCMINOR \) ]; then echo "valid-glibc" # else # echo "invalid-glibc" # fi Save the file and run it.

OutOfMomory on running Ant build in Eclipse

Running Ant build via Eclipse may throw following error: Error: Java heap space java.lang.OutOfMemoryError: Java heap space To overcome this error, we need to increase the maximum heap size for JVM. Complete steps are: Select Run > External Tools > External Tools Configuration... Select New launch configuration button. Give any suitable name. On "Main" tab, specify build file. For e.g., C:\project1\build.xml On "Targets" tab, specify targets and their orders to run. JRE tab, select "Separate JRE:" and specify the JRE installed. In my case it is jdk1.6.0_17. In "VM arguments", add -Xmx500M for 500 MB of heap space. Press Apply button. Press Run or Close button.

Error #1034: Type Coercion failed: DragManagerImpl to IDragManager

My Flex application is divided in modules, and I am having an advanced data grid in one of them. While clicking on the advanced data grid, I am getting following error: TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::DragManagerImpl@1ae729c1 to mx.managers.IDragManager.     at mx.managers::DragManager$/get impl()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\DragManager.as:202]     at mx.managers::DragManager$/get isDragging()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\DragManager.as:242]     at mx.controls.listClasses::AdvancedListBase/dragScroll()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\listClasses\AdvancedListBase.as:6821]     at Function/http://adobe.com/AS3/2006/builtin::apply()     at SetIntervalTimer/onTimer()     at flash.utils::Timer/_timerDispatch()     at flash.utils::Timer/tick() I fixed it by adding creating an instance of IDragManager in my main application class: <fx:Script>     <![CDATA[

Cruisecontrol: Build fails at junitreport task because of incompatible xslt processor

CruiseControl build fails at junitreport task because of incompatible xslt processor. Error message shown is: Error message: ScriptRunner - [junitreport] : Warning! Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor This can be fixed by specifying anthome in ant task: <ant anthome="C:\Program Files\CruiseControl\apache-ant-1.7.0" buildfile="cc-build.xml" target="build-test"/>