I installed searchable in my grails project. As I already had the java POJO classes I want to use compass for the mapping customisation.
However, it seams that the Searchable.groovy looks for a file compass.cfg.xml at the root of my classpath. This folder is my PROJECT_HOME folder. I also tried to put him at /src/java
or in grails-app fo...
If CompassGps mirroring is used with Hibernate, what happens if the database transaction rolls back? Will the changes to the index be rolled back (assuming file store for the index)?
It seems like if the Lucene index is stored on the disk it won't be automatically rolled back, unless Compass is smart enough to handle that for you.
FWI...
I need to map a collection of components with compass (using XML mapping)... Is there any way to achieve this?
Thanks in advance for any suggestions.
Example classes:
class ClassA {
private Set<ClassB> bs;
// ... getBs/setBs ...
}
class ClassB {}
Example mapping:
<class name="com.package.ClassA" alias="classA">
<!-- no ...
I'm trying to make a button mixin like this:
=default_button(!lighter, !darker)
:border= 1px !lighter solid
:background-color #e3e3e3
:background= -webkit-gradient(linear, 0 0, 0 100%, from(!lighter), to(!darker)) repeat-x, #d0581e
:background= -moz-linear-gradient(90deg, !darker, !lighter) repeat-x scroll 0 0 #d0581e
:filter...
I really like the way padrino 'just works' with compass but I have a few questions as I'm going to be using heroku (and their read-only file-system) for hosting
From the looks of things, the padrino/compass combo only compiles sass if changes have been made to the sass file and a user hits the server. Is that true?
If so, then am I ri...
I was using Sass on an existing site and decided to get Compass up and running on Win7x64. Ruby, HAML, Compass all installed fine (afaik).
I have a project at c:\project with a static files served out of c:\project\static with a directory structure that has to stay the same. I went into c:\project\static and ran this:
compass create cs...
I'm using compass 0.10.4
I'm running a compass command and I want it to put it's output to the
server when I run a watch instead of to the project directory.
Is there any way of specifying an absolute path instead of a path
relative to the directory you want the css output to?
I'm trying to have my compiled css output to the directory...
jQuery has opacity correction when you use css method (lines 4592-4608 on jQuery 1.4.2):
// IE uses filters for opacity
if ( !jQuery.support.opacity && name === "opacity" ) {
if ( set ) {
// IE has trouble with opacity if it does not have layout
// Force it by setting the zoom level
st...
I first had to follow the instructions here to make sure that I had Ruby and Gems installed. Then I installed compass using Gems.
Then I tried to run compass and had some errors...
"Warning: Unable to load CarbonCore.
FSEvents will be unavailable compass"
I found a solution here, but it required me to install RVM via gems first...
Due to some heroku problems with rails 3 and compass framework, we followed this guide:
http://lds.li/post/673242899/compass-with-rails-3-on-heroku
and moved our stylesheets to app_name/tmp/stylesheets.
I tried using
stylesheet_link_tag "#{Rails.root}/tmp/stylesheets/main.css"
but that doesnt work as it looks for the css file in
...
Hello :) I am working on an application that uses the compass and location to draw an arrow at the direction of a location. My problem is when I run my code on the emulator, all the arrows point the correct directions, and when I change the orientation of the emulator to landscape, all the arrows are still correct. But when I run the sam...
Once again, having trouble installing Compass, like here only different.
My versions and error:
$ cat /etc/issue
Ubuntu 10.04.1 LTS \n \l
$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
$ compass -v
Compass 0.8.17 [2465bab]
Copyright (c) 2008-2009 Chris Eppstein
Released under the MIT License.
$ haml -v
Haml/Sass 3.0.18 (...
I'm using the Android SDK (2.2) with a Droid and I have access to the 3-axis accelerometer and gyrometer.
I apologize in advance if this reveals my ignorance of physics. It has been awhile.
What I don't understand is why the accelerometer is giving different x,y,z values when I tilt the phone. It's standing still, at least, with neglig...
Hi there,
Sometimes there is need to re-generate a lucene index, e.g. when something changes in the Compass mapping or in the way boosts are applied, or if something went corrupt for whatever reason.
In my case, generation of the index takes about 5 to 6 hours, clearing the index before leads to data not being complete for this interva...
Hello,
Do any one have idea for finding true direction using iPhone? I want to implement such application in which I need to find direction in which iPhone is pointing and want to make application same as compass application in iphone 3GS.
Does iPhone 3G supports compass functionality? And can any one tell me how compass application f...
I'm currently experimenting with Symfony/SASS/Compass.
I use sfSassyCssPlugin (http://github.com/vicb/sfSassyCssPlugin) to automatically compile my .scss files. If i want to use compass with this plugin, do i need to modify the plugin to use another compiler (compass instead of sass)?
How to use Compass best with Symfony projects?
Than...
I am trying to use compass for the first time in my rails app.
compass v. 0.10.5, haml v. 3.0.10
Although I say @import "compass" at the top of my sass file, compass does not seem to get loaded. As a test, I can't use 'border-radius' on a div.
The installation seems to be correct and the files in the suggested places.
Any ideas on w...
What happens when you search, using the CompassSearchHelper, and you search past the last page?
As it stands, I have an application which searches in groups of 10, and for results where there are only (for example) 2 pages (10 on the first, 0 < x < 10 on the second), clicking "next" again will send me to pages seemingly random results, ...
Hi all,
I'm making my first Android application. As a toy problem to learn the system I want to make a simple app that display as text which direction the phone is pointing using the built in compass.
How do I access the compass from my code, and have my code be aware of direction changes?
I believe I'll need the SensorManager class...
How do I add compass analyzer while indexing and searching data in compass.I am using schema based configuration for compass.I want to use StandardAnalyzer with no stopwords.Because I want to index data as it is,without ignoring search terms like AND , OR , IN . The default analyzer will ignore AND , OR , IN from the data I give for inde...