aquarious / tapestrytools

Automatically exported from code.google.com/p/tapestrytools
0 stars 0 forks source link

Switching between class file and template might open wrong file #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a package com.example.app.pages and create a class "Example" 
including Example.tml there
2. Create a package com.example.app.pages.newwizard and create a class 
"Example" including Example.tml there
3.Open class "Example" from com.example.app.pages.newwizard package
4. Hit Ctrl-R to switch to the template

What is the expected output? What do you see instead?
I expect to see the template from the com.example.app.pages.newwizard package. 
Instead, the template from the com.example.app.pages is opened.

What version of the product are you using? On what operating system?
- Eclipse Indigo
- Tapestry tools 1.0.0.201205312134
- Ubuntu 9.04 OS

Please provide any additional information below.

Original issue reported on code.google.com by mkort...@gmail.com on 21 Jun 2012 at 8:54

GoogleCodeExporter commented 8 years ago
Hi,

In my design, i will look for the target class/tml file in the same directory. 
In your situation, it should open Example.tml in package 
com.example.app.pages.newwizard instead of Example in com.example.app.pages.

I will re-produce your situation. If it is true, i will find out the problem. 
Thank you for your reponse

Original comment by gavingui...@gmail.com on 21 Jun 2012 at 8:58

GoogleCodeExporter commented 8 years ago
Hi,

I test your situation, have these two package both have Example.tml and 
Example.java in it. TapestryTools' switch feature works well, i can not 
re-produce your issue. I reviewed the code again, it always find the tml/java 
file in the same folder first, so i think there maybe something wrong with your 
operation. If this problem occur again, please let me know.

Original comment by gavingui...@gmail.com on 25 Jun 2012 at 1:52