Menu

#245 Printer Java: User variables not interpolated

closed-fixed
1
2005-09-12
2002-12-18
No

Hi,

Setting: Jalopy 1.0b10 with Eclipse I20021218.

The user variables used in the templates are only
expanded when the templates are instantiated inside the
scope of a class or an instance.

Consider the following scenario. The source is as follows.

class b {
class c {}
}

And the class template is as follows.

/**
* <p>Document $user_eid$ </p>
*/

It would result in the following when user_eid is
defined as whoever@whatever.

/**
* <p>Document $user_eid$ </p>
*/
class b {
/**
* <p>Document whoever@whatever </p>
*/
class c {}
}

Is this indeed a bug? If so, what is the fix?

Also, LBL_Variable is undefined in Bundle.properties.

Discussion

  • Venkatesh Prasad Ranganath

     
  • Venkatesh Prasad Ranganath

    Logged In: YES
    user_id=129952

    Well, I checked out the source and fixed a couple of bugs
    for which the patch is attached. If the maintainers are
    interested, they can apply the patch in
    main/src/java/de/hunsicker/jalopy/printer directory.

     
  • Venkatesh Prasad Ranganath

    • status: open --> closed
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-12-19
    • priority: 5 --> 1
    • assigned_to: nobody --> marcohu
    • summary: Javadoc : User variables error --> Printer Java : User variables note interpolated
    • labels: 459895 --> Printer Java
    • status: closed --> open-fixed
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-12-19

    Logged In: YES
    user_id=44430

    Sure, many thanks. Will appear in the next beta.

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-12-19
    • summary: Printer Java : User variables note interpolated --> Printer Java: User variables not interpolated
     
  • S

    S - 2005-09-12
    • milestone: --> Archive_pre_jalopy_1.5_bugs
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.