Another holiday request...

2016-12-01 Thread Russell Bateman
In pursuit of yet more wacky functionality, I wondered about a good way to get a NiFi user's attention (yeah, the person standing looking at the UI) when some condition, threshold, etc. is met as detected by a custom processor. In view of the season, is it possible to turn the processor

Re: Global property for custom processor

2016-11-30 Thread Russell Bateman
the above idea make sense or do you have other suggestions? Thanks Joe On Wed, Nov 30, 2016 at 3:14 PM, Russell Bateman <r...@windofkeltia.com> wrote: I've written a custom processor for some trivial profiling, time-stamping, time-since, histogram-generating, etc., but would like the a

Global property for custom processor

2016-11-30 Thread Russell Bateman
I've written a custom processor for some trivial profiling, time-stamping, time-since, histogram-generating, etc., but would like the ability to turn all instances completely off without having to visit each instance in the UI. If it works out, I might consider even leaving some instances in

NiFi versions and remote process groups

2016-11-16 Thread Russell Bateman
Should I be able to wire a remote process group on a NiFi 1.0.0 canvas to an input port on a 0.7.1 canvas? (Neither is a cluster.) I have an input port in 0.7.1, but when I click the "circle-arrow" icon on my NiFi 1.0.0 remote process group and drag it, I get 'NiFi Flow' does not have any

NiFi 1.0.0 canvas background

2016-11-15 Thread Russell Bateman
Now that I'm working in the 1.x world, there's no way I can restore the nice, light grid from 0.x to 1.x in place of the heavy, dull "fabric" background of the canvas in the new version, is there? I've Googled and prowled around the interface with no success. Also, wasn't there a way to align

Re: MockProcessorLog in NiFi 1.0.0...

2016-11-10 Thread Russell Bateman
cessorLog getLogger()" which for 1.0 was refactored to "ComponentLog getLogger()" as part of NIFI-1811. So I'm not sure that there would be a way to move to these changes without building against 1.x. On Wed, Nov 9, 2016 at 5:51 PM, Russell Bateman < russell.bate...@perfectsearchcorp.com&

Re: MockProcessorLog in NiFi 1.0.0...

2016-11-09 Thread Russell Bateman
-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutFile.java#L188 -Bryan On Wed, Nov 9, 2016 at 5:28 PM, Russell Bateman < russell.bate...@perfectsearchcorp.com> wrote: Also, I'm still having trouble with: public class LabIdentifier e

Fwd: MockProcessorLog in NiFi 1.0.0...

2016-11-09 Thread Russell Bateman
NoSuchMethodErrors. I'm not finding clear examples out there of people using ComponentLog in 1.0.0 or my pre-1.0.0 practices were shabby. Thanks. Forwarded Message Subject:MockProcessorLog in NiFi 1.0.0... Date: Wed, 9 Nov 2016 15:19:57 -0700 From: Russell Bateman

MockProcessorLog in NiFi 1.0.0...

2016-11-09 Thread Russell Bateman
I'm porting our 0.7.1 base forward to begin using 1.0.0. I haven't figured out a way around this in my JUnit testing: ComponentLog log = new MockProcessorLog( "SectionScoringIdentifier (simulated)", SectionScoringIdentifierPropertiesTest.class ); MockProcessorLog causes a

Re: What else besides port conflict will keep NiFi 1.0.0 from running?

2016-11-05 Thread Russell Bateman
, Nov 4, 2016 at 3:29 PM, Russell Bateman <russell.bate...@perfectsearchcorp.com <mailto:russell.bate...@perfectsearchcorp.com>> wrote: Bryan, Yes, thank you very much, I did and I wasn't even thinking about that (port 8000 no less). Embarrassed, Russ On

[jira] [Created] (NIFI-2993) Issue clearer message when debug port conflicts

2016-11-05 Thread Russell Bateman (JIRA)
Russell Bateman created NIFI-2993: - Summary: Issue clearer message when debug port conflicts Key: NIFI-2993 URL: https://issues.apache.org/jira/browse/NIFI-2993 Project: Apache NiFi Issue

Re: What else besides port conflict will keep NiFi 1.0.0 from running?

2016-11-04 Thread Russell Bateman
to listen on for remote debugging, you'll see an error just like that. Thanks, Bryan On Fri, Nov 4, 2016 at 1:46 PM, Russell Bateman <russell.bate...@perfectsearchcorp.com <mailto:russell.bate...@perfectsearchcorp.com>> wrote: I feel sheepish asking this question, but I don'

