Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
question about variables in paster templates
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Jonathan Vanasco  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 22:55
From: Jonathan Vanasco <jonat...@findmeon.com>
Date: Sat, 7 Nov 2009 14:55:41 -0800 (PST)
Local: Sat 7 Nov 2009 22:55
Subject: question about variables in paster templates
i'm prepping something for release, and have a question...

how can i address both the camelcase and lowercase versions of
"MyAppName" using the paster templating system ?

according to docs, {{package}}(contents) and +package+(directory) will
become myappname .  but how can i name files or contents "MyAppName"
where needed?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Vanasco  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 04:11
From: Jonathan Vanasco <jonat...@findmeon.com>
Date: Sat, 7 Nov 2009 20:11:25 -0800 (PST)
Local: Sun 8 Nov 2009 04:11
Subject: Re: question about variables in paster templates
after going through source, it seems that...

project= what you type in
package= clean_space_dash_etc( project.lower() )
egg= eggify( package )

anything_else= commandline or prompts

{{varname}} = substitute in file that ends with _tmpl
+varname+ = substitute in filename, does not need to be the entirety
of filename, can be string in filename


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google