Posts:
50
Registered:
18-Jun-2005
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 01:25
in response to: MarkE
|
|
|
Don't know for sure. It's there by default, so I left it there. If it ain't broke...
This ignore pattern feature has some bugs... off to the bug report discussion.
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 01:51
in response to: alan927
|
|
|
Don't know for sure. It's there by default, so I
left it there. If it ain't broke...
Yeah, but did you try removing it on your test album?
Mrk
|
|
|
Posts:
8,620
Registered:
31-Jan-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 13:29
in response to: alan927
|
|
|
Don't know for sure. It's there by default, so I
left it there. If it ain't broke...
I believe that pattern is there to exclude files that have extensions, but no names. You're not going to see files like that on your PC, but on most web servers, you might encounter them, and they're there to do things like controlling directory access (like the .htaccess file). So, if you're running JAlbum on a server, you want to skip over those kinds of files. I would think that JAlbum would ignore them, in any case, but better safe than sorry.
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 13:53
in response to: jGromit
|
|
|
I believe that pattern is there to exclude files that
have extensions, but no names. You're not going to
see files like that on your PC, but on most web
servers, you might encounter them, and they're there
to do things like controlling directory access (like
the .htaccess file). So, if you're running JAlbum on
a server, you want to skip over those kinds of files.
I would think that JAlbum would ignore them, in any
y case, but better safe than sorry.
Understood. But in the case described where the expression use to ignore the 2 folders "Animations" and "Wallpaper" only (the only is my assumption)
(\..*)|(Animations)|(Wallpaper)
then surely all that is needed is
Animations)|(Wallpaper)?
Mark
|
|
|
Posts:
8,620
Registered:
31-Jan-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 15:05
in response to: MarkE
|
|
|
Well, yes, obviously, ...unless you're going to run JAlbum on a server where it might encounter those "nameless" kinds of files. In short, there's no harm in leaving it there, but in most typical user environments, it's not going to make any difference either way.
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 15:36
in response to: jGromit
|
|
|
Okey-dokey
ps do you think there's a limit to how many folders one can ignore?
Message was edited by: Mark E
|
|
|
Posts:
8,620
Registered:
31-Jan-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 16:32
in response to: MarkE
|
|
|
ps do you think there's a limit to how many folders
one can ignore?
Only the programmer would know for sure. Like all such things, there is, of necessity, a limit to the size of the string it can handle, and to the size of the array that stores the list of things to ignore, but you'd need to see the source code to nail it down.
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 16:59
in response to: jGromit
|
|
|
I sure don't want to go there!
|
|
|
Posts:
19
Registered:
24-Sep-2003
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 17:07
in response to: MarkE
|
|
|
The purpose of the (\.|_)
portion of the 'ignore pattern' is so that JA doesn't process any files that a begin with a period (dot) or an underscore. This is not only because some people run JA on a server. Mac/Unix systems reserve filenames beginning with period (dot) for system files. They're all over the place, but they are invisible to the user (though not to software, of course). One wouldn't want JA to think of those files, that may be hanging around an input folder, as "images" to process. From the early days on, JA had the convention of ignoring files that began with '_' (underscore) as a way for skin authors and users to have files in the input folder (such as .mp3 files or .jpg files that were only used for folder thumbnails, etc.) that shouldn't be processed by JA as 'images'. Now with the new Edit tab function that allows users to exclude files on a case by case basis, this is less necessary, perhaps.
|
|
|
Posts:
8,620
Registered:
31-Jan-2006
|
|
|
Re: Ignore Pattern
Posted:
27-Jul-2006 17:18
in response to: camner
|
|
|
Thanks for the clarification, camner. I wasn't aware of the proliferation of those kinds of files on a Mac, though since the newest MAC OS is Unix-based, it shouldn't have come as a surprise. All the more reason to leave that default in place.
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
03-Nov-2006 13:01
in response to: jGromit
|
|
|
Following on from the discussion of the use of the "|", I have created a batch file that excludes a folder, using the console mode command line -ignorePattern panoramics. This works OK.
However, if I try the same text as in my actual project file
-ignorePattern=(\..*|panoramics)
or the simpler example
-ignorePattern panoramics|mark
it doesn't work.
Any ideas anyone? How would you exclude 2 folders when using console mode?
Cheers,
Mark
|
|
|
Posts:
3,852
Registered:
18-Oct-2002
|
|
|
Re: Ignore Pattern
Posted:
03-Nov-2006 13:36
in response to: MarkE
|
|
|
The "|" sign is interpreted by the command shell / console window as a pipe character (input/output redirection between programs) and never passed to JAlbum unless you escape it somehow (try \| for instance).
A workaround is to create a minimal project file and in that file write:
-ignorePattern=(\..*|panoramics)
Save it as "something.jap" and now type:
java -Xmx400M -jar JAlbum.jar -projectFile something.jap [add your other parameters here]
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
03-Nov-2006 13:59
in response to: davidekholm
|
|
|
The "|" sign is interpreted by the command shell /
console window as a pipe character (input/output
redirection between programs) and never passed to
JAlbum unless you escape it somehow (try \| for
instance).
A workaround is to create a minimal project file and
in that file write:
-ignorePattern=(\..*|panoramics)
Save it as "something.jap" and now type:
java -Xmx400M -jar JAlbum.jar -projectFile
something.jap [add your other parameters here]
David,
Welcome back!
Thanks for the 2 pointers. I'll try the 1st ....
As for the 2nd, that obviously means more jap files .... and the reason for me going down the batch file route (using a single base jap file and command line tweaks) is that I was having problems keeping the many jap files updated with the latest Chamaleon updates  . But I appreciated the workaround tip, thanks.
Mark
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
04-Nov-2006 14:31
in response to: davidekholm
|
|
|
The "|" sign is interpreted by the command shell /
console window as a pipe character (input/output
redirection between programs) and never passed to
JAlbum unless you escape it somehow (try \| for
instance).
Dave,
I tried a number of things to try and get the console window to accept more than one folder to exclude .... like video|test, video\|test,\video\|\test etc etc. No luck.
Are we saying, then, that the exclude works differently when in the console window vs the project file? Seems a shame.
I have noted your other workaround suggestion.
Cheers,
Mark
|
|
|
Posts:
107
Registered:
24-Apr-2006
|
|
|
Re: Ignore Pattern
Posted:
28-Apr-2012 13:53
in response to: MarkE
|
|
|
The "|" sign is interpreted by the command shell /
console window as a pipe character (input/output
redirection between programs) and never passed to
JAlbum unless you escape it somehow (try \| for
instance).
Dave,
I tried a number of things to try and get the console window to accept more than one folder to exclude .... like video|test, video\|test,\video\|\test etc etc. No luck.
Re-visted in 2012
Even though I remember using quotes before without success (see Ignore Pattern & Console Mode), it's worth adding to this thread :
I re-tried the use of quotes to surround the argument, and now I find it works OK. For instance, to build an album excluding movie files, I used the Console Mode parameter -ignorePattern ".*\.avi|.*\.wmv"
which does indeed exclude .avi and .wmv files.
Similarly, -ignorePattern "AVI|WMV"
excludes folders named AVI & WMV.
Mark
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|