Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Why is the ATL editor removing the drop keyword?
Why is the ATL editor removing the drop keyword? [message #982842] Tue, 13 November 2012 13:12 Go to next message
Andreas Brieg is currently offline Andreas BriegFriend
Messages: 48
Registered: November 2012
Member
I have a small ATL transformation for refining mode. When I'm formatting the whole file, the drop keyword is removed.

The transformation looks like this:

-- @atlcompiler atl2010
-- @nsURI Java=http://www.eclipse.org/MoDisco/Java/0.2.incubation/java


module DropIfStatements;
create outputJava: Java refining javaInput: Java;

rule dropIfStatements {
	from
		ifStatement: Java!IfStatement 
	to drop
}


I'm using Juno on Windows 64 Bit with the ATL SDK 3.3.1

Why is the keyword removed?
Re: Why is the ATL editor removing the drop keyword? [message #983021 is a reply to message #982842] Tue, 13 November 2012 16:04 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 616
Registered: July 2009
Senior Member
Hello,

It seems like a small bug of the ATL Format Code feature.
Could you submit a bug related to this via this link https://bugs.eclipse.org/bugs/enter_bug.cgi?product=MMT.ATL&component=UI?

Best regards,

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Re: Why is the ATL editor removing the drop keyword? [message #983829 is a reply to message #983021] Wed, 14 November 2012 07:14 Go to previous message
Andreas Brieg is currently offline Andreas BriegFriend
Messages: 48
Registered: November 2012
Member
Bug is created.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394245
Previous Topic:Generation code source
Next Topic:Why does a statement that was removed from it's block still appear in the serialized model?
Goto Forum:
  


Current Time: Wed Dec 17 20:01:50 GMT 2014

Powered by FUDForum. Page generated in 0.01728 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software