How to build a folder structure using morphia or the mongodb API? I am looking for something like this.
folderA
--->folderB
--->folderC
------>fileC
------>folderCA
---------->fileCA
Using cleartool I am able to find all the files associated with a label using something like:
ct find -avobs -version "lbtype (Build-Label)" -print
How do I find all objects changed (including adds and deletes) between two labels?
REPL's are very useful for live debugging and experimentation. Most dynamic languages such as Ruby, Python, etc come with one built-in, however it is more difficult to build one for a statically-typed language such as C++.
Despite the technical challenges, are there any REPL's available for C++?
I'm trying to encourage a best practice of not catching general exceptions in Java code. eg:
try {
...
} catch (Exception e) { // bad!
...
}
Is there a way to flag this as an error/warning in Eclipse?
I know PMD picks this up, but I'd rather avoid integrating it into everyone's build environment at the moment.
So, you build a great shiny cloudy 2.0 website on top of AppEngine, with thousands upon thousands of images saved into the datastore and gigs of data at the blobstore. How do you backup them?
I am a beginner in Android programming. I want to build a simple application with a main list view in the screen and two buttons at the bottom of the screen.
When more items are added to the list view, the list view should scroll without increasing the overall length of the list view.
Currently we are generating HTML Reports for Automation, but those reports are not good enough to explain number of scenario which we cover in Automation, Is there anything we can use with Selenium to generate a proper reports which can give a complete overview and can easily understand by anyone
First Thing we can show a complete pie charts which cover number of test case passed and Failed.
Second thing we can show, what are test cases are there in this build.
hello all
i build ed simple single threaded web server that i embedded to my application in Qt c++
this server are responding fine with simple html pages , but when i try to response with
flash file embedded inside the html all the html string just got printed to the browser
my question is what headers and http responses do i need to unable me to serve flash content to the browser
Thanks
I'm an aspiring iPhone developer and I'm looking for a significant OS iPhone codebase to see how others build apps. I'm especially interested in examples exhibiting some or all of the following:
business/enterprise apps
apps that interact with web services
apps utilising XML
apps using oauth or other authenticate
Personally, I'm less interested in games, but feel free to include any examples for the benefit of others.
I'm asking here because the usual places I've been looking (i.e. sourceforge) don't seem to have the kind of examples I'm looking for.
If I have a models.py like
class WidgetType(models.Model):
name = models.CharField(max_length=200)
class Widget(models.Model):
typeid = models.ForeignKey(WidgetType)
data = models.CharField(max_length=200)
How can I build in a set of built in constant values for WidgetType when I know I'm only going to have a certain few types of widget? Clearly I could fire up my admin interface and add them by hand, but I'd like to simplify configuration by having it built into the python.
I am trying trying to build a web service with client and server side soap attachment. Could you guide to any edocs which would help me learn this in simple steps.
Environment:
java
jax-rpc with attachment handler
Thanks in advance
When I try to run NUnit tests in resharper I get this:
Detected a probable test framework assembly version mismatch.
Referenced test frameworks: 'nunit.framework, Version=2.5.3.9345, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77'.
Supported test frameworks: 'nunit.framework, Version=2.5.0.0-2.5.2.65535', 'nunit.framework, Version=2.4.8.0-2.4.8.65535'.
I use Gallio v3.1 build 397.
Hi,
I'm trying to invoke a built-in activity from my custom CodeActivity for the TFS2010 Build Process.
I've got my own CodeActivity which generates a batch file and I want to invoke the InvokeProcess activity (built-in) to execute that generated file.
Of course I could split it into two activities, but it would be nicer if I could put these actions together. Can somebody push me in the right direction?
Thanks in advance!
Is it possible to build the entire social networking application on cassandra?
Sure, it takes longer to set up, but it scales much better. Correct?
Please list the situations when Cassandra should be used.
I have a library in c:\cppunit\lib, and a header files in c:\cppunit\include.
I come up with this cmake file to build with the library.
How to let CMake to know the library is in c:/cppunit/lib?
PROJECT( cppunitest )
INCLUDE_DIRECTORIES( "c:/cppunit/include" )
??? How to let CMake to know the library is in c:/cppunit/lib
SET( cppunitest_SRC main.cpp testset.cpp complex.cpp )
LINK_LIBRARIES(cppunit)
ADD_EXECUTABLE( cpptest ${cppunitest_SRC})
I need to create multiple /testcontainer: parameters to feed into a task that exec's MsTest.
I have the following :
<ItemGroup>
<TestFiles Include="$(ProjectPath)\**\UnitTest.*.dll" />
</ItemGroup>
for each match in TestFiles I would like to build a string like so:
"/testcontainer:UnitTest.SomeLibrary1.dll"
"/testcontainer:UnitTest.SomeLibrary2.dll"
"/testcontainer:UnitTest.SomeLibrary3.dll"
I am trying to use the internals of MSBuild without having to create a custom task, is this possible ?
TIA
Dear experts,
I download the Android code and "make sdk" to build out my own SDK, but the emulator from this SDK does not work well -- it only shows the black window with the "ANDROID" string, but I can't see any desktop picture or any applications. what's wrong here? anyone could please provide me a hint? Thanks a lot.
I use the command:
$./emulator @jiawelin -debug all
and the last output message is:
emulator: android_hw_control_init: hw-control qemud handler initialized
With my current code base I'd like to build two or more different versions of my Android app (free, premium, ...). For the iPhone (XCode) I can definte different targets. Is there something similar implemented in Eclipse?
Looking at the general trend of comments in my question about Building an Aircraft using Agile, the biggest problem other than cost appears to be safety.
Do people feel that it is not possible to build a safe system (or prove it is safe) using agile? Doesn’t all the iterative testing mitigate this? Is it likely that a piece of software developed using agile will never be as reliable as counterparts such as waterfall?
I need to supply "Source code documents w/ Line numbers" which is essentially just a PDF of the source code with syntax highlighting and Line numbers. Is there any existing command line tools for windows that I could call from a script as a "build release version" script?
Right now I'm doing it manually using VC++, which isn't even the dev enviroment the code is for a TI processor, and a PDF printer driver, which has a pop up for each file I print.
Is it possible to build a music player in assembly (I'm thinking along the lines of NASM)? What are the obstacles one might face in the process of building one?
I have a question about idioms and readability, and there seems to be a clash of Python philosophies for this particular case:
I want to build dictionary A from dictionary B. If a specific key does not exist in B, then do nothing and continue on.
Which way is better?
try:
A["blah"] = B["blah"]
except KeyError:
pass
or
if "blah" in B:
A["blah"] = B["blah"]
"Do and ask for forgiveness" vs. "simplicity and explicitness".
Which is better and why?
my lecture wants us to build module where we need to identify each read process and where the same read process called twice on the same writer massage we should insert him to an queue who's we wake up when all readers have read I achieved this goal by by using list of pid's and boolean read/not_read inside each node but he decided to be nasty and require us to it with some argument from FILE struct can you please help me ?....
I hear all this stuff about crazy ways to build iPhone apps using Ruby or C# under .NET or the like. Even stuff about developing apps on Windows using Java, or auto-generated apps using Flash CS5 or something.
Now, I've never really spent any time at all investigating these claims—I just brushed them off as clumsy or cumbersome or down-right claptrap—but I'm a proud Objective-C programmer who's perhaps a little worried as to whether there's any truth in all of this?