Comments (6)
workaround : use empty file with line "{}"
from jcliff.
With RPM_APP_JBOSSCLI_CONF_DIR empty, the argument passed to jcliff is '/*.cliff'. There is nothing I can do to fix this in jcliff. Check empty dir in the calling cmdline.
from jcliff.
why can't we check in the main method whether we have an empty dir or not ?
from jcliff.
The problem is the shell path expansion. If there is no match, the pattern
is passed to jcliff verbatim. That is, if the directory is empty, jcliff
gets '/*.cliff' as the file to process, and when it tries to open that, it
fails.
On Tue, Nov 18, 2014 at 8:57 AM, rbrackma [email protected] wrote:
why can't we check in the main method whether we have an empty dir or not ?
—
Reply to this email directly or view it on GitHub
#25 (comment).
from jcliff.
Note : ${RPM_APP_JBOSSCLI_CONF_DIR} exists, like /tmp/jcliff !
There are simply no .jcliff files in the existing directory.
So I'm passing /tmp/jcliff/.jcliff into jcliff, and that should be caught
from jcliff.
If there are no files there, then what's passed is:
/tmp/jcliff/*.jcliff
jcliff does not expect a pattern there. It expects one of more files. If I
don't return error for this, then I won't be returning an error when you
pass a legitimate file name, but it doesn't exist. This is a problem with
shell processing. *.jcliff is passed verbatim by the shell if nothing
mathches.
On Tue, Nov 18, 2014 at 11:00 AM, rbrackma [email protected] wrote:
Note : ${RPM_APP_JBOSSCLI_CONF_DIR} exists, like /tmp/jcliff !
There are simply no
.jcliff files in the existing directory. So I'm passing /tmp/jcliff/.jcliff
into jcliff, and that should be caught—
Reply to this email directly or view it on GitHub
#25 (comment).
from jcliff.
Related Issues (20)
- jcliff maven build through an exception
- Automate Homebrew release HOT 1
- Getting WFLYJCA0093 when adding datasource HOT 2
- Reload takes more time than necessary
- Enhancement: Add support for Camunda BPM HOT 3
- XA Datasource: More efficient way to add? HOT 2
- messaging-activemq
- Timeout while waiting for child process to complete HOT 2
- Trying to configure applicationRealm through Jcliff HOT 1
- interface configuration error
- using value deleted does not work in all cases HOT 2
- xadatasource precedence incorrect? HOT 2
- reload after adding ssl
- cannot add xa datasouce from version jcliff-2.11.9-1.noarch HOT 10
- access-log 's directory is not managed HOT 2
- Add security domain to Red Hat Single Sign On (keycloak) HOT 3
- Add datasource to time-service HOT 2
- disable console logging HOT 3
- Add jcliff bash script to release artifacts
- Add CI to the repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jcliff.