Feb
11
Written by
admin
How exactly do you escape special characters from ANT? Say if you need to add extra ” quotation characters within a property which already has a set of quotes?
Here’s how to do it — use XML Character entity references:
For > use >
For < use <
For “ use "
For & use &
For ‘ use '
Any other characters you need? Drop me a line..
Jan
20
Written by
admin
I ran into another not-so-clear Perforce error message today while trying to import a new project to an existing depot. I had a new project1 which I wanted to import into the existing // depot, but when I tried to add via P4V or ‘p4 add’ in the command line, I kept getting this message:
D:\Work\P4>p4 client myproject_foo
Error in client specification.
Mapping ‘//some_directory/…’ is not under ‘//some_other_directory/…’.
Hit return to continue…
After fumbling around, I found that I had to create a depot first as the superuser in the command line before I can import/add the new project:
p4 depot new_project
Then now I can add new project to my clientspec in the command line like this:
p4 client (it will open a notepad window, just add your new project under the ‘View:’ section, save, and close)
Now you can do ‘p4 add’ or using P4V to import your new project.
May
17
Written by
admin
Are you using CruiseControl 2.7? Have you inspected the CC log lately? Seeing this error message?
atusReportTask- Failed to reach dashboard instance : http://mydomain.com:8080/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem
Recently I’ve been experiencing some build wlappc jspc freezing issue which I’ve fixed and works fine when I run it via command line, but the build continue to freeze when it invokes via CruiseControl. Turns out, there were quite a few people who have experienced the same problem.
To fix it, I just ugpraded my CruiseControl suite from 2.7 to 2.8.2. Quick and clean fix, forget spending time troubleshooting this problem at the low levels. No time for that, software release must go out on schedule…