I'm experimenting with the spring 3 MVC framework. Since i use maven 2 to manage my project, i'm searching for a archetype to create a spring 3 MVC application.
Hello,
I'm having an obnoxious and weird problem while trying to include the ThinkingTank gem into my rails project. When I include gem 'thinkingtank' in my project's Gemfile I get the following error:
~/.rvm/gems/ree-1.8.7-2010.01/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require': no such file to load -- rails (MissingSourceFile)
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/thinkingtank-0.0.5/lib/thinkingtank.rb:1
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in `require'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in `require'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in `each'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in `require'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in `each'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in `require'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/bundler-1.0.7/lib/bundler.rb:112:in `require'
from ~/git/myproject/config/boot.rb:121:in `load_environment'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/rails-2.3.5/lib/initializer.rb:137:in `process'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
from ~/.rvm/gems/ree-1.8.7-2010.01/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
from ~/git/myproject/config/environment.rb:9
from ~/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/irb/init.rb:254:in `require'
from ~/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/irb/init.rb:254:in `load_modules'
from ~/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/irb/init.rb:252:in `each'
from ~/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
from ~/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/irb/init.rb:21:in `setup'
from ~/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/irb.rb:54:in `start'
from ~/.rvm/rubies/ree-1.8.7-2010.01/bin/irb:17
The output from ruby -v is:
ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin10.6.0], MBARI 0x6770, Ruby Enterprise Edition 2010.01
And the output from rails -v is:
Rails 2.3.5
I've followed the basic guidelines from their documentation and from similar SA questions. But none of issues have the rails gem going missing..
And yes, we are including rails in our Gemfile =)
Thank you in advance.
Hi
I've got a Flex 3 project. I'm having a problem with XML in Internet Explorer only. Pls see the problem lines below:
_clickURL = [email protected]();
_mediaSource = [email protected]();
These variables are coming up "" in IE. But, they grab the data in Safari and Firefox.
Any suggestions as to what the problem might be? Possible solution?
Thank you.
-Laxmidi
I'm working on a ASP.NET MVC project where we have decided to use Fluent nHibernate for dataccess. To enable loose coupling we go for a IoC/DI pattern. My questions is what IoC tool to go for. I've tried to find the differences between windsor, ninject, spring, structuremap and unity, but it's difficult to see the benefits each one has to offer. Whats your experience?
I am actually on my project on compiler with SMP, and want to code with pthreads and heard about many parallel things open mpi and so on, So to start with how this thread is allocated to core while calling pthread,Is there any way to give threads to different cores by pthreads?
Hi,
Im doing a small project in C++ in LINUX PLATFORM.i need to search 10 or more PDF files and find required data.how can i do so?.
i will make my question more clear with following eg
suppose i have ten text books all about c++ and i need info about the topic array and how i can search the pdf and find data?
thanks in advance
hi all
i have configured myeclipse for running weblogic via it.
it can be run but there is a problem!
i have written a project and deployed it to the container.
when i am running weblogic server without my eclipse it works fine
but when i am run it via myeclipse i get the pagenotfoundException!
i have weblogic ver 10.3 and my eclipse ver 7.5
is any help?
thanks
I've read lots of tutorials on how to deserialize a JSON object to an object of a particular using DataContractJsonSerializer. However, I'd like to deserialize my object to a Dictionary consisting of either Strings, Arrays or Dictionaries, such as System.Json does with SilverLight when I say JsonObject.Parse(myJSONstring).
Is there an equivalent to System.Json that I can use in my WPF project?
(just a short background: I'm fetching JSON objects that have way to much info, and I just want to use a little bit to fill out a String array)
Cheers
Nik
Web config has debug=true and the project is a debug build and the pdb files are present in the bin directory, but I do not get line numbers in my stacktrace when an execption is thrown.
Works fine with local IIS/Cassini but not on our test IIS servers. Is there some obvious setting that I might be missing?
I do not have many kinds of Exceptions in my project.
Right now,(we use MVC) I have the try catch encompassing my entire code:
try{
fronController::dispatch($somthing...);
}catch(Exception $E){
//handle errors
}
I wonder if there is a good reason to use the try-catch block in as specific as possible way as I can or just keep it general as it is now?
Hello,
I am working an a project to build an arcade site with PHP. I am considering using ADOdb Lite or MySqli. Which one is better for performance, speed and security?
Thanks,
Any recommendations re whether to got MSTest or NUnit for a new project in VS2010 (C#), mainly focused at business logic layer unit tests?
Is there any major reason why I wouldn't just go with the VS2010 MSTest which is integrated there?
Hello, I have a simple project on C#.NET and have written it in Visual Studio 2010. I am a newbie in C# and Visual Studio.
I have written some unit tests, and they pass ok, but how can I test code coverage?
Thanks in advance.
I have been given a project of editing a website which is coded in RoR.
However, the changes which i make in the view file is not visible immediately after a hard refresh but after 15-20 mins, the changes reflect. I am guessing this has something to do with the RoR caching system.
Can someone please help me out ? The changes i made are purely HTML based like changing HTML attributes, filenames etc...
Hi
I accidentally deleted my sdk 3.0 directory, thinking I didn't need it.
Now when I launch and compile a project it says that my base sdk is missing.
Where can I download the 3.0 sdk? All that is available in Dev Center are the 3.2 and 4 beta sdks?
I have an xsd (for basecamp xml) that contains
<xsd:complexType name="ProjectType">
<xsd:sequence>
<xsd:element name="announcement"
type="TypedNilableStringElementType"
maxOccurs="1" minOccurs="1">
</xsd:element>
<xsd:element name="created-on"
type="TypedDateElementType" maxOccurs="1"
minOccurs="1">
</xsd:element>
<xsd:element name="id"
type="TypedIntegerElementType" maxOccurs="1"
minOccurs="1">
</xsd:element>
<xsd:element name="last-changed-on"
type="TypedDateTimeElementType" maxOccurs="1"
minOccurs="1">
</xsd:element>
<xsd:element name="name" type="xsd:string" maxOccurs="1"
minOccurs="1">
</xsd:element>
<xsd:element name="show-announcement"
type="TypedBooleanElementType" maxOccurs="1"
minOccurs="1">
</xsd:element>
<xsd:element name="show-writeboards"
type="TypedBooleanElementType" maxOccurs="1"
minOccurs="1">
</xsd:element>
<xsd:element name="start-page" type="xsd:string"
maxOccurs="1" minOccurs="1">
</xsd:element>
<xsd:element name="status" type="xsd:string" maxOccurs="1"
minOccurs="1">
</xsd:element>
<xsd:element name="company"
type="SimpleCompanyType" maxOccurs="1" minOccurs="1">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
and
<xsd:element name="project" type="ProjectType">
</xsd:element>
I'm looking at http://java.sun.com/javaee/5/docs/tutorial/doc/bnbah.html and can't understand what I'm doing different from the sample schema in Table 17-13 where there is an element named purchaseOrder of type PurchaseOrderType. According to the tutorial, running xjc on the schema, one will get PurchaseOrder.java interface and PurchaseOrderType.java interface. When I run xjc on my schema I only get a ProjectType.java class, and when the xml actually consist of a single element, this won't parse, because there are no Project.java class/interface to match.
We have several Flash objects included in our project. We call each one a specific type of widget... For readability/debugging purposes I'd like to rename Main.mxml to something else.
At first this seemed easy, as it would be just a setting in our maven configuration (we're using flex mojos to build our swf).
However; changing the sourceFile from Main.mxml to MyWidget.mxml doesn't seem to do it.
Any thoughts?
What is the best way to organize directories within a large grails application?
In a typical Spring application, we'd have myproject/domain/ and myproject/web/controllers and myproject/services
Since grails puts these artifacts in their own directories... and then just uses the same base project package for everything, what is the best practice? Use the same sub package name for domain objects, controllers, services too?
Ken
I have been playing around with creation of pdf documents for a project that I'm working on. I would like to store the generated pdf document in a SQL database and then later be able to retrieve this pdf as well.
What are some suggestions for doing this? Can the document be stored in the database without physically creating the document on the server?
I asked this before and got no where so i'm asking again as i'm now desperate!!
Hey
if i create a new wcf project i can browse the meta instantly.
if I try - when using the WCF facility - i get the following:
Metadata publishing for this service is currently disabled.
i followed the instructions there and in a million other places and get no where.
if i copy the contents of my faciltity service into the newly created project it complains that aspNetCompatibilityEnabled isnt enabled.
so i enable it and then mex is disabled again and i get: Metadata publishing for this service is currently disabled.
again!!
this is driving me crazy - i have tried tried tried to follow every example on the web!!
here is my current configuration - there is no client yet:
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<services>
<service name="IbzStar.WebServices.UserServices" behaviorConfiguration="ServiceBehavior">
<!-- Service Endpoints -->
<endpoint address="" binding="wsHttpBinding" contract="IbzStar.WebServices.IUserServices">
<!--
Upon deployment, the following identity element should be removed or replaced to reflect the
identity under which the deployed service runs. If removed, WCF will infer an appropriate identity
automatically.
-->
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
please someone help me out before my laptop gets launched into orbit!!
w://
I new with virtual box and vagrant , Now I using Homestead image and every thing is run well
but when i create my project named laravel on virtual machine it supposed that i see this new folder named laravel on my machine but i didn't get any thing on my machine , The synchronization is not working.
NOTE: I'm using ubuntu 14.04
This is my homestead.yaml
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: /var/projects/
to: /home/vagrant/projects/
sites:
- map: homestead.app
to: /home/vagrant/projects/laravel/public
variables:
- key: APP_ENV
value: local
thanks advance
In NetBeans when you go to Navigate - Go to File you can search for files by filename. Is there a way to instruct NetBeans to ignore some files. It's picking lots of files from a tmp directory in my project which I never intend to open and it's just noise.
Hi,
I have a maven project that was generated by Spring Roo. Now I am not sure whether I need all of its dependencies.
Is there a tool to automate the process of detecting stale dependencies?