This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git clone git://github.com/bmwcarit/Jnario.git | |
| $ cd Jnario | |
| $ git rev-parse HEAD | |
| 79807982cc96cccb48f8dcf5fc594aba7b5912f6 | |
| $ mvn clean install | |
| ...... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Name("stockList") | |
| public class StockList extends EntityQuery<Stock> { | |
| private static final String EJBQL = "select stock from Stock stock"; | |
| private static final String[] RESTRICTIONS = { | |
| "stock.employeeAssigned.employeeId = #{stockList.currentEmployee.employeeId}", | |
| "lower(stock.barcode) like concat(lower(#{stockList.barcode}),'%')" | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name 'pom.xml' | xargs sed -i "s/\<version\>1.0.1\<\/version\>/\<version\>1.0.2-SNAPSHOT\<\/version\>/g" | |
| find . -name 'pom.xml-e' | xargs rm -f | |
| find . -name 'pom.xml' | xargs sed -i -e "s/\<version\>1.0.1-SNAPSHOT\<\/version\>/\<version\>1.0.1\<\/version\>/g" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ "x$JBOSS_HOME" = "x" ]; then | |
| JBOSS_HOME="/opt/apps/jboss/current/jboss-as" | |
| fi | |
| if [ "x$JBOSS_SERVER" = "x" ]; then | |
| JBOSS_SERVER="default" | |
| fi |
NewerOlder