<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Kommentare zu: Debugging Alfresco #1 &#8211; Eclipse JavaScript Debugger und Alfresco Repository</title>
	<atom:link href="http://axel-faust.de/?feed=rss2&#038;p=47" rel="self" type="application/rss+xml" />
	<link>http://axel-faust.de/?p=47&#038;lang=de</link>
	<description>Alfresco et al in depth</description>
	<lastBuildDate>Fri, 10 Aug 2018 11:28:39 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Von: afaust</title>
		<link>http://axel-faust.de/?p=47&#038;lang=de#comment-32</link>
		<dc:creator><![CDATA[afaust]]></dc:creator>
		<pubDate>Mon, 06 Feb 2012 13:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://axel-faust.de/?p=47&#038;lang=de#comment-32</guid>
		<description><![CDATA[Hi Florian,

having a API library function is what I am aiming for too. In my first approach I dove into the RhinoScriptProcessor and changed the way import-tags are handled, the two major changes being that scripts would no longer be merged but simply executed in sequence and the import tag could be in a line comment at the start of the file, thus no longer messing up syntax validation. The changes were actually not that extensive as I first believed they would be. We&#039;ll see how much hassle implementing a library function entails - I hope to get around to doing this within the next two weeks...]]></description>
		<content:encoded><![CDATA[<p>Hi Florian,</p>
<p>having a API library function is what I am aiming for too. In my first approach I dove into the RhinoScriptProcessor and changed the way import-tags are handled, the two major changes being that scripts would no longer be merged but simply executed in sequence and the import tag could be in a line comment at the start of the file, thus no longer messing up syntax validation. The changes were actually not that extensive as I first believed they would be. We&#8217;ll see how much hassle implementing a library function entails &#8211; I hope to get around to doing this within the next two weeks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Florian Maul</title>
		<link>http://axel-faust.de/?p=47&#038;lang=de#comment-31</link>
		<dc:creator><![CDATA[Florian Maul]]></dc:creator>
		<pubDate>Mon, 06 Feb 2012 10:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://axel-faust.de/?p=47&#038;lang=de#comment-31</guid>
		<description><![CDATA[Hi Axel, the import syntax is something I also looked into recently with the Javascript Console. You would have to overwrite the whole RhinoScriptProcessor to change the import, since the actual String replacement is done in a static helper :(

I think it&#039;s best to use a simple node.js style require(&quot;somescript.js&quot;) command and parse it the same way as the current xml import statements are parsed before script compilation.

To have support for AMD (https://github.com/amdjs/amdjs-api/wiki/AMD) style module definitions would be nice but I don&#039;t think it&#039;s practical with the way scripts are executed in Alfresco.]]></description>
		<content:encoded><![CDATA[<p>Hi Axel, the import syntax is something I also looked into recently with the Javascript Console. You would have to overwrite the whole RhinoScriptProcessor to change the import, since the actual String replacement is done in a static helper <img src="http://axel-faust.de/wp/wp-includes/images/smilies/icon_sad.gif" alt=":(" class="wp-smiley" /></p>
<p>I think it&#8217;s best to use a simple node.js style require(&#8220;somescript.js&#8221;) command and parse it the same way as the current xml import statements are parsed before script compilation.</p>
<p>To have support for AMD (<a href="https://github.com/amdjs/amdjs-api/wiki/AMD" rel="nofollow">https://github.com/amdjs/amdjs-api/wiki/AMD</a>) style module definitions would be nice but I don&#8217;t think it&#8217;s practical with the way scripts are executed in Alfresco.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Andreas Steffan</title>
		<link>http://axel-faust.de/?p=47&#038;lang=de#comment-30</link>
		<dc:creator><![CDATA[Andreas Steffan]]></dc:creator>
		<pubDate>Mon, 06 Feb 2012 09:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://axel-faust.de/?p=47&#038;lang=de#comment-30</guid>
		<description><![CDATA[Hi Axel,

please replace the import &quot;tag&quot; with a library call.

In fact, this is bugging me far more than the embedded debugger. ;)

You may want to have a look at:

http://code.google.com/p/share-extras/issues/detail?id=64
http://stackoverflow.com/questions/8124906/alfresco-debugger-cannot-open-js-including-an-import-tag/8799964

cheers
Andreas]]></description>
		<content:encoded><![CDATA[<p>Hi Axel,</p>
<p>please replace the import &#8220;tag&#8221; with a library call.</p>
<p>In fact, this is bugging me far more than the embedded debugger. <img src="http://axel-faust.de/wp/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /></p>
<p>You may want to have a look at:</p>
<p><a href="http://code.google.com/p/share-extras/issues/detail?id=64" rel="nofollow">http://code.google.com/p/share-extras/issues/detail?id=64</a><br />
<a href="http://stackoverflow.com/questions/8124906/alfresco-debugger-cannot-open-js-including-an-import-tag/8799964" rel="nofollow">http://stackoverflow.com/questions/8124906/alfresco-debugger-cannot-open-js-including-an-import-tag/8799964</a></p>
<p>cheers<br />
Andreas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: afaust</title>
		<link>http://axel-faust.de/?p=47&#038;lang=de#comment-29</link>
		<dc:creator><![CDATA[afaust]]></dc:creator>
		<pubDate>Mon, 06 Feb 2012 09:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://axel-faust.de/?p=47&#038;lang=de#comment-29</guid>
		<description><![CDATA[Hi Andreas,

I agree, Milestones / Snapshots are not practical for regular usage - but the stable Juno will be released in June this year so this will be available to the general developer pretty soon. This is my current pet project and I will be looking into expanding this to the Surf layer as well as providing an alternative import mechanism for JavaScript - the current one produces a ton of syntax errors and scripts using it can effectively not be properly debugged.

The debug transport protocol is a generic JSON based-format that is not dependant on Rhino or Eclipse. Should Alfresco switch to Nashorn - and I figure this is yet a very long way in the future (when JDK 8 actually has become the major version used in production by customers) - only the adapter to the engine should need to change. But I&#039;d assume before other IDEs reuse the transport protocol and engine adapter of Eclipse, they&#039;d be developing their own.

Regards, Axel]]></description>
		<content:encoded><![CDATA[<p>Hi Andreas,</p>
<p>I agree, Milestones / Snapshots are not practical for regular usage &#8211; but the stable Juno will be released in June this year so this will be available to the general developer pretty soon. This is my current pet project and I will be looking into expanding this to the Surf layer as well as providing an alternative import mechanism for JavaScript &#8211; the current one produces a ton of syntax errors and scripts using it can effectively not be properly debugged.</p>
<p>The debug transport protocol is a generic JSON based-format that is not dependant on Rhino or Eclipse. Should Alfresco switch to Nashorn &#8211; and I figure this is yet a very long way in the future (when JDK 8 actually has become the major version used in production by customers) &#8211; only the adapter to the engine should need to change. But I&#8217;d assume before other IDEs reuse the transport protocol and engine adapter of Eclipse, they&#8217;d be developing their own.</p>
<p>Regards, Axel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Andreas Steffan</title>
		<link>http://axel-faust.de/?p=47&#038;lang=de#comment-28</link>
		<dc:creator><![CDATA[Andreas Steffan]]></dc:creator>
		<pubDate>Mon, 06 Feb 2012 08:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://axel-faust.de/?p=47&#038;lang=de#comment-28</guid>
		<description><![CDATA[Hallo Axel,

the rhino embedded debugger definitely has its drawbacks, and uniform debugging  even providing more features !) surely is something we should aim at.

This is all pretty much bleeding edge today. Thats fine with me in general, although I don&#039;t want to try eclipse milestones or snapshots for day to day work.

I really appreciate reading your experiences, and I&#039;m curious how this will all work out.

I see a few hurdles ahead before this can go &quot;mainstream&quot;.

Debugging (rhino) server side javascript in the alfresco world applies to surf apps (such as share) as well. Should not be a big deal getting this all to work in the surf environment I guess.

I don&#039;t know much about the debugging protocol used and how it depends on rhino or eclipse. Not everybody is using eclipse (I do), and alfresco may choose to replace rhino with nashorn one day.

cheers
Andreas]]></description>
		<content:encoded><![CDATA[<p>Hallo Axel,</p>
<p>the rhino embedded debugger definitely has its drawbacks, and uniform debugging  even providing more features !) surely is something we should aim at.</p>
<p>This is all pretty much bleeding edge today. Thats fine with me in general, although I don&#8217;t want to try eclipse milestones or snapshots for day to day work.</p>
<p>I really appreciate reading your experiences, and I&#8217;m curious how this will all work out.</p>
<p>I see a few hurdles ahead before this can go &#8220;mainstream&#8221;.</p>
<p>Debugging (rhino) server side javascript in the alfresco world applies to surf apps (such as share) as well. Should not be a big deal getting this all to work in the surf environment I guess.</p>
<p>I don&#8217;t know much about the debugging protocol used and how it depends on rhino or eclipse. Not everybody is using eclipse (I do), and alfresco may choose to replace rhino with nashorn one day.</p>
<p>cheers<br />
Andreas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Jens Goldhammer</title>
		<link>http://axel-faust.de/?p=47&#038;lang=de#comment-27</link>
		<dc:creator><![CDATA[Jens Goldhammer]]></dc:creator>
		<pubDate>Sun, 05 Feb 2012 19:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://axel-faust.de/?p=47&#038;lang=de#comment-27</guid>
		<description><![CDATA[Hallo Herr Faust,

danke für diesen Beitrag! Ich würde vorschlagen, diesen Beitrag direkt an Alfresco weiterzuleiten, so dass der Debugging-Support Standard in Alfresco 4.x werden kann und z.B. per einfacher Konfiguration und Kopieren der Eclipse-Bibliotheken aktiviert werden kann.

Danke und viele Grüße,
Jens Goldhammer]]></description>
		<content:encoded><![CDATA[<p>Hallo Herr Faust,</p>
<p>danke für diesen Beitrag! Ich würde vorschlagen, diesen Beitrag direkt an Alfresco weiterzuleiten, so dass der Debugging-Support Standard in Alfresco 4.x werden kann und z.B. per einfacher Konfiguration und Kopieren der Eclipse-Bibliotheken aktiviert werden kann.</p>
<p>Danke und viele Grüße,<br />
Jens Goldhammer</p>
]]></content:encoded>
	</item>
</channel>
</rss>
