I am running a Maven (2) release build with with: mvn -f release.xml clean deploy
and want to get the currently running pom file name (release.xml) into a property or mojo.
Is it possible?
is there any way to embed two different exe's build in different environment..can be made to embed in one..
like i want to embed c# running program in the asp program??
I'm trying to mock a class method with rspec:
lib/db.rb
class Db
def self.list(options)
Db::Payload.list(options)
end
end
lib/db/payload.rb
class Db::Payload
def self.list(options={})
end
end
In my spec, I'm trying to setup the expectation Db::Payload.list will be called when I call Db.list:
describe Db do
before(:each) do
@options = {}
Db::Payload.should_receive(:list).with(@options)
end
it 'should build the LIST payload' do
Db.list(@options)
end
end
The problem is that I am always receiving the following error:
undefined method `should_receive' for Db::Payload:Class
Any help understanding this error would be most appreciated :-)
Hi, is it possible to make something similar to the following with Postgresql without using a function?
pseudo sql code:
select * from sometable where somecol = somevalue AND someothercol IN exec( 'select something from exclusionlist' )
My primary intention is to build up a table with predefined queries to call inside a where clause
pseudo sql code:
select * from sometable where somecol = somevalue AND someothercol IN exec( select query from predefinedqueries where id=someid )
I can't run Content Shell on my system (Windows 7 x64):
When i run --dump-render-tree with the stable release content_shell.exe crashes with message: [XXXX:XXXX:0522/XXXXXX:XXXXXXXXX:FATAL:content_main_runner.cc(735)] Check failed: base::i18n::InitializeICU() were X - some number. And i can't run dev build because it misses mojo_system.dll.
Is there any way to fix it? Does it work on Linux or MacOS? If so i probably can run it in VM For the time being.
Any ideas why Xcode wont let me define a c++ class in my cocoa project?
I am trying to use a C++ class in my cocoa project but I am getting build errors just creating the c++ header file.
class SomeClass{
public:
int count;
}
Expected '=', ',', ';', 'asm' or 'attribute' before 'SomeClass' in .....
If I remove all code from the header file, ?the cpp file builds without any errors and is included in the list of compiled sources...
I want to build a simple application that looks up words against Wiktionary to see if they exist. Is there a standard API supported by the Wiktionary software that would let me do this? Alternatively, is there any way I can pull down the dictionary data that backs a Wiktionary? There are many international variants who's data I would love to put a different front-end around.
Hello everyone,
I have a contact form and I added an image as a background. The background image is flickering when I move the mouse over the fields in IE(6,7,8).
If I remove the contact form (made with divs) everything is fine. I tried to build the form with table and I have the same problem.
Any solution?
Every idea is welcomed!
Thanks!
hi ,
I am new for java and iam doing the project with extjs & JAVA ,i using eclipse version (Eclipse Java EE IDE for Web Developers.
Build id: 20100218-1602) .
Can any one suggest any javascript debugging plugin for this id or pls provide link..
Thanks in advance
Hi dears,
I have an application build in C# for reading and saving SMS and MMS, now i want to add another functionality of reading EMails through my C# application using any mail servcies e.g gmail, hotmail or yahoo?
How to do this in C#?
I'm not experiencing any performance issues, however I'd like to take a look at what takes how long and how much memory cpu it uses etc.
I'd like to get a firsthand understanding of which things can be bottle necks etc and improve any code i might reuse or build upon... (perfectionist)
I'm looking to create a litte function that i can call at the begining and end of each function that records:
execution time
memory used
cpu demand
any ideas?
The idea is that I want to build a small app that detects if the webcam is being used and by what.
I have thought about seeing who has use of the Twain.dll somehow (like the way process explorer knows)
It's for a security style app that picks out weird webcam behaviour.
Ideally I would use C# as it's my strong point, but I'm guessing it won't be that nice.
Is their something like iframe in c#?
I want to build an application with one form that its content changes according to the actions I do, like messenger live. The part when I log in and log out its too different "windows" but it happens in the same form.
i want to build a db file where i can
1.withdraw relevant info from tables I already inserted there
2.add to this db file new values
but the main thing I want db file with info already stored in the application where 1,2 are optional from it can someone please help me ? it will mean a lot thanks :)...
I have a bunch of dimension tables that have unique ID and Name fields. I need a T-SQL function that returns an ID when passed a table name and a value for the name field.
I'm guessing the query would build a little query then execute it? Performance isn't an issue since this is a one time ETL thing.
A project that involves image processing, i.e. to calculate the angular shift of the same image when shifted by a medium of certain Refractive Index. We have to build an app that correlates the 2 images (phase/2D correlation?) and then plot using Chaco and Mayavi (2 libraries in Python).
Is there any other existing template software (FOSS) that we can base our app on, or use it as a reference?
Hi,
I'm trying to achieve a requirement in Pre-requisites part of my package:
The package should be able to check for the presence of a specific Operating System or Microsoft Patch on the target machine and block installation if the specified OS&patch is not found. I want to pass this information from Configuration xml or ini file, so that installer need not to be edited and build again for changes in requirements.
Any ideas on how to achieve this!!
I've read that it's important to call setContentView() early in an activity since it builds the view objects that may be manipulated by subsequent code in onCreate().
In terms of lifecycle, does the view get drawn to screen as soon as setContentView() is called, or does it allow the onCreate() function to build/populate the information in the view objects, and wait to actually draw it after onCreate() completes?
Thanks!
Hello I want to utilise Microsoft indexing service , but I dont like to fact they you need to manually index the files and build the catalog. Is there a way to automate this eg, call an api from code, as a scheduled task , or perhaps command line commands that will index a folder and built the catalog. This is for a searching a document repository built using asp.net
Thanks
Hello!
I have some code which shows a simple dialog box and handles user action (written using plain WinAPI).
// Display dialog and handle user action
LRESULT choice = DialogBoxParam(NULL, MAKEINTRESOURCE(AP_IDD_DIALOG), NULL, (DLGPROC)DialogCallback, NULL);
Is there any way to hardcode the resource file dialog.rc, which is used to build the dialog ?(I would like to get rid of .rc files and I'm pretty sure there is a way, yet I don't know what it is :)
Is there a library or good tutorial which covers creating in-app settings, like this:
http://img.skitch.com/20090625-s8bf6ahybwe3cesd1id38h3nt.jpg
What I would like is if it:
doesn't use the built-in Settings app
is controlled by a plist file with various Dictionaries and Arrays
creates a nice looking table view
allows text fields as well as switches and sliders and ticks etc
doesn't have any of the annoying problems I've come across when trying to build my own version (not scrolling to show the textfield, cells disappearing)
It would appear that the iphone dev world is crying out for such a thing.
THANK YOU!
I can compile the DLL project without any error. It says "Build succeeded".
But I don't see any DLL file in the Debug or Release folder.
There are only .exp, .lib and .pdb files
I've been working far too long with php and getting bored with it. I also want to learn a new language. I've been using Ruby and like it. I've to decide between Rails and Sinatra, which one would you recommend? Is it true that Sinatra can't be used to build complex apps, and its only for simple apps?