Comments (6)
Ignore the template comments at the bottom (What version... Please provide...)
Original comment by [email protected]
on 31 Jan 2011 at 10:58
from protostuff-googlecode-exported.
So you're basically using custom templates.
Its not relative because the <output> param is not a file but a string (id of
an existing template or a path to a custom template)
If we were to use maven variables and a user generates with an existing
template (java_bean) ... wouldn't it fail because src/main/resources/java_bean
does not exist?
Try:
<output>${project.basedir}/path/to/your/custom/output.java.stg</output>
I don't see anything wrong with that and expect that work. Don't you agree? :-)
Original comment by [email protected]
on 31 Jan 2011 at 11:55
from protostuff-googlecode-exported.
no I am not using my own template for this. Why did you think I was.
Basically protostuff does not work in the same way protobuf does for files that
are in subdirectories. The only way I could make the files compatible with
both was to have all of the files in the same directory, because protostuff
doesn't interperate the PATH reference the same waay as protobuf.
So I dont think its working as I expected.. Dont you agree? :-)
Original comment by [email protected]
on 7 Feb 2011 at 11:11
from protostuff-googlecode-exported.
You've been busy aye.
Can you post an example set of protos that would work for protobuf and fail on
protostuff? (would be faster to fix the bug)
Original comment by [email protected]
on 7 Feb 2011 at 11:29
- Changed state: Accepted
from protostuff-googlecode-exported.
Fixed @ rev 1249.
Brett, the output is now dependent on the project's baseDir when using custom
stg templates.
Original comment by [email protected]
on 9 Feb 2011 at 11:35
- Changed state: Fixed
from protostuff-googlecode-exported.
great, will check it out, we were using ${project.basedir} in our configs as a
workaround.
thanks.
Original comment by [email protected]
on 7 Mar 2011 at 4:54
from protostuff-googlecode-exported.
Related Issues (20)
- Would like support for repeated accessors with out "List" appeneded
- Enter one-line summary HOT 2
- getSchema() of java.util.Properties fails HOT 2
- optimize xml format
- Enum alias support
- YamlOutput bug on repeated message fields HOT 1
- Deserializing a message which is protostuff-runtime serialized and has custom class as field HOT 3
- Visual disturbance of @Deprecated annotation HOT 12
- Support for newing object instances on Android 4.3+ devices HOT 2
- ConcurrentLinkedDeque support HOT 1
- Produces uncompilable Java when a field is called "default" HOT 4
- 1.0.7 Build error: ProtoParserTest fails HOT 2
- protostuff-parser and protostuff-compiler disagree on required version of antlr
- Optimize ProtobufOuput for small nested messages (max size of 127) HOT 1
- How can I serialize a negative int32 to the protobuf format using zigzag encoding? HOT 2
- How to Ignore Array of Null Values in JSON
- enums_by_name does not seem to be working using maven plugin
- The value of DataInput.readByte() should not be eof-checked since that method throws EOFException HOT 1
- Wrong output path is generated in Windows for .java files HOT 3
- Unable to parse proto enum containing hex constants HOT 1
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.