What else besides port conflict will keep NiFi 1.0.0 from running?

2016-11-04 Thread Russell Bateman
I feel sheepish asking this question, but I don't know where to turn. Now ready to move up to NiFi 1.0.0 from 0.7.1, where I've been running successfully since 0.4.0 nearly a year ago, and with no changes ever (in my test environment) to /nifi.properties/ except: nifi.web.http.port=9091

Re: Double-click action

2016-10-24 Thread Russell Bateman
I'm sort of a new user, but I surely second Matt's expressed view. It's how I conceptualize it too. (My two cents.) Russ On 10/24/2016 09:03 AM, Rob Moran wrote: I think the logic Matt B described would make a lot of sense to experienced users, but it is changing behavior of the action and

Re: Build failure under CentOS 6.7

2016-10-18 Thread Russell Bateman
Michael, You don't have to build NiFi yourself to get going, you can just download pre-built "binaries". It's written in Java, so there are no platform gotchas at all: https://nifi.apache.org/download.html On 10/18/2016 07:36 AM, Giordano, Michael wrote: I am currently following the NiFi

Re: Nifi hardware recommendation

2016-10-14 Thread Russell Bateman
Ali, "not recommended to dedicate more than 8-10 GM to JVM heap space" by whom? Do you have links/references establishing this? I couldn't find anyone saying this or why. Russ On 10/13/2016 05:47 PM, Ali Nazemian wrote: Hi, I have another question regarding the hardware recommendation. As

Re: Processor running slow in production, not locally

2016-10-13 Thread Russell Bateman
quickstart document? Might need much more for your flow. Another tip, when your server experiences undesired hiccups like that try running 'nifi.sh dump save-in-this-file.txt' and investigate/share where NiFi threads are being held back. Andrew On Tue, Oct 4, 2016, 10:54 AM Russell Bateman

Re: Which are the underlying files for NiFi?

2016-10-11 Thread Russell Bateman
s/nifi-docs/html/developer-guide.html#testing Andy LoPresto alopre...@apache.org <mailto:alopre...@apache.org> /alopresto.apa...@gmail.com <mailto:alopresto.apa...@gmail.com>/ PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 On Oct 10, 2016, at 3:28 PM, Russell Bateman

Re: Which are the underlying files for NiFi?

2016-10-10 Thread Russell Bateman
depth.html Thanks Joe On Mon, Oct 10, 2016 at 10:13 AM, Russell Bateman <russell.bate...@perfectsearchcorp.com> wrote: In the NiFi release filesystem, where are things kept? Better yet, where in documentation have I missed learning about this? Specifically, if I create flows for int

Re: [DISCUSS] Slack team for Apache NiFi

2016-10-10 Thread Russell Bateman
In my opinion, Bryan brings up early a huge point given the paucity of NiFi documentation, discussion and samples out there in Googleland. It would be a big loss not to have questions and answers show up in searches. On 10/10/2016 12:46 PM, Bryan Bende wrote: My only concern with any kind of

Re: [DISCUSS] Slack team for Apache NiFi

2016-10-10 Thread Russell Bateman
In my opinion, Bryan brings up early a huge point given the paucity of NiFi documentation, discussion and samples out there in Googleland. It would be a big loss not to have questions and answers show up in searches. On 10/10/2016 12:46 PM, Bryan Bende wrote: My only concern with any kind of

Re: Processor running slow in production, not locally

2016-10-04 Thread Russell Bateman
might be affecting your flow... - Jeff On Mon, Oct 3, 2016 at 9:43 AM Russell Bateman < russell.bate...@perfectsearchcorp.com> wrote: We use NiFi for an ETL feed. On one of the lines, we use a custom processor, *VelocityTemplating* (calls Apache Velocity), which works very well and indeed is imperc

Processor running slow in production, not locally

2016-10-03 Thread Russell Bateman
We use NiFi for an ETL feed. On one of the lines, we use a custom processor, *VelocityTemplating* (calls Apache Velocity), which work very well and indeed is imperceptibly fast when run locally on the same data (template, VTL macros, substitution fodder). However, in production it's another

Re: Dev Questions Protocole

2016-09-30 Thread Russell Bateman
Mathias, You're in the right place. Ask away! On 09/30/2016 07:27 AM, Mathias Tiberghien wrote: Hi all, I post to dev@nifi.apache.org for the third time, but I didn’t receive any answer to my questions. I’ve tried to subscribe to the mailing list, and I

Re: Question on "cloning" the session input stream...

2016-09-28 Thread Russell Bateman
. } }); } Does this answer your question sufficiently? Thanks -Mark On Sep 28, 2016, at 12:30 PM, Russell Bateman <russell.bate...@perfectsearchcorp.com> wrote: This is more a Java question, I'm guessing. I have experimented unconvincingly using Apache Commons I/O TeeInputStream, b

Question on "cloning" the session input stream...

2016-09-28 Thread Russell Bateman
This is more a Java question, I'm guessing. I have experimented unconvincingly using Apache Commons I/O TeeInputStream, but let me back up... I just need to, in some cases, consume the input stream: // under some condition, look into the flowfile contents to see if something's there...

Re: UI: feedback on the processor 'color' in NiFi 1.0

2016-09-28 Thread Russell Bateman
After thinking on it a bit, I agree that Manish' suggestion could be a good idea as an option (the way /additionalDetails.html/ is an option). It would be easier if they were /.png/ files rather than formal icon files only with a "width x length" limit. My two cents, Russ On 09/28/2016

Re: How to Use Nifi Remote Debugger?

2016-09-22 Thread Russell Bateman
to test some >>> AWS >>> communication. Now that I have Nifi running, I¹m trying to connect with >>> the debugger and getting the following error: >>> >>> Error running AWS Nifi: Unable to open debugger port >>> (xx.xxx.xxx.xxx:5500): java.net.Conne

Re: How to Use Nifi Remote Debugger?

2016-09-21 Thread Russell Bateman
Here's how I've been doing it for the last 6 months. I use IntelliJ, but I'm also an Eclipse guy. http://www.javahotchocolate.com/notes/nifi.html#20160323 Hope this helps. Russ On 09/21/2016 01:39 PM, Tseytlin, Keren wrote: Hi All, I want to set up the remote debugger with Nifi so that I

Processor to send flowfile to two different destinations?

2016-09-13 Thread Russell Bateman
/DuplicateFlowFile/ sends multiple copies all to the Successrelationship, mostly for testing load. How does one legitimately send two copies of the same flowfile to different relationships to result essentially in two parallel workflows? (I'm probably missing some simple understanding

Re: Apache NiFi - Dev and Prod

2016-09-02 Thread Russell Bateman
Uwe, You can get started pronto just using the test mocks available. I've never had these behave differently in test than in production. I say this because you've posted to the dev list (as if you're going to develop custom processors, etc.). Then, you can get started on setting up your

Re: Unable to catch ProcessException error in JUnit test code

2016-08-25 Thread Russell Bateman
a MockComponentLog: https://github.com/apache/nifi/blob/master/nifi-mock/src/main/java/org/apache/nifi/util/MockComponentLog.java. From that you can get your messages and check if you logged the specific one(s) you care about. Regards, Matt On Thu, Aug 25, 2016 at 1:22 PM, Russell Bateman <russell.b

Re: Unable to catch ProcessException error in JUnit test code

2016-08-25 Thread Russell Bateman
escaping into the wild. Regards, Matt On Thu, Aug 25, 2016 at 12:51 PM, Russell Bateman <russell.bate...@perfectsearchcorp.com> wrote: From my custom processor, I'm throwing a ProcessException that never reaches my catch in the JUnit test. I already have several other JUnit tests w

Re: 1.0 Run Status Colors

2016-08-23 Thread Russell Bateman
w a before, after, and provide some text about the changes you'd like? Your screenshot looks great to me but it also isn't obvious what changed. On Fri, Aug 19, 2016 at 7:49 AM, Russell Bateman <russell.bate...@perfectsearchcorp.com> wrote: As a consumer of NiFi and a developer of proprietar

Re: 1.0 Run Status Colors

2016-08-19 Thread Russell Bateman
As a consumer of NiFi and a developer of proprietary processors I'm a little concerned by what I see here too. In fact, I'd like to read some document supporting/justifying the UI changes, which is not to say that I presume to condemn them, just that I'd like to understand the reasoning. The

Re: Failed to amend logback.xml to force reporting task log entries to different file...

2016-07-14 Thread Russell Bateman
Incidentally, I took the information on how to do this from: https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.controller.ControllerStatusReportingTask/additionalDetails.html On Thu, Jul 14, 2016 at 11:02 AM, Russell Bateman < russell.bate...@perfectsearchcorp.com>

Failed to amend logback.xml to force reporting task log entries to different file...

2016-07-14 Thread Russell Bateman
First, I'm using ControllerStatusReportingTask whose output I see in *nifi-app.log.* This seems to do report what I want to see. However, I'd like the status reports to go out to a different log file. I bounced NiFi after enhancing the log-back file: I inserted this near the top of

Re: A few NiFi ReST questions...

2016-07-09 Thread Russell Bateman
e API's in action. > The UI uses these API's exclusively. > > Also the API's have been completely refactored in the upcoming 1.0.0 > release to align with the authorization policies of each resource. So the > answers to your questions will depend on which version your running. > > Ma

Re: A few NiFi ReST questions...

2016-07-09 Thread Russell Bateman
use-to-test-your-public-rest-api > [2] http://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art034 > > Andy LoPresto > alopre...@apache.org > *alopresto.apa...@gmail.com <alopresto.apa...@gmail.com>* > PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7

Re: A few NiFi ReST questions...

2016-07-08 Thread Russell Bateman
s these API's exclusively. > > Also the API's have been completely refactored in the upcoming 1.0.0 > release to align with the authorization policies of each resource. So the > answers to your questions will depend on which version your running. > > Matt > > Sent from

Re: A few NiFi ReST questions...

2016-07-08 Thread Russell Bateman
Ah, for (9), I used system-diagnostics. (I had not spelled it correctly when trying it before.) On Fri, Jul 8, 2016 at 3:35 PM, Russell Bateman < russell.bate...@perfectsearchcorp.com> wrote: > I'm trying to figure out how to use the ReST (nifi-api) interface to > accomplish a numb

A few NiFi ReST questions...

2016-07-08 Thread Russell Bateman
I'm trying to figure out how to use the ReST (nifi-api) interface to accomplish a number of things. First, I've played successfully with it doing simple things like getting configuration, a list of existing processors, and the like. I've even discovered that in

Best practice: template subdirectory?

2016-06-13 Thread Russell Bateman
What's everybody using as a subdirectory for templates copied over from one's own and other folks' work? Googling, I haven't found any opinions on this. I know that to import a template I can just browse for it, but where are some of you keeping them? Surely there's a smarter place than

Re: How to effectively log the data flow in NiFi?

2016-06-13 Thread Russell Bateman
Mark, When did this happen? I'm looking at (an as yet unchanged from original download) /co//nf///logback.xml/ in 0.6.1 and I'm seeing: - no string of characters "org.apache.nifi.processors" and - INFO all over in places like level="INFO"/> What am I missing? Was your comment valid

Re: Dependencies for StandardValidators & SoftLimitBoundedByteArrayOutputStream

2016-05-25 Thread Russell Bateman
Kumiko, I develop custom processors and these are my Maven dependencies: org.apache.nifi nifi-api ${nifi.version} org.apache.nifi nifi-utils ${nifi.version} org.apache.nifi nifi-processor-utils ${nifi.version} On Wed, May 25, 2016 at 2:27 PM, Kumiko

Re: Required, either-or properties

2016-05-12 Thread Russell Bateman
enarios which explain to the user proper handling. > You can also use the PropertyDescriptor of each property to explain > its intended relationship to other properties. > > Does that seem like it will take care of your case? > > Thanks > Joe > > On Thu, May 12,

Re: Required, either-or properties

2016-05-12 Thread Russell Bateman
, May 12, 2016 at 1:25 PM, Russell Bateman <russell.bate...@perfectsearchcorp.com> wrote: How are folk specifying processor properties in the case where one of two properties is required, but not both? I'm just wondering if there's a best practice here or must I say something in the descr

Required, either-or properties

2016-05-12 Thread Russell Bateman
How are folk specifying processor properties in the case where one of two properties is required, but not both? I'm just wondering if there's a best practice here or must I say something in the description? For example, I've written a processor that implements Apache Velocity templating. I

Re: @DynamicProperty annotation of more than one property?

2016-04-19 Thread Russell Bateman
/controller services/reporting tasks to use them. We should also create a ticket to update the developer documentation to describe the annotations usage. [1] http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html Dan On Tue, Apr 19, 2016 at 7:23 AM Russell Bateman < russell.b

Re: @DynamicProperty annotation of more than one property?

2016-04-19 Thread Russell Bateman
On Friday, April 15, 2016 7:46 PM, Russell Bateman <russell.bate...@perfectsearchcorp.com> wrote: What's the syntax for defining more than one dynamic property for a processor? I need to specify up to three distinctly different ones and attempting to do it all in @DynamicProperty(

@DynamicProperty annotation of more than one property?

2016-04-15 Thread Russell Bateman
What's the syntax for defining more than one dynamic property for a processor? I need to specify up to three distinctly different ones and attempting to do it all in @DynamicProperty( name = "{blah,blah2,blah3}", value = "{\"blah-value\",\"blah2-value\",\"blah3-value\"}",

Re: Multiple nar/custom processors: advisable directory structure

2016-04-14 Thread Russell Bateman
Welcome Idioma... 1) You'll want to subsume your new processors under deeper Java packages (you probably knew that). 2) In addition to the Java code, you'll add: -src -main - resources - META-INF - services - org.apache.nifi.processor.Processor containing a list

Re: catch commit error in OnTrigger to diversify session behaviour

2016-04-14 Thread Russell Bateman
Oleg, Agreed. As I started only a few months ago, I have been using AtomicReference and it has been reliable and satisfied all my needs. (Just sayin'.) Best On 04/14/2016 05:22 AM, Oleg Zhurakousky wrote: A bit unrelated, but how do you guys feel if we deprecate ObjectHolder so it could

Re: Can't add an attribute inside session read call-back

2016-03-23 Thread Russell Bateman
r( flowfile, new ProcessorRelationships().getSuccess() ); } On 03/23/2016 03:42 PM, Oleg Zhurakousky wrote: Russell This doesn’t sound right. Would you care to share a code snippet on how you set the attribute as well as stack trace? Cheers Oleg On Mar 23, 2016, at 5:33 PM, Russell Bate

To help fulfill NIFI-513...

2016-03-23 Thread Russell Bateman
I needed to break down and debug a processor I'm working on. I found a JIRA issue a year old that's probably not been taken care of. I'd like to help. https://issues.apache.org/jira/browse/NIFI-513 I wrote this quickie on how to set up IntelliJ or Eclipse to accomplish that. I'm

Re: Processor additional documentation

2016-03-19 Thread Russell Bateman
Uwe, When I asked this question a few days ago. What you're doing is rolling your whole processor into a NAR instead of JARing it first, then rolling the JAR into a NAR. This doesn't work and still won't work when they fix it (not just for the reason of /additional//Details.html/ because

Re: User friendly versus system friendly Question

2016-03-19 Thread Russell Bateman
Uwe, While my usage is surely unrelated to yours, I do exactly this thing which is to process a CSV producing as many new output flowfiles as there are lines and the names of these flowfiles are, in my case, conveniently chosen based on the significant content of each line (so no problem

Re: Advance usage documentation not displayed

2016-03-08 Thread Russell Bateman
be the Solr Processors Bryan mentioned earlier [2]. Matt [1] https://issues.apache.org/jira/browse/NIFI-1601 [2] https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-solr-bundle On Tue, Mar 8, 2016 at 10:34 AM, Russell Bateman <russell.bate...@perfectsearchcorp.

Re: Advance usage documentation not displayed

2016-03-08 Thread Russell Bateman
24 -rw-r--r-- 1 mgilman staff 1948 Mar 7 16:35 additionalDetails.html -rw-r--r-- 1 mgilman staff 4975 Mar 7 16:35 index.html Are you bundling your Processor directly in a NAR (without the Processor JAR)? Matt On Mon, Mar 7, 2016 at 6:19 PM, Russell Bateman <russell.b

Re: Advance usage documentation not displayed

2016-03-07 Thread Russell Bateman
index.html On 03/07/2016 02:45 PM, Matt Gilman wrote: Russell, It doesn't appear that your Processor is appearing in the documentation at all. Do you see a folder for your Processor in /work/docs/components? Matt On Mon, Mar 7, 2016 at 2:19 PM, Russell Bateman <russell.b

Advance usage documentation not displayed

2016-03-04 Thread Russell Bateman
Just getting back to this... I have so far been unable to get the Advanced "Usage" documentation feature to work in any of my processors. Whether I right-click on the processor in the workspace and choose Usage or click Help in the workspace, I get nothing that resembles or contains what I've

[zeromq-dev] Struggling with Java binding instructions: Error: Could not find or load main class local_lat

2014-12-17 Thread Russell Bateman
master ~/dev/jzmq $ java local_lat tcp://127.0.0.1:5000 1 100 Error: Could not find or load main class local_lat master ~/dev/jzmq $ $ java -Djava.library.path=/usr/local/lib -classpath /home/user/zeromq/libjzmq local_lat tcp://127.0.0.1: 1 100 Behavior is identical between Java 7 and 8. Any

Re: [m2e-users] Question on new archetype creation

2013-11-19 Thread Russell Bateman
artifact is the project template and archetype project descriptor packed in one jar. The template is a directory containing the Pom XML as you configured and sample java files to getting started. On Tuesday, November 19, 2013, Russell Bateman wrote: Thanks, Charlie. Yes, I see that I'm

Re: [m2e-users] Question on new archetype creation

2013-11-18 Thread Russell Bateman
Ah, I just needed the terminology in order to find this. Thanks! On 11/18/2013 11:43 AM, Asaf Mesika wrote: In the Pom.xml under build element there are several elements allowing you to change source directory and testSource directory. Go wild :) On Monday, November 18, 2013, Russell Bateman

Re: [m2e-users] Question on new archetype creation

2013-11-18 Thread Russell Bateman
and testSource directory. Go wild :) On Monday, November 18, 2013, Russell Bateman wrote: I'm a not-too-savvy Maven user. What I would like to do, and it probably violates some sacred religious Maven principle, is alter subdirectory structure to imitate a non-Maven Eclipse project

Re: [m2e-users] Question on new archetype creation

2013-11-18 Thread Russell Bateman
generation as nothing to do with m2e: http://maven.apache.org/archetype/maven-archetype-plugin/index.html Welcome back on the Maven world! 2013/11/18 Russell Bateman r...@windofkeltia.com mailto:r...@windofkeltia.com Thanks very much for these ideas. After Asaf wrote, I Googled

Wicket (6) JARs...

2012-11-25 Thread Russell Bateman
I downloaded Wicket 6 and found no JAR files within. I googled around without satisfaction. Is there just one JAR? I'm starting to look through a lot of places. It seems easier just to ask. I do not wish to use Maven. (I know this is probably shocking.) Could someone confirm there is only one

Repeat last search and replace

2011-09-14 Thread Russell Bateman
Once I've typed in a command to search and replace for something, for example: %s/search/replace/g how can I re-execute that command without retyping it? (I have a string of source files between which I'm moving via :n each time and I don't want to have to retype the command; dot won't

Re: O-Reilly's Learning the vi and Vim Editors

2011-09-02 Thread Russell Bateman
Everyone learns differently, but the O'Reilly book is just about the only one there is and it's not bad. I learned vi 30 years ago rubbing shoulders with UNIX guys for that's what came with UNIX and worked nearly identically no matter which flavor (System V or BSD). It's a lot to bite off

Consuming 'filetype' stuff from .vimrc

2011-08-26 Thread Russell Bateman
I would like to know how how to adjust the width (set columns) in gvim based on filetype that, I assume, Vim knows by reason of the file I've launched it on. For example, if it's a Java file (.java), I'd like to make it 120 columns wide, but leave it maybe 80 for all others. I realize that I might

Re: Consuming 'filetype' stuff from .vimrc

2011-08-26 Thread Russell Bateman
Thank you very much, Simon! It seems to work perfectly. On Fri, Aug 26, 2011 at 3:27 PM, Simon Nicolussi simon.nicolu...@student.uibk.ac.at wrote: Russell Bateman wrote: For example, if it's a Java file (.java), I'd like to make it 120 columns wide, but leave it maybe 80 for all others

Moving between Java methods

2011-07-27 Thread Russell Bateman
A long-time vi, then Vim user, I was also a long-time C/assembly guy. For the last several years, I've been using Eclipse and Vim to edit Java files. However belatedly I make this request, I would finally want to know how to modify .vimrc to allow me to move between Java methods just as I used to

Re: Moving between Java methods

2011-07-27 Thread Russell Bateman
So there is and it works great. Problem solved. Thanks! Russ On 27-Jul-11 16:25, David Lam wrote: On Wed, Jul 27, 2011 at 2:41 PM, Russell Bateman r...@windofkeltia.com mailto:r...@windofkeltia.com wrote: A long-time vi, then Vim user, I was also a long-time C/assembly guy

Re: site is very confusing for beginners - how to get list of archetypes - link on faq is broken

2008-05-08 Thread Russell Bateman
I agree totally and I finally just came to this forum to get answers. Someone told me about Sonatype's document which is, in my observation, the definitive reference for beginners on Maven. My personal, emerging notes including a link to that document and other useful links can be found at

Re: Maven and Eclipse: getting started

2008-05-02 Thread Russell Bateman
Profuse thanks, Chris, for helping me get started here. Russ [EMAIL PROTECTED] wrote: And I've tried running mvn eclipse realizing that that is way too naive as a starting point. I'm guessing that to create a Dynamic Web Project under Maven control for use in Eclipse, I have to create a BLANK

Reply protocol for this list?

2008-05-02 Thread Russell Bateman
I wondered, because based on the traffic I've watched the last couple of days since I joined I've not detected a specific pattern, if there's a best practice for replies to postings in this list. In the Vim users list, for example, they like you to reply only at the bottom of mail or

Re: Reply protocol for this list?

2008-05-02 Thread Russell Bateman
what you prefer, and I'm sure we can sort it out. Wayne On 5/2/08, Russell Bateman [EMAIL PROTECTED] wrote: I wondered, because based on the traffic I've watched the last couple of days since I joined I've not detected a specific pattern, if there's a best practice for replies to postings

Maven and Eclipse: getting started

2008-05-01 Thread Russell Bateman
I'm looking for help getting going with Maven and Eclipse. I've read lots, but have been unable to synthesis what I've read into a practical, working procedure. I'm looking for some direction (URLs or other suggestions). Where am I? I have downloaded Maven and run it successfully to create

QuickStart example just doesn't work

2008-04-30 Thread Russell Bateman
Am I just broken? Nothing could be easier to download and set up, but walking the QuickStart (http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html), I find the example simply doesn't work. C:\russ\devset JAVA_HOME=C:\Program Files\Java\jdk1.6.0_04 M2=C:\Program

Re: QuickStart example just doesn't work

2008-04-30 Thread Russell Bateman
You're absolutely right. Somehow I missed the mvn package command in the 5-minute quick start stuff and I have no excuse for that. Wow, this stuff works really well now. Thanks to both of you for this answer. Russ Wendy Smoak wrote: On Thu, May 1, 2008 at 11:00 AM, Wendy Smoak [EMAIL

Re: How to wrap sentences?

2007-05-19 Thread Russell Bateman
Matthew Winn wrote: On Fri, 18 May 2007 20:24:17 -0600, Russell Bateman [EMAIL PROTECTED] wrote: As far as I know, Vim won't autowrap blocks of text you paste in. Something could be written I suppose, but I don't know of something already doing it. It depends how you paste. If you

Re: How to cut, copy and paste the VIM-way

2007-03-25 Thread Russell Bateman
(Stupid plain text problem...) Russell Bateman wrote: Eric Leenman wrote: Hi, I'm used to cut, copy and paste the windows-way. Meaning, selecting text and then press CTRL-X, CTRL-C or CTRL-V. In VIM (and correct me if I'm wrong) you yank (y) for copy put (p) for paste . for cut

Re: google summer of code: gdb - vim

2007-03-17 Thread Russell Bateman
The project to integrate vim and gdb usefully is called clewn and is on clewn.sourceforge.net. I think there may be others as well. Mathieu Malaterre wrote: Hello, I was looking at the ideas page for google summer of code for vim, and I did not see integration of gdb in vim. As far as I know

Re: Tips which are spam--clean up author/summary

2007-01-17 Thread Russell Bateman
While (someone) is at it, tip #1472's author and summary need to be adjusted. Similarly, #1456's author field.

Re: / and / problem

2007-01-15 Thread Russell Bateman
(Pardon, this may not have gone out in the correct format.) Russell Bateman wrote: Why are you typing : ? Unless I have misunderstood your notation here, search is simply: /\word\ Russ Bateman Matthew Karas wrote: Hello, When I try to search for a word with the following command

Re: I can't make gvim the default application for .txt files in WinXP

2006-12-01 Thread Russell Bateman
I have had inexplicable and inconsistent trouble with Windoz doing this at least since back in version 98. It's infuriating. Jeffrey Robertson wrote: That's just a different way into the same dialog box I used in the first place. It doesn't work for me. Although I can select gvim.exe, it

Re: Two problems

2006-11-15 Thread Russell Bateman
What Gary says is historically true, but I would point out that it was the fact that deep underneath vi was sitting on ed. Many full-screen versions of line editors, like teco, suffered from having their wings tied down close to the lowest assumptions and could not spread them and soar. I

Re: gf question

