Any suggestions on where I should start trouble sh...
# sdf
j
Any suggestions on where I should start trouble shooting this error?
Copy code
Validate configuration -- Success
Validate objects -- 
*** ERROR ***

An unexpected error has occurred.
m
I run into this occasionally. Start by removing one object at a time from your
deploy.xml
and running again. If you’re using a wildcard, in
deploy.xml
, try adding objects one at a time until the error appears. Once the offending object has been identified, you can usually find clues in the object’s XML to help you troubleshoot the specific problem.
👍 1
j
Thanks @Mike Robbins, I'll take this approach.
All three of my current SDF projects only use the wild card and I'd like to get away from that. Any good blogs or documentation you'd suggest on management of the
deploy.xml
? I get the concept, but I would like to reinforce I'm following best practice.
👍 1
z
The practice I encourage where I work: start with an "empty" deploy.xml and do not use wildcards. This is what I use:
Copy code
<deploy>
    <files>
        <path>~/FileCabinet/please/specify_exact_paths.js</path>
    </files>
    <objects>
        <path>~/Objects/please/no/wildcards.xml</path>
    </objects>
</deploy>