<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay source code mismatch when debugging</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111660686" />
  <subtitle>Liferay source code mismatch when debugging</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111660686</id>
  <updated>2026-04-04T05:53:56Z</updated>
  <dc:date>2026-04-04T05:53:56Z</dc:date>
  <entry>
    <title>RE: Liferay source code mismatch when debugging</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111688100" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111688100</id>
    <updated>2018-11-28T12:31:04Z</updated>
    <published>2018-11-28T12:31:04Z</published>
    <summary type="html">&lt;p&gt;Apparently, the problem is that I had several versions of the jar
  file in the gradle cache. So, Eclipse was showing me the wrong one,
  probably because it doesn't know witch one I was  using.  This
  happened because I have many projects in the workspace and many were
  not using the same dependency version.&lt;/p&gt;
&lt;p&gt;Since I'm using a
  &amp;quot;liferay.workspace.target.platform.version&amp;quot; in
  gradle.properties, I removed the version number from the dependencies
  in the several build.gradle files and it seems to work.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Fernando&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2018-11-28T12:31:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay source code mismatch when debugging</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111668398" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111668398</id>
    <updated>2018-11-26T10:20:07Z</updated>
    <published>2018-11-26T10:20:07Z</published>
    <summary type="html">&lt;p&gt;It's &amp;quot;Welcome to Liferay Community Edition Portal 7.0.6 GA7
  (Wilberforce / Build 7006 / April 17, 2018)&amp;quot; . There seems to be
  no mismatch here.&lt;/p&gt;
&lt;p&gt;Anyway, if there is really a mismatch, it's inside the downloaded
  bundle, since I have no other sources on the workspace. &lt;/p&gt;
&lt;p&gt;There's always the possibility of this being a Eclipse problem and
  the source code just being shown misaligned.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'll try to compare the shown code with a downloaded src archive or
  with the sources from github...&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Fernando&lt;/p&gt;</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2018-11-26T10:20:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay source code mismatch when debugging</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111668043" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111668043</id>
    <updated>2018-11-26T09:48:33Z</updated>
    <published>2018-11-26T09:48:33Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-content"&gt;Fernando Fernandez: &lt;p&gt;I'm using an
      optional feature of the IDE that automatically downloads a
      liferay+tomcat bundle when you create a Liferay Workspace Project.
      When I am in debug mode I can look at Liferay's classes code
      without having downloaded the liferay src package.  Eclipse shows
      the code as coming from a .class file.&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;
 The &amp;quot;Hello World&amp;quot; portlet (with the mountains picture in the
classic theme) should give away the exact version that was downloaded
automatically and that you're running. I guess that this is the cause of
your mismatch.&lt;br /&gt;
  </summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2018-11-26T09:48:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay source code mismatch when debugging</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111667699" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111667699</id>
    <updated>2018-11-26T09:03:27Z</updated>
    <published>2018-11-26T09:03:27Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Olaf Kock:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;You're saying &amp;quot;CE 7.0.6 source
      code&amp;quot; and &amp;quot;a downloaded bundle&amp;quot;. Sounds legit to
      expect a mismatch, unless you are sure that &amp;quot;a downloaded
      bundle&amp;quot; indeed is 7.0.6... Are you?&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;I think so.&lt;/p&gt;
&lt;p&gt;I'm using an optional feature of the IDE that automatically downloads
  a liferay+tomcat bundle when you create a Liferay Workspace Project.
  When I am in debug mode I can look at Liferay's classes code without
  having downloaded the liferay src package.  Eclipse shows the code as
  coming from a .class file. &lt;/p&gt;
&lt;p&gt;Fernando &lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2018-11-26T09:03:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay source code mismatch when debugging</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111662073" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111662073</id>
    <updated>2018-11-25T16:02:43Z</updated>
    <published>2018-11-25T16:02:43Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-content"&gt;Fernando Fernandez: &lt;p&gt;I'm trying to debug
      with Liferay  CE 7.0.6 source code in a newly created  Liferay
      Workspace. I'm using a downloaded bundle. All this created with
      Eclipse Photon (4.8.0) + Liferay IDE3.4.&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;
 You're saying &amp;quot;CE 7.0.6 source code&amp;quot; and &amp;quot;a downloaded
bundle&amp;quot;. Sounds legit to expect a mismatch, unless you are sure
that &amp;quot;a downloaded bundle&amp;quot; indeed is 7.0.6... Are you?</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2018-11-25T16:02:43Z</dc:date>
  </entry>
  <entry>
    <title>Liferay source code mismatch when debugging</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111660685" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111660685</id>
    <updated>2018-11-25T10:50:58Z</updated>
    <published>2018-11-25T10:50:58Z</published>
    <summary type="html">&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'm trying to debug with Liferay  CE 7.0.6 source code in a newly
  created  Liferay Workspace. I'm using a downloaded bundle. All this
  created with Eclipse Photon (4.8.0) + Liferay IDE3.4.&lt;/p&gt;
&lt;p&gt;The problem is that when I'm stepping through a Liferay class
  (UserNotificationDefinition, in this case), the source code lines are
  misaligned. I'm not sure this is because the source code is not up to
  date or some Eclipse quirck .&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;
&lt;p&gt;Fernando&lt;/p&gt;</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2018-11-25T10:50:58Z</dc:date>
  </entry>
</feed>