2006-10-26 Thread Russell Bateman
I don't seem to have this problem when I code because I would tend to code your line thus: progname=/usr/local/txserver Russ Ben K. wrote: Vimmers, I find gf very convenient, but with shell scripts, I'd like a different behavior: In shell scripts, there should be no spaces around =.

Re: BOF

2006-10-06 Thread Russell Bateman
As long as we're degenerating into the whimsical, it's also a homophone for a slang term for brother-in-law (BEAUF-rère). A.J.Mechelynck wrote: Robert Cussons wrote: Bill McCarthy wrote: Hello Vim List, I listened to Bram's BOF this past weekend. I still don't know what BOF means. From

Re: :helpgrep and 'ignorecase'

2006-09-22 Thread Russell Bateman
I've been an ignorecaser too (for 20 years) and share the same concerns. Greg Dunn wrote: On 9/22/06, Yakov Lerner [EMAIL PROTECTED] wrote: Am I, like, alone in the Universe to use/have 'set ignorecase' by default ? Yakov I'm an ignorecaser too. It gets in the way a bit with C

Re: Specifying vim options in the files being edited

2006-09-08 Thread Russell Bateman
Just in case my answer will get you going a little quicker (because I've always found vim help useful, but it's a lot more useful to those who already know--I've scratched my head and had to experiment a lot for even simple things)... You can put these modelines at the top of your file or the

Re: [help?] ezmlm warning

2006-09-05 Thread Russell Bateman
I get these all the time and, as far as I can tell, they are somewhat meaningless to me (maybe they mean something to vim list management) since, if I ignore them, I don't seem to be subject to any adverse consequences: I seem still to get the mail threads. Russ Max Dyckhoff wrote: Has

Re: Other European languages on a US keyboard [OT]

2006-07-25 Thread Russell Bateman
[more way off topic comments] ...some linguists say that those silent letters are not artifacts, but reflect __phonemes__ (is that the word?) that are still present in the mental representation of the language... --__morphemes__, actually, from a written point of view (you did say letters).

Re: Other European languages on a US keyboard

2006-07-24 Thread Russell Bateman
As you say, warning: off-topic post. Read at your own risk. This discussion underlines all the more strongly why I don't attempt to produce final documents using vim: I sometimes use an actual word processor like Open Office Writer, but mostly I write in HTML and, of course, the best HTML

Re: Other European languages on a US keyboard

2006-07-24 Thread Russell Bateman
Of course, we all realize that the original difference between AZERTY and QWERTY was the analyzed solutions to the problem of the likelihood of two typewriter hammers striking the platen in close enough succession that they would jam together and get stuck. Accents arose as a distinction only

Re: Other European languages on a US keyboard

2006-07-24 Thread Russell Bateman
in Paris for 6 years, I'm something of an Anglophile, but that's another story--check out my Inspector Morse site at http://www.windofkeltia.com/morse and my Allo, Allo page at http://www.windofkeltia.com/allo .) Russ A.J.Mechelynck wrote: Russell Bateman wrote: Of course, we all realize

Re: Modeline in HTML file

2006-06-25 Thread Russell Bateman
I found that I got an error with !-- vim: ts=2 sw=2: -- Error detected while processing modelines: line 789 (the last line of my file, but I tried it also on lines 1 and 2 (after the html tag) with the same result) E518: Unknown option: -- Hit ENTER or type command to continue Instead, I

Re: Modeline in HTML file

2006-06-25 Thread Russell Bateman
editors. For this reason, at my place of work at least, it goes at the bottom where seemingly no one cares. A.J.Mechelynck wrote: Russell Bateman wrote: I found that I got an error with !-- vim: ts=2 sw=2: -- Error detected while processing modelines: line 789 (the last line of my file

Re: unsuscribe

2006-06-22 Thread Russell Bateman
Well, if I can't get off the list, at least, please bring me my wine! ;-) Charles E Campbell Jr wrote: marcelo wrote: Excuse this OT. But I can't unsubscribe to this list. When I try the ezmlm response says that i'm not in the mailing list. I tried the [EMAIL PROTECTED] and got no

Re: how to detect c99 vs c89 (//-comments vs /*-comments)

2006-06-21 Thread Russell Bateman
We keep hearing about how placing a modeline at the top of the file... Because I work in a multitabbed environment (i.e.: there are more than one tab standard), I have to use a modeline to sort out tabstop and shiftwidth. I put this modeline AT THE BOTTOM of my file where it works just fine

<    1   2   3   4   5   >