-
Dec 13th, 2011, 02:04 AM
#1
[bug] roo 1.2 snapshot [rev 7d4d85a] fails to replace ~. with top level package name
Hi all,
I've found a bug where roo fails to replace ~. in my scripts with the top level package name.
More precisely, com.xxx.* becomes com.xxx.xxx.* somehow.
When I did a find and replace of ~. with the.top.level.domain in my scripts it seemed to work ok.
I'm using the roo.annotations jar of roo-1.2.0.RC1 though as I couldn't find the snapshot version...maybe this could be related?
When I find the time to reduce the script that causes the problem (as I probably may not share the whole script by my employer) I will create a jira for it. But I thought it might already come in handy somewhere else already making notice of it here.
Best wishes,
Jochen
-
Dec 13th, 2011, 03:58 PM
#2
The annotations haven't change. Please raise a ticket including the exact steps to reproduce the issue. If easier, attach your project using the Roo backup command
-
Dec 13th, 2011, 05:06 PM
#3
Hi Jochen,
We haven't noticed any problems with replacement of "~". We'll need you to provide either a project or a script that demonstrates the problem. If this isn't going to be possible in a reasonable time frame, maybe you could tell us in which revision this started happening for you. You've told us it happens in 7d4d85a, but I don't know if it started happening then or in some earlier revision.
P.S. Just came back from Belgium (for Devoxx and holiday) and I miss it!
-
Jan 24th, 2012, 06:16 PM
#4
Yes. I experience this problem too. Seems to me the "~" is not expand to just the topLevelPackage name, but it depends on some "calculation" based on your current level ... But the behavior does varied in different runs...
I'm using 1.2.0.RELEASE [rev 39eb957]
Thanks!
-
Jan 24th, 2012, 06:54 PM
#5
If someone who can replicate this problem could please log a bug about it, ideally providing a minimal script or project, we can look into it. Thanks.
-
Jan 25th, 2012, 03:28 AM
#6
ProfesorMulke
I think the topic is of interest to many
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules