Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reg Prototype file generation in Maven  RSS feed

 
Ramkumar Umayal
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • 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?
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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
  • 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
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!