UPDATE: I have discovered the file /vault-cli/target/appassembler/bin/vlt after building FileVault from source, and that appears to give me command line tooling. However, I'm really wondering how other Sling users do this, because I'm not sure this command line solution is feasible for production devops.
On Thu, Jan 5, 2017 at 3:30 PM, Lance Dolan <[email protected]> wrote: > Hello, > > I'm a former CQ/AEM developer and architect. I'm evaluating the prospect > of using Sling+Oak as the basis for a brand new WCM I'll build from > scratch. Purchasing AEM is not an interest as we're looking to build > something different. > > I have a list of features which Day/Adobe solved with the CRX product, > which are not available for me with the raw Sling product. I need to solve > every one of those features myself if I'm going to use Sling. > > Of those features, the one I'm hung up on right now is repository > import/export. I've done this easily with CRX packages in the past, which > are apparently using the File Vault api under the hood to map XML-to-repo > and repo-to-XML. > > So now I need help. Without CRX, how can I accomplish repo import/export? > > I might be willing to re-write something like the CRX package manager > myself from scratch... I think. But obviously, I could save myself some > *serious > *time if there's an existing import/export solution. I'm sure I'm missing > something - there's gotta be a slick way. > > I'd like to just resftully POST a package to Sling as I did with CRX, but > if that's not an option, is the vlt command line tool my only option? If > the command line tool is what I must use... how do I install it? There are > no instructions at [1]. I have successfully built the filevault project > from source, but the target directory doesn't yield a jar file with a > "main" method declared in the manifest, so I don't know how to use that at > the command line. > > Also, I have already seen the data import documentation at [2] and I > believe it's not a valid repo import/export option. > > [1] http://jackrabbit.apache.org/filevault > [2] https://sling.apache.org/documentation/bundles/ > manipulating-content-the-slingpostservlet-servlets- > post.html#importing-content-structures > > -- > Lance Dolan > Software Developer > 651.387.1059 <(651)%20387-1059> > -- Lance Dolan Software Developer Edlio.com 651.387.1059
