ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Random Errors In Toolkit - Need To Clean Projects

Post new topic  Reply to topic
 Random Errors In Toolkit - Need To Clean Projects « View previous topic :: View next topic » 
Author Message
bdaoust
PostPosted: Thu May 23, 2013 10:05 am    Post subject: Random Errors In Toolkit - Need To Clean Projects Reply with quote

Centurion

Joined: 23 Sep 2010
Posts: 130

I'm getting random issues in toolkit and was wondering if anyone can give me some insight.

For instance, esql functions in projects randomly duplicate themselves. Also, I could to build an existing bar file and it errors out and says something about Null Exceptions...

If I Clean the projects - all seems fine, but I have to constantly do this. I even reinstalled Toolkit. Here is my version:

Version: 7.0.0.5
Build id: 7.0.0.5-20120919_1610

Any ideas ?

Thanks
Brian
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu May 23, 2013 10:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

ESQL regeneration can be due to the generated artifacts being checked into a version control system and the generated artifacts being read-only.

- Don't check generated artifacts into source control.
- Don't reopen ESQL files after they are created unless you specifically add at least one character and explicitly save that file, causing a rebuild of that file.
- Make sure Project -> Build Automatically is checked.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bdaoust
PostPosted: Thu May 23, 2013 10:44 am    Post subject: Reply with quote

Centurion

Joined: 23 Sep 2010
Posts: 130

Interesting that you say that because I do have the TFS plugin and have noticed that if I uncheck read only on all resources and clean the project, I'm good to go.

So, I can't use TFS?

Thank you!
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu May 23, 2013 10:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You can use TFS plug-in, however, you must change a few settings so that generated resources are not set to read-only; hopefully you're not checking in to source control the generated resources.

The TFS plug-in for Eclipse honors Eclipse's derived resource settings. Make sure your toolkit & project properties are set so that derived resources are not visible. If they are marked visible, TFS thinks you want them in version control.

Also check your project configuration to ensure that your filesystem layout reflects what Eclipse believes to be your project layout. This means some tools like Maven are less friendly to your configuration. Use Ant rather than Maven to build your bars. Don't manually build bars, write an Ant script to do it, and make sure the generated bar is written outside the project's purview. Also make sure you DO check in your bar file overrides.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bdaoust
PostPosted: Thu May 23, 2013 11:11 am    Post subject: Reply with quote

Centurion

Joined: 23 Sep 2010
Posts: 130

I'll look into Ant to see that it's all about. Currently I am building BAR files manually via the toolkit. Due to the nature of our company, we aren't allowed to use a lot of OpenSource tools without them first being approved.

Thanks again
-B
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu May 23, 2013 11:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

There are some threads you can read, if your interested.

http://www.mqseries.net/phpBB/viewtopic.php?t=61374&sid=8422aef986b4e566b7a94dcc978158fe

The point of not building bar files manually is to support a consistent result every time without regard to being sober, having enough sleep or caffeine, or the guy who normally builds this bar is on vacation.

It would surprise me that someone in your management would say Apache is not to be used in your company. I've worked at banks and insurance companies with very strict controls, and Ant is widely accepted.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bdaoust
PostPosted: Thu May 23, 2013 11:21 am    Post subject: Reply with quote

Centurion

Joined: 23 Sep 2010
Posts: 130

I appreciate it! The more reading material the better. I inherited our MQ development, so I'm learning as I go. Info Center is helpful and looking into some courses. I took an IBM training course a few years ago, but found it was more of an extensive overview.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Random Errors In Toolkit - Need To Clean Projects
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.