aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Reg Prototype file generation in Maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Reg Prototype file generation in Maven" Watch "Reg Prototype file generation in Maven" New topic
Author

Reg Prototype file generation in Maven

Ramkumar Umayal
Greenhorn

Joined: Oct 13, 2009
Posts: 18
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
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

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?


Customer surveys are for companies who didn't pay proper attention to begin with.
Ramkumar Umayal
Greenhorn

Joined: Oct 13, 2009
Posts: 18
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

Joined: Jun 25, 2001
Posts: 16250
    
  21

Actually, I'm surprised it ran at all in Windows. Most package builders only run under the same OS that they build packages for.
 
 
subject: Reg Prototype file generation in Maven