Author |
Message
|
goffinf |
Posted: Wed Nov 07, 2012 3:49 am Post subject: BAR file editor Filter |
|
|
Chevalier
Joined: 05 Nov 2005 Posts: 401
|
version: 8.0.0.1
We have some projects which contain a lot of files (lets say 100+ - these are mostly files that support unit testing). When you open the BAR file editor and have a project that is open in the workspace with that many files in it, the BFE can be VERY slow to open (it often max's out CPU for the javaw.exe process for the toolkit for several minutes).
So, I thought I could use the Filter on the Prepare tab, .. and I can, .. but I have a couple of questions :-
1. Can I set a default filter anywhere that will be applied every time I open the BAR file editor (I looked in the Preferences in eClipse under 'Broker Development/Build Broker Archive' but there's nothing for that purpose that I can see) ??
The reason is, if I can only apply a filter AFTER opening the BAR file editor, its too late, I'll still have to wait for it to work its way thru all the possible files I could choose from
2. Is the value of the Text Filter field just a literal ? (i.e. can I apply more than one literal separated by some delimiter, with/without wildcards, maybe a regEx - I have tried various of these but with no success) ??
3. I note that there is also a Working Set filter, which might help (a bit), so same question as (1) ... does anyone know a way of providing a default value for that which is applied at the point I open the BAR file editor (not after).
Regards
Fraser. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 07, 2012 5:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Why just one bar file and not multiples... Do you just have one gigantic flow?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
goffinf |
Posted: Wed Nov 07, 2012 8:44 am Post subject: |
|
|
Chevalier
Joined: 05 Nov 2005 Posts: 401
|
fjb_saper wrote: |
Why just one bar file and not multiples... Do you just have one gigantic flow?  |
No of course not. As I said there are projects in the workspace that may contain a large number of files. That doesn't mean that they are going to be deployed. The example I gave was a Java JUnit project that is in the workspace (because it's used for unit testing one of the flow projects) and contains a bunch of XML files that are used for that purpose.
The point is, that if that project is open, and I then open the BAR file editor, it locks down the CPU for 5 minutes and I'm looking for a way of telling the BAR file editor to filter the available resources to exclude those files when it opens. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 07, 2012 6:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
goffinf wrote: |
fjb_saper wrote: |
Why just one bar file and not multiples... Do you just have one gigantic flow?  |
No of course not. As I said there are projects in the workspace that may contain a large number of files. That doesn't mean that they are going to be deployed. The example I gave was a Java JUnit project that is in the workspace (because it's used for unit testing one of the flow projects) and contains a bunch of XML files that are used for that purpose.
The point is, that if that project is open, and I then open the BAR file editor, it locks down the CPU for 5 minutes and I'm looking for a way of telling the BAR file editor to filter the available resources to exclude those files when it opens. |
Now we're talking. Looks like the bar file editor looks at all xml files in the workspace as deployable xslt files....
May I suggest that you have the JUnit project in a different workspace?
Or keep it but remove it from the workspace and add it back only when needed...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
goffinf |
Posted: Thu Nov 08, 2012 1:05 am Post subject: |
|
|
Chevalier
Joined: 05 Nov 2005 Posts: 401
|
fjb_saper wrote: |
Now we're talking. Looks like the bar file editor looks at all xml files in the workspace as deployable xslt files....
May I suggest that you have the JUnit project in a different workspace?
Or keep it but remove it from the workspace and add it back only when needed...
Have fun  |
Yes those are possible workarounds as is just having the JUnit project 'closed' while I create the BAR and then open it to run the unit tests. All very well but I was looking for something a little slicker and easier (like telling the editor to ignore .xml files in the BAR file editor preparation via a filter). It really ought to be possible to apply a default filter of some sort, I just need to find out where to specify it. |
|
Back to top |
|
 |
kash3338 |
Posted: Thu Nov 08, 2012 1:17 am Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
Maybe you can try creating different "Working Sets" in the same "Workspace" for different kinds of projects!! |
|
Back to top |
|
 |
mayheminMQ |
Posted: Thu Nov 08, 2012 5:40 am Post subject: |
|
|
 Voyager
Joined: 04 Sep 2012 Posts: 77 Location: UK beyond the meadows of RocknRoll
|
Tried looking for working sets in WMB8.0 and thought it might similar to Sets in MQ 7 but I couldnt find any.
Is it a folder that you are talking about under which all the applications can be placed or is there something specifically called working sets? _________________ A Colorblind man may appear disadvantaged but he always sees more than just colors... |
|
Back to top |
|
 |
kash3338 |
Posted: Thu Nov 08, 2012 6:05 am Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
mayheminMQ wrote: |
Is it a folder that you are talking about under which all the applications can be placed or is there something specifically called working sets? |
Working sets come as part of eclipse. You can find it on top of Package Explorer. Default would be "all resources". |
|
Back to top |
|
 |
|