• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reg Prototype file generation in Maven

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

When i generate prototype file it generates like

f none /tmf814\tomcat\conf\logging.properties.orig 0664 oemssrvr oems
f none /tmf814\tomcat\conf\server.xml 0664 oemssrvr oems
f none /tmf814\tomcat\conf\server.xml.orig 0664 oemssrvr oems



But i need my protototype file without the first '/', like

f none tmf814\tomcat\conf\logging.properties.orig 0664 oemssrvr oems
f none tmf814\tomcat\conf\server.xml 0664 oemssrvr oems
f none tmf814\tomcat\conf\server.xml.orig 0664 oemssrvr oems



Kindly tell me how to acheive this?
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not even sure what a "reg prototype file" is, much less how or why it is generated. The sample you gave vaguely resembles file definitions for a Red Hat-style RPM filespec file, but you're using Windows-style backslashes as filename separators mixed with Linux-style file attributes.

Could you explain further?
 
Ramkumar Umayal
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to generate prototype file for solaris packaging.

In windows, it is generated as like this only. But i am supposed to run it Solaris only,
But in either case i am getting /tmf814

If it is solaris it would be like "f none /tmf814/tomcat/conf/logging.properties.orig 0664 oemssrvr oems"

So i want this prototype file would genrerate like ""f none tmf814/tomcat/conf/logging.properties.orig 0664 oemssrvr oems".
There is tag in pom.xm as <generatedPrototype> has to customized to achieve this. I tired my level best to achive this but i could not.
So I needed the forum's help here.

Plesae help me out of this issue.

Thanks,
Ramkumar B
 
Tim Holloway
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, I'm surprised it ran at all in Windows. Most package builders only run under the same OS that they build packages for.
 
reply
    Bookmark Topic Watch Topic
  • New Topic