Author |
Message
|
next |
Posted: Wed Mar 16, 2011 5:13 am Post subject: Bar file build error |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
Hi
I am facing an error in building the bar file in command line using mqsicreatebar command.
When i build the bar file using toolkit, it works fine.
When i use the command line it gives the below error.
BIP0965E Error compiling files in mqsicreatebar.
The message is:
Workspace has errors on it after the build. In order to create bar there should
be no errors on the workspace.
Please let me know if anyone has faced the issue.  |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 16, 2011 5:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There is a change in mqsicreatebar in v7.
The error message you have posted is explicit and correct.
The workspace that mqsicreatebar is run against must have NO errors OF ANY kind in it, regardless of whether or not the errors exist on projects that are being built.
There is also a bug with FIXME: tags that cause mqsicreatebar to fail as well. So you can't have those in your workspace anywhere either. |
|
Back to top |
|
 |
next |
Posted: Wed Mar 16, 2011 5:51 am Post subject: |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
Could you please let me know what kind of files will have these FIXME:tags...?? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 16, 2011 6:14 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
next wrote: |
Could you please let me know what kind of files will have these FIXME:tags...?? |
Sorry, it's any kind of code editor.
You can start a comment with the term FIXME and the eclipse tooling will make a note of this and mark ti for attention.
So in ESQL you could create
Code: |
--FIXME I need to revisit this code later |
and this would make the workspace fail. |
|
Back to top |
|
 |
next |
Posted: Wed Mar 16, 2011 6:18 am Post subject: |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
I dont have any of those words. I will check for it once again.
Please let me know if there are any other reason for this workspace error as well. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 16, 2011 7:31 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
A comment is a non-executable piece of code.
So in ESQL, you can start a line with "--" and it is a non-executable line that is intended to document the code.
In java you can use /* */ to mark comments.
In C and C++ you can use // or /* */ to mark comments.
In Eclipse (which Broker Toolkit is), if you create a code comment that includes the word "FIXME", it treats this comment as a special thing and makes it visible in other parts of the Toolkit. So you can find it easily later.
If you do this specific thing, then mqsicreatebar treats this as an error and will not work.
And again, if there are any Errors of any kind, then mqsicreatebar will not work.
Even if the Errors exist in projects that are not being put into the BAR. |
|
Back to top |
|
 |
Gaara84 |
Posted: Mon Jun 13, 2011 7:31 am Post subject: warnings |
|
|
Newbie
Joined: 14 May 2011 Posts: 2
|
A bit late on this thread, but does warnings count as "erros" ? I got the same error messages as the thread starter.
next or anyone else who have solved this kind of problem?
I have no FIXME and no errors either, but still gets that error. |
|
Back to top |
|
 |
|