A POM dependency contains native libraries (DLLs inside a JAR file). How do I programmatically look up the path of the downloaded JAR file so I can pass it into "java.library.path"?
My goal is pretty simple actually but since there are multiple (and seemingly complex ways to do this) I wonder what I need to do... So I have certain runtime libraries (ADF libraries in particular) that are needed to be added to every project. This parent pom file will just have JAR dependencies in it. How can I use this pom file from a child pom file?
I installed the Flash 11 plugin using the software center (and have also removed the reinstalled it via command-line in the terminal), yet Firefox still claims the latest version of the plugin I have is 10. (And just to clarify, I have been sure to reboot both Firefox and the entire computer after installing).
On further investigation (this may be a red herring, pardon) I ran the uname -a command-line in terminal to assure that I was running the 64-bit version of Ubuntu, and received this feedback:
3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 i686 i386 GNU/Linux
I don't understand the series "i686 i686 i386". Which applies to my version of Ubuntu? Does this mean I've accidentally installed 32-bit Ubuntu?
Very much a beginner here - I've combed the threads but have so little understanding what my exact issue is that I haven't been able to find an answer.
I'm trying to implement a plug-in like application. I know there are already several solution out there but this is just going to be proof of the concept, nothing more. The idea would be to make the application main application almost featureless by default and then let the plugins know about each other, having them have implement all the needed features.
A couple of issues arise:
I want the plugins at runtime to know about each other through my application. That wouldn't mean that at code-time they couldn't reference other plugin's assemblies so they could use its interfaces, only that plugin-feature initialization should be always through my main app. For example: if I have both plugins X and Y loaded and Y wants to use X's features, it should "register" its interest though my application to use its features. I'd have to have a kind of "dictionary" in my application where I store all the loaded plugins. After registering for interest in my application, plugin Y would get a reference to X so it could use it. Is this a good approach?
When coding plugin Y that uses X, I'd need to reference X's assembly, so I can program against its interface. That has the issue of versioning. What if I code my plugin Y against an outdated version of plugin X? Should I always use a "central" place where all assemblies are, having there always the up to date versions of the assemblies?
Are there by chance any books out there that specifically deal with these kinds of designs for .NET?
Thanks
Hi,
I'm writing an eclipse plugin, and I want to get all the types that are available in my workspace,
like when pressing Ctrl+Shift+T,
but in a list or array.
How can I do it?
Can someone tell me how to make the motion from top to bottom of the scroller of this jquery plugin?http://plugins.jquery.com/project/vTicker.
i want the newest child to display at the top.Simply changing the
obj.animate({top: '+=' + height + 'px'}
to
obj.animate({top: '-=' + height + 'px'}
changes the direction but does not displat the newest child on the top
Basically need the default Wordpress TinyMCE WYSIWYG editor where the user will enter some formatted text in my plugin. How do I integrate/implement TinyMCE in a simple HTML Wordpress form??
I'm using Wordpress v2.9!
I have read a lots document on NPAPI but I still do not understand:
How the NPP_NewStream of NPAPI wall called? Automatically by Browser, whenever it load a page, an image, an video,.... or manually by our plugin-request ?
*In eclipse plugin using actionSet
*Here blue icon for some code(using actionset) ,when i click on that it should prompt a window(some popup) which contains two or more link like
web links, when i click 1st link it should perform the 1st action and window should disappear so on...Can anyone help me in this how to do that???*
See the picture below for reference ..like this with ok button ok should perform the selected action plz help me to do this...??
*In eclipse plugin using actionSet Here blue icon for some code(using actionset) ,when i click on that it should prompt a window(some popup) which contains two or more link like web links, when i click 1st link it should perform the 1st action and window should disappear so on...Can anyone help me in this how to do that???
See the picture below for reference ..like this with ok button ok should perform the selected action plz help me to do this...??
Hi, does anybody know if there is a Wordpress plugin that allows me to show Twitter updates from people I follow? If someone knows about it, please share with me. Thanks in advance.
I've seen lots of MEF code for plugging into custom apps, but I am yet to find out how to write a plugin for VS2010 using MEF. I was under the impression that the new IDE supported this.
Does anyone have any links, tips, etc?
Hello there.
I'm writing a WP plugin, that shows DB records in a table. Because the list is too long, I'd like to split it to multiple pages, based on the same display. I can do that manually with handling URL parameters, and using PHP, but I wanted to know if there's a structed method to to that.
http://site.com/list --> records 1-20
http://site.com/list/2 --> records 20-40
Thanks,
Tomer
Hi there.
I have an existing webapp created in PHP and would like to embed some of the PHP code into some WordPress pages.
What's the best WordPress plugin for that?
I would like to use AJAX to display dynamic content via my wordpress plugin. The data source is an xml feed from a remote domain (not owned by me).
I have tried using JQuery plugins that use YQL to do cross domain Ajax calls; however, they are geared towards json and tend to return the data to me in a mangled state.
My question is, is there a way of obtaining an xml feed using ajax from a remote domain?
Hi,
I am using the Google Application Engine plugin for Eclipse 3.4, and I have added unit tests in my projects.
The unit tests are in a source folder named tests, separated from the source folder src.
But, in the war/classes that is generated, the tests classes are present.
Is there anyway not to put test classes in the generated war/classes directory?
Thanks.
Hey. I want to write a little plugin in xcode which reads lights position in opened Apple Motion graphic scene. Anybody can tell me where i should start? What project in xcode, what library i need and what should i do to read sth from Apple Motion?
Thx!
Hi
I have a website that I made and I am planning to redo it. The current version of the site used a jquery callout plugin that did not fully work in IE6. This got me thinking about browser detection.
At first I was just going to put the supported browsers on the home page but then today on Digg I saw some post about some jquery plugins and wordpress and in the article there was a plugin for detecting IE.
So I started to look around for some browser detection plugins. I found a few of them but they where over the top like this one
sevenup
Its nice but it makes a huge popup and tells them to update. This one is better then another one I found where they basically forced the user to update or they could not continue on the site.
So I found this one
jquery plugin
This one is pretty nice since it looks at the major browsers and does detection on them too expect for chrome which I noticed triggers and an outdated browser with this plugin.
So I started to look at the jquery documentation to see if they had a browser detection for chrome this is when I saw that they "Deprecated" and now recommend "Support".
So now I am just confused like "Support" seems to be good and I read many posts on this site saying you should use it.
But then it does not support stuff like .png detection that might have been useful to me since of that plugin(however I probably will not be using the plugin anymore since I think the author just gave up on it).
Plus I don't know if this is something I am looking for at this time. Like I am guessing with "Support" you use it to detect something that is not supported and then do some alternative thing for that browser?
For me I am more looking for something to tell the user "Hey look I tested this browser in the these versions of Firefox(3.5+), IE(8+), Opera(9.5+),Chrome(Something), Safari(Something). If your not using these versions you may not being seeing the site how it was intended"
Of course I would try to have something shorter then that message but that the gyst. I am also assuming that the site would work in future versions of these browsers.
I still check to see if my site works(they usually do) and is half decent in IE 6 but I won't spend hours fixing stuff that might be off in older browsers like IE 6.
I won't test my site in older version of other browsers like firefox since I would think the user have to the sense to update so no point testing firefox 2.0 or whatever.
So is there a plugin that fits this description? Or can "Support" do what I want?
Thanks
Goal: To implement a jQuery plugin for my rails app (or write one myself, if necessary) that creates a "box" around text after a delimiter is typed.
Example: With tagging on SO, the user begins typing a tag, then selects one from the drop-down list provided. The input field recognizes that a tag has been selected, puts a space and then is ready for the next tag. Similarly, I am attempting to use this plugin to put a box around the previously entered tag before moving to to accept the next tag/input.
The instructions in the README.txt seem simple enough, however I have been receiving a
$(".tagbox").tagbox is not a function
error when debugging my app with firebug.
Here is what I have in my application.js:
$(document).ready( function(){
$('.tagbox').tagbox({
separator: /\[,]/, // specifying comma separation for <code>tags</code>
});
});
And here is my _form.html.erb:
<% form_for @tag do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= text_field :tag, :name, { :method => :get, :class => "tagbox" } %>
</p>
<p><%= f.submit "Submit" %></p>
<% end %>
I have omitted some other code (namely the implementation of an autocomplete plugin) existing within my _form.html.erb and application.js for sake of readability. The inclusion or exclusion of this omitted code does not affect the performance of this plugin.
I have included all of the necessary files for the tagbox plugin (as well as application.js after all other included JS files) within the javascript_include_tag in my application.html.erb file.
I'm pretty much confused as to why I'd be getting this "not a function" error when jquery.tagbox.js clearly defines the function and is included in the head of my html page in question. I've been struggling with this plugin for longer than I'd like to admit, so any help would really be appreciated. And, of course, I'm open to any other plugins or from-scratch suggestions you may have in mind..
This tagbox plugin does not seem to have a wealth of documentation or any currently working examples.
Also to note, I'm trying to avoid using jrails.
Thanks for your time
Trying OCR with Tess4J and able to make it work as a standalone application on 64 bit windows.
I am using eclipse for the same.
Now I am trying to create a war of the same code and deploy it in Tomcat7 and call the api using a servlet. I am getting following error.
java.util.NoSuchElementException
javax.imageio.spi.FilterIterator.next(ServiceRegistry.java:808)
javax.imageio.ImageIO$ImageWriterIterator.next(ImageIO.java:816)
javax.imageio.ImageIO$ImageWriterIterator.next(ImageIO.java:801)
net.sourceforge.vietocr.ImageIOHelper.getImageByteBuffer(ImageIOHelper.java:190)
net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:133)
net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:88)
net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:75)
com.hp.cto.TextReading.doGet(TextReading.java:35)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
Any help would be greatly appreciated.
Hi.
Do you know how I can find out the default compiler compliance level that my Maven installation uses when nothing is defined in the maven-compiler-plugin?
Yours
Bernhard
I'm using Firefox 3.6.3 on Win 7 x64. Some web sites require QuickTime plugin. How can I install Firefox QuickTime plugin without installing Apple's QuickTime? I definitely don't want to install QuickTime to my system